@veloceapps/sdk 3.1.31 → 3.1.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/sdk",
3
- "version": "3.1.31",
3
+ "version": "3.1.33",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^12.2.0",
6
6
  "@angular/common": "^12.2.0",
@@ -3,6 +3,7 @@ import { QuoteApiService, SalesforceApiService } from '@veloce/api';
3
3
  import { ContextProperties, PriceList } from '@veloce/core';
4
4
  import { IntegrationState } from '@veloce/sdk/cms';
5
5
  import { ContextService, FlowConfigurationService, QuoteDraftService } from '@veloce/sdk/core';
6
+ import { MenuItem } from 'primeng/api';
6
7
  import { BehaviorSubject, Observable } from 'rxjs';
7
8
  import { FlowDialogService } from '../../services/flow-dialog.service';
8
9
  import { FlowRouterService } from '../../services/flow-router.service';
@@ -17,7 +18,6 @@ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
17
18
  private routerService;
18
19
  private dialogService;
19
20
  private integrationState;
20
- readonly disabledActionButtonTooltip = "Available from the Shopping Cart";
21
21
  objectName: string;
22
22
  contextProperties: ContextProperties;
23
23
  assetPriceLists: PriceList[];
@@ -40,13 +40,14 @@ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
40
40
  ngOnDestroy(): void;
41
41
  get isAccountMode(): boolean;
42
42
  get isQuoteMode(): boolean;
43
+ getSplitButtonActions(isCartRoute: boolean): MenuItem[];
43
44
  back(objectId?: string): void;
44
45
  getSalesforceObjectLink(objectId?: string): string;
45
46
  navigateToShoppingCart(): void;
46
47
  navigateToCatalog(): void;
47
- docGenButtonClickHandler(): void;
48
- saveButtonClickHandler(): void;
49
- submitButtonClickHandler(): void;
48
+ docGenButtonClickHandler(isCartRoute: boolean): void;
49
+ saveButtonClickHandler(isCartRoute: boolean): void;
50
+ submitButtonClickHandler(isCartRoute: boolean): void;
50
51
  selectPriceList(priceListId: string): void;
51
52
  private saveQuote$;
52
53
  private queryName$;
@@ -6,8 +6,9 @@ import * as i4 from "@veloce/components";
6
6
  import * as i5 from "primeng/tooltip";
7
7
  import * as i6 from "primeng/button";
8
8
  import * as i7 from "./cart-overlay/cart-preview.module";
9
+ import * as i8 from "primeng/splitbutton";
9
10
  export declare class FlowHeaderModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FlowHeaderModule, [typeof i1.FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.OverlayPanelModule, typeof i4.LetDirectiveModule, typeof i5.TooltipModule, typeof i6.ButtonModule, typeof i7.CartPreviewModule], [typeof i1.FlowHeaderComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowHeaderModule, [typeof i1.FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.OverlayPanelModule, typeof i4.LetDirectiveModule, typeof i5.TooltipModule, typeof i6.ButtonModule, typeof i7.CartPreviewModule, typeof i8.SplitButtonModule], [typeof i1.FlowHeaderComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<FlowHeaderModule>;
13
14
  }
@@ -11,12 +11,15 @@ export declare class FlowDialogService {
11
11
  showEmptyCartDialog(): Observable<boolean>;
12
12
  showReadonlyModeDialog(): Observable<boolean>;
13
13
  showQuoteReadonlyModeDialog(): Observable<boolean>;
14
+ showQuoteOutsideShoppingCartDialog(): Observable<boolean>;
14
15
  showAccountNoChangesDialog(): Observable<boolean>;
15
16
  showUnsavedChangesDialog(): Observable<boolean>;
16
17
  showReadonlyQuoteSubmitFailureDialog(): Observable<boolean>;
18
+ showOutsideShoppingCartQuoteSubmitFailureDialog(): Observable<boolean>;
17
19
  showAccountSubmitFailureDialog(): Observable<boolean>;
18
20
  showDocgenAccountUnsavedChangesDialog(): Observable<boolean>;
19
21
  showDocgenReadonlyDialog(): Observable<boolean>;
22
+ showDocgenOutsideShoppingCartDialog(): Observable<boolean>;
20
23
  showDocgenUnsavedChangesDialog(): Observable<boolean>;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogService, never>;
22
25
  static ɵprov: i0.ɵɵInjectableDeclaration<FlowDialogService>;