@softheon/armature 21.0.0 → 21.1.0-alpha

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": "@softheon/armature",
3
- "version": "21.0.0",
3
+ "version": "21.1.0-alpha",
4
4
  "dependencies": {
5
5
  "tslib": "^2.8.1"
6
6
  },
@@ -18,8 +18,8 @@
18
18
  "@ngbracket/ngx-layout": "^21.0.0",
19
19
  "@ngx-translate/core": "^17.0.0",
20
20
  "@ngx-translate/http-loader": "^17.0.0",
21
- "ag-grid-angular": "^31.2.1",
22
- "ag-grid-community": "^31.2.1",
21
+ "ag-grid-angular": "^35.0.1",
22
+ "ag-grid-community": "^35.0.1",
23
23
  "angular-oauth2-oidc": "~20.0.2",
24
24
  "angular-oauth2-oidc-jwks": "~20.0.0",
25
25
  "ngx-cookie-service": "^21.1.0",
@@ -1294,6 +1294,10 @@ interface NavPanelConfig {
1294
1294
  declare class MarketSelectionConfig {
1295
1295
  marketSelections: Array<MarketSelection>;
1296
1296
  disabledUrls: Array<string>;
1297
+ /** Whether selecting the local environment (e.g. MDM) is enabled */
1298
+ enableLocalEnvSelection: boolean;
1299
+ /** Whether local environment selection is available to external users */
1300
+ enableLocalEnvSelectionExternally: boolean;
1297
1301
  }
1298
1302
  interface MarketSelection {
1299
1303
  name?: string;
@@ -2907,10 +2911,6 @@ declare class SofSubNavigationComponent {
2907
2911
  activeIndex: EventEmitter<number>;
2908
2912
  /** The current active option index */
2909
2913
  currentActiveOptionIndex: number;
2910
- /** The constructor */
2911
- constructor();
2912
- /** On component init */
2913
- ngOnInit(): void;
2914
2914
  /**
2915
2915
  * Handle navigation link click event
2916
2916
  * @param index the nav link index in the subNavigationData config array
@@ -3378,13 +3378,9 @@ declare class FooterConfig {
3378
3378
  }
3379
3379
 
3380
3380
  /** The Armature Footer Component */
3381
- declare class ArmatureFooterComponent implements OnInit {
3381
+ declare class ArmatureFooterComponent {
3382
3382
  /** The footer config */
3383
3383
  footerConfig: FooterConfig;
3384
- /** the constructor */
3385
- constructor();
3386
- /** On Init */
3387
- ngOnInit(): void;
3388
3384
  static ɵfac: i0.ɵɵFactoryDeclaration<ArmatureFooterComponent, never>;
3389
3385
  static ɵcmp: i0.ɵɵComponentDeclaration<ArmatureFooterComponent, "sof-ar-footer", never, { "footerConfig": { "alias": "footerConfig"; "required": false; }; }, {}, never, ["[sof-ar-footer-pre-content-1]", "[sof-ar-footer-pre-content-2]", "[sof-ar-footer-content]"], false, never>;
3390
3386
  }
@@ -3500,7 +3496,7 @@ declare class SofProgressBarComponent implements OnInit, OnChanges {
3500
3496
  }
3501
3497
 
3502
3498
  /** The softheon radio card component */
3503
- declare class SofRadioCardComponent implements OnInit {
3499
+ declare class SofRadioCardComponent {
3504
3500
  /** The title */
3505
3501
  title: string;
3506
3502
  /** The id */
@@ -3511,8 +3507,6 @@ declare class SofRadioCardComponent implements OnInit {
3511
3507
  disabled: boolean;
3512
3508
  /** The color of the radio button */
3513
3509
  color: ThemePalette;
3514
- /** On component init */
3515
- ngOnInit(): void;
3516
3510
  static ɵfac: i0.ɵɵFactoryDeclaration<SofRadioCardComponent, never>;
3517
3511
  static ɵcmp: i0.ɵɵComponentDeclaration<SofRadioCardComponent, "sof-radio-card", never, { "title": { "alias": "title"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["[radio-card-content]"], false, never>;
3518
3512
  }
@@ -3760,7 +3754,7 @@ declare class SofStarRatingComponent {
3760
3754
  static ɵcmp: i0.ɵɵComponentDeclaration<SofStarRatingComponent, "sof-star-rating", never, { "rating": { "alias": "rating"; "required": false; }; "maxStars": { "alias": "maxStars"; "required": false; }; }, {}, never, never, false, never>;
3761
3755
  }
3762
3756
 
3763
- declare class SofBadgeComponent {
3757
+ declare class SofBadgeComponent implements OnInit, OnChanges {
3764
3758
  /** Whether to show bold background color not */
3765
3759
  bold: boolean;
3766
3760
  /** The language text or a key that will be shown in this component */
@@ -3910,7 +3904,7 @@ declare class SofUtilityButtonComponent {
3910
3904
  static ɵcmp: i0.ɵɵComponentDeclaration<SofUtilityButtonComponent, "sof-utility-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonAriaLabel": { "alias": "buttonAriaLabel"; "required": true; }; "buttonTheme": { "alias": "buttonTheme"; "required": false; }; "buttonEmphasis": { "alias": "buttonEmphasis"; "required": false; }; "buttonIconClass": { "alias": "buttonIconClass"; "required": false; }; "buttonDisabled": { "alias": "buttonDisabled"; "required": false; }; "menuDropDown": { "alias": "menuDropDown"; "required": false; }; "menuTitle": { "alias": "menuTitle"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "buttonClick": { "alias": "buttonClick"; "required": false; }; }, { "buttonClicked": "buttonClicked"; }, never, never, false, never>;
3911
3905
  }
3912
3906
 
3913
- declare class SofImageCheckboxComponent implements OnInit {
3907
+ declare class SofImageCheckboxComponent {
3914
3908
  /** The language text or a key that will be shown in this component */
3915
3909
  imageTitle: string;
3916
3910
  /** If Checkbox is checked */
@@ -3929,10 +3923,6 @@ declare class SofImageCheckboxComponent implements OnInit {
3929
3923
  matColor: string;
3930
3924
  /** Whether the image checkbox is disabled or not */
3931
3925
  isDisabled: boolean;
3932
- /** The constructor */
3933
- constructor();
3934
- /** Component on init lifecycle method */
3935
- ngOnInit(): void;
3936
3926
  static ɵfac: i0.ɵɵFactoryDeclaration<SofImageCheckboxComponent, never>;
3937
3927
  static ɵcmp: i0.ɵɵComponentDeclaration<SofImageCheckboxComponent, "sof-image-checkbox", never, { "imageTitle": { "alias": "imageTitle"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "imageHeight": { "alias": "imageHeight"; "required": false; }; "imageWidth": { "alias": "imageWidth"; "required": false; }; "containerHeight": { "alias": "containerHeight"; "required": false; }; "containerWidth": { "alias": "containerWidth"; "required": false; }; "matColor": { "alias": "matColor"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
3938
3928
  }
@@ -4902,22 +4892,37 @@ declare class MarketSelectionService {
4902
4892
  private config;
4903
4893
  private selectedMarketContext;
4904
4894
  private translateService;
4895
+ private oAuthService;
4905
4896
  /** The MFE Queue Lookup Constant Key for Cookie Storage */
4906
4897
  private readonly MFE_QUEUE_LOOKUP;
4898
+ /** The cookie key for local environment selection */
4899
+ private readonly LOCAL_ENV_COOKIE;
4907
4900
  private modalOpenSubject;
4908
4901
  private disabledDropdownSubject;
4902
+ /** Local Environment Selected Subject */
4903
+ private localEnvSelectedSubject;
4904
+ /** Local Environment Selection Enabled Subject */
4905
+ private localEnvSelectionEnabledSubject;
4909
4906
  modalOpen$: Observable<boolean>;
4910
4907
  selectedMarket$: Observable<MarketSelection | null>;
4911
4908
  /** Ephemeral Market Observable */
4912
4909
  ephemeralMarket$: Observable<MarketSelection | null>;
4913
4910
  disabledDropdown$: Observable<boolean>;
4911
+ /** Local Environment Selected Observable */
4912
+ localEnvSelected$: Observable<boolean>;
4913
+ /** Local Environment Selection Enabled Observable */
4914
+ localEnvSelectionEnabled$: Observable<boolean>;
4914
4915
  /** Whether or not if market selection is enabled */
4915
4916
  get isEnabled(): boolean;
4917
+ /** Whether local environment selection is currently enabled */
4918
+ get isLocalEnvSelectionEnabled(): boolean;
4916
4919
  private favoriteMarket;
4917
4920
  /** Disabled URLs */
4918
4921
  private disabledUrls;
4919
4922
  /** Markets With API URL */
4920
4923
  private markets;
4924
+ /** The logged-in user's email */
4925
+ private userEmail;
4921
4926
  /**
4922
4927
  * Constructor
4923
4928
  * @param cookieService cookie service
@@ -4925,8 +4930,9 @@ declare class MarketSelectionService {
4925
4930
  * @param config config
4926
4931
  * @param selectedMarketContext selected market context
4927
4932
  * @param translateService translate service
4933
+ * @param userEntityService user entity service
4928
4934
  */
4929
- constructor(cookieService: CookieService, router: Router, config: BaseConfigService, selectedMarketContext: SelectedMarketContext, translateService: TranslateService);
4935
+ constructor(cookieService: CookieService, router: Router, config: BaseConfigService, selectedMarketContext: SelectedMarketContext, translateService: TranslateService, oAuthService: OAuthService);
4930
4936
  /** Get Member Market */
4931
4937
  getMemberMarket(marketName: string): MarketSelection | undefined;
4932
4938
  /** get selected market translated */
@@ -4991,6 +4997,11 @@ declare class MarketSelectionService {
4991
4997
  * Close Modal
4992
4998
  */
4993
4999
  closeModal(): void;
5000
+ /**
5001
+ * Select Local Environment
5002
+ * Switches to local env, clearing any selected market
5003
+ */
5004
+ selectLocalEnv(): void;
4994
5005
  /**
4995
5006
  * Load Favorite Markets from Cookies
4996
5007
  */
@@ -4999,6 +5010,18 @@ declare class MarketSelectionService {
4999
5010
  * Load Market from Cookies
5000
5011
  */
5001
5012
  loadMarketFromCookies(): void;
5013
+ /**
5014
+ * Evaluate whether local environment selection should be enabled
5015
+ */
5016
+ private evaluateLocalEnvSelectionEnabled;
5017
+ /**
5018
+ * Clear local environment selection state and cookie
5019
+ */
5020
+ private clearLocalEnvSelection;
5021
+ /**
5022
+ * Dispatch Refresh Events
5023
+ */
5024
+ private dispatchRefreshEvents;
5002
5025
  /**
5003
5026
  * Is URL Disabled
5004
5027
  * @param currentUrl
@@ -6418,7 +6441,7 @@ interface ResizeEvent {
6418
6441
  }
6419
6442
 
6420
6443
  /** The Resize Panels Component */
6421
- declare class ResizePanelsComponent implements OnInit {
6444
+ declare class ResizePanelsComponent implements OnInit, OnChanges {
6422
6445
  /** The panel split direction */
6423
6446
  direction: 'horizontal' | 'vertical';
6424
6447
  /** The panel split position */
@@ -6449,10 +6472,6 @@ declare class ResizePanelsComponent implements OnInit {
6449
6472
  private secondPanelMaxHeight;
6450
6473
  /** The initial split position */
6451
6474
  private initialSplit;
6452
- /**
6453
- * Creates an instance of ResizePanelsComponent
6454
- */
6455
- constructor();
6456
6475
  /** Initializes the component */
6457
6476
  ngOnInit(): void;
6458
6477
  /** On Changes Lifecycle Hook */
@@ -6498,7 +6517,7 @@ declare class FeedbackToolComponent implements OnInit {
6498
6517
  /** Language key for the user experience, default is 'purchasingPlan' */
6499
6518
  experience: string;
6500
6519
  /** The event to close/destroy this component */
6501
- close: EventEmitter<any>;
6520
+ closeTool: EventEmitter<any>;
6502
6521
  /** The event with the feedback object for submit */
6503
6522
  feedbackSubmit: EventEmitter<UserFeedback>;
6504
6523
  /** User feedback message textarea element ref */
@@ -6515,7 +6534,6 @@ declare class FeedbackToolComponent implements OnInit {
6515
6534
  headerTitle: string;
6516
6535
  /** The description language key */
6517
6536
  description: string;
6518
- constructor();
6519
6537
  ngOnInit(): void;
6520
6538
  /**
6521
6539
  * Give positive/negative feedback
@@ -6527,7 +6545,7 @@ declare class FeedbackToolComponent implements OnInit {
6527
6545
  /** Emit the event to close/destroy this component */
6528
6546
  closeFeedbackTool(): void;
6529
6547
  static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackToolComponent, never>;
6530
- static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackToolComponent, "sof-ar-feedback-tool", never, { "application": { "alias": "application"; "required": true; }; "experience": { "alias": "experience"; "required": false; }; }, { "close": "close"; "feedbackSubmit": "feedbackSubmit"; }, never, never, false, never>;
6548
+ static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackToolComponent, "sof-ar-feedback-tool", never, { "application": { "alias": "application"; "required": true; }; "experience": { "alias": "experience"; "required": false; }; }, { "closeTool": "closeTool"; "feedbackSubmit": "feedbackSubmit"; }, never, never, false, never>;
6531
6549
  }
6532
6550
  /**
6533
6551
  * The user feedback interface