@solcre-org/core-ui 2.15.17 → 2.15.19

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/index.d.ts CHANGED
@@ -604,7 +604,8 @@ declare enum HeaderElementType {
604
604
  CUSTOM_ACTIONS = "customActions",
605
605
  FILTER = "filter",
606
606
  CREATE = "create",
607
- CUSTOM_TEMPLATE = "customTemplate"
607
+ CUSTOM_TEMPLATE = "customTemplate",
608
+ INDIVIDUAL_ACTION = "individualAction"
608
609
  }
609
610
 
610
611
  declare enum CountryCode {
@@ -915,6 +916,7 @@ declare class PhoneFieldComponent<T extends DataBaseModelInterface> extends Base
915
916
  getSelectedCountryDisplay(): string;
916
917
  onAreaCodeClick(event: Event): void;
917
918
  onAreaCodeKeydown(event: KeyboardEvent): void;
919
+ onPhoneKeyPress(event: KeyboardEvent): void;
918
920
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PhoneFieldComponent<any>, never>;
919
921
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PhoneFieldComponent<any>, "core-phone-field", never, {}, {}, never, never, true, never>;
920
922
  }
@@ -1914,6 +1916,7 @@ interface MobileActionConfig {
1914
1916
  showInHeader?: boolean;
1915
1917
  showOutsideFixedActions?: boolean;
1916
1918
  showInsideModal?: boolean;
1919
+ mobileLabel?: string;
1917
1920
  }
1918
1921
 
1919
1922
  interface CustomAction<T> extends SwitchActionConfig {
@@ -2526,6 +2529,8 @@ interface HeaderElementConfig {
2526
2529
  type: HeaderElementType;
2527
2530
  visible?: boolean;
2528
2531
  position?: number;
2532
+ actionId?: string | number;
2533
+ actionType?: 'global' | 'custom' | 'switch';
2529
2534
  }
2530
2535
  interface HeaderOrderConfig {
2531
2536
  elements?: HeaderElementConfig[];
@@ -3588,6 +3593,7 @@ declare class GenericTimelineComponent {
3588
3593
 
3589
3594
  declare class HeaderService {
3590
3595
  private translateService;
3596
+ private mobileResolutionService;
3591
3597
  private title;
3592
3598
  private text;
3593
3599
  private globalActions;
@@ -3677,7 +3683,10 @@ declare class HeaderService {
3677
3683
  }[]>;
3678
3684
  hasModalActions: _angular_core.Signal<boolean>;
3679
3685
  getOrderedElements(): HeaderElementConfig[];
3680
- isElementVisible(elementType: HeaderElementType): boolean;
3686
+ isElementVisible(elementType: HeaderElementType, element?: HeaderElementConfig): boolean;
3687
+ private isIndividualActionVisible;
3688
+ private findGlobalAction;
3689
+ getIndividualAction(element: HeaderElementConfig): any | null;
3681
3690
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderService, never>;
3682
3691
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<HeaderService>;
3683
3692
  }
@@ -3722,6 +3731,9 @@ declare class HeaderComponent implements OnInit {
3722
3731
  triggerCustomAction(action: HeaderActionConfig): void;
3723
3732
  getHeaderTitle(): string;
3724
3733
  getHeaderText(): string;
3734
+ getIndividualAction(element: any): any | null;
3735
+ isIndividualActionSwitch(action: any): boolean;
3736
+ hasIndividualActionPermission(action: any): boolean;
3725
3737
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderComponent, never>;
3726
3738
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderComponent, "core-header", never, {}, { "filterRequested": "filterRequested"; "createRequested": "createRequested"; "globalActionTriggered": "globalActionTriggered"; }, never, never, true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
3727
3739
  }
@@ -5042,13 +5054,16 @@ declare class FixedActionsMobileModalComponent {
5042
5054
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FixedActionsMobileModalComponent, "core-fixed-actions-mobile-modal", never, {}, {}, never, never, true, never>;
5043
5055
  }
5044
5056
 
5045
- declare class GenericFixedActionsComponent {
5057
+ declare class GenericFixedActionsComponent implements AfterViewInit {
5046
5058
  private headerService;
5047
5059
  private fixedActionsMobileModalService;
5048
5060
  private permissionService;
5049
5061
  private mobileResolutionService;
5062
+ private customClassService;
5063
+ private elementRef;
5050
5064
  private cdr;
5051
5065
  constructor();
5066
+ ngAfterViewInit(): void;
5052
5067
  shouldShow: _angular_core.Signal<boolean>;
5053
5068
  outsideActions: _angular_core.Signal<_solcre_org_core_ui.HeaderActionConfig[]>;
5054
5069
  modalActions: _angular_core.Signal<_solcre_org_core_ui.HeaderActionConfig[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solcre-org/core-ui",
3
- "version": "2.15.17",
3
+ "version": "2.15.19",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"