@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1219-d → 1.5.1219-e

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 (61) hide show
  1. package/assets/i18n/en.json +113 -0
  2. package/assets/i18n/es.json +113 -0
  3. package/assets/styles/main.min.css +1 -1
  4. package/assets/styles/main.min.css.map +1 -1
  5. package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +915 -469
  6. package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
  7. package/lib/components/bmb-account-statement/bmb-account-statement.component.d.ts +15 -15
  8. package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +4 -2
  9. package/lib/components/bmb-calendar/bmb-calendar.component.d.ts +7 -6
  10. package/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.d.ts +5 -2
  11. package/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.d.ts +5 -2
  12. package/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.d.ts +8 -5
  13. package/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.d.ts +6 -3
  14. package/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.d.ts +5 -2
  15. package/lib/components/bmb-chat-bar/bmb-chat-bar.component.d.ts +2 -3
  16. package/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.d.ts +8 -5
  17. package/lib/components/bmb-datepicker/bmb-datepicker.component.d.ts +2 -3
  18. package/lib/components/bmb-digital-id/bmb-digital-id.component.d.ts +1 -1
  19. package/lib/components/bmb-dropdown/bmb-dropdown.component.d.ts +1 -1
  20. package/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.d.ts +1 -1
  21. package/lib/components/bmb-dropzone/bmb-dropzone.component.d.ts +11 -7
  22. package/lib/components/bmb-external-link/bmb-external-link.component.d.ts +1 -1
  23. package/lib/components/bmb-filter-card/bmb-filter-card.component.d.ts +1 -1
  24. package/lib/components/bmb-grades/bmb-grades.component.d.ts +1 -1
  25. package/lib/components/bmb-header-mitec/bmb-header-mitec.component.d.ts +1 -1
  26. package/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.d.ts +2 -2
  27. package/lib/components/bmb-icon-item/bmb-icon-item.component.d.ts +2 -1
  28. package/lib/components/bmb-login/bmb-login.component.d.ts +5 -5
  29. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.d.ts +1 -1
  30. package/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.d.ts +3 -1
  31. package/lib/components/bmb-modal/bmb-native-modal.component.d.ts +1 -1
  32. package/lib/components/bmb-notice-card/bmb-notice-card.component.d.ts +1 -1
  33. package/lib/components/bmb-portal/bmb-portal.component.d.ts +5 -5
  34. package/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.d.ts +1 -1
  35. package/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.d.ts +25 -19
  36. package/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.d.ts +13 -10
  37. package/lib/components/bmb-push-notification/bmb-push-notification.component.d.ts +1 -1
  38. package/lib/components/bmb-sidebar/bmb-sidebar.component.d.ts +4 -3
  39. package/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.d.ts +5 -3
  40. package/lib/components/bmb-switch/bmb-switch.component.d.ts +1 -1
  41. package/lib/components/bmb-tabs/bmb-tabs.component.d.ts +1 -1
  42. package/lib/components/bmb-timestream/bmb-timestream.component.d.ts +1 -1
  43. package/lib/components/bmb-tooltip/bmb-tooltip.component.d.ts +1 -0
  44. package/lib/components/bmb-totp/bmb-totp.component.d.ts +2 -2
  45. package/lib/components/bmb-user-profile/bmb-user-profile.component.d.ts +3 -3
  46. package/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.d.ts +4 -2
  47. package/lib/components/bmb-user-summary/bmb-user-summary.component.d.ts +1 -1
  48. package/lib/directives/bmb-layout/bmb-layout-item.directive.d.ts +5 -1
  49. package/lib/directives/bmb-layout/bmb-layout.directive.d.ts +2 -2
  50. package/lib/directives/bmb-selector/bmb-selector.directive.d.ts +8 -0
  51. package/lib/pipes/translations.d.ts +10 -0
  52. package/lib/services/calendar/calendar.service.d.ts +15 -0
  53. package/lib/services/modal/native-modal.service.d.ts +18 -0
  54. package/lib/services/notification/notification.service.d.ts +20 -0
  55. package/lib/services/projection/projection.service.d.ts +31 -0
  56. package/lib/services/tabs/tabs.service.d.ts +13 -0
  57. package/lib/services/theme/theme.service.d.ts +11 -0
  58. package/lib/services/toast/toast.service.d.ts +9 -0
  59. package/lib/services/translations/translations.service.d.ts +22 -0
  60. package/package.json +1 -1
  61. package/public-api.d.ts +11 -5
@@ -1,8 +1,8 @@
1
- import { BmbNotificationService } from '../../services/notification.service';
1
+ import { BmbNotificationService } from '../../services/notification/notification.service';
2
2
  import { INotification } from '../bmb-push-notification/types';
3
- import { BmbNativeModalService } from '../../services/native-modal.service';
3
+ import { BmbNativeModalService } from '../../services/modal/native-modal.service';
4
4
  import { IBmbNativeModal } from '../bmb-modal/bmb-modal.interface';
5
- import { BmbProjectionContentService } from '../../services/projection.service';
5
+ import { BmbProjectionContentService } from '../../services/projection/projection.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BmbPortalComponent {
8
8
  private notificationSignal;
@@ -10,10 +10,10 @@ export declare class BmbPortalComponent {
10
10
  private projectionService;
11
11
  constructor(notificationSignal: BmbNotificationService, modalService: BmbNativeModalService, projectionService: BmbProjectionContentService);
12
12
  modalSignal: import("@angular/core").Signal<IBmbNativeModal[]>;
13
- projectedContent: import("@angular/core").Signal<import("../../services/projection.service").IBmbProjectionContent | null>;
13
+ projectedContent: import("@angular/core").Signal<import("../../services/projection/projection.service").IBmbProjectionContent | null>;
14
14
  notificationsList: import("@angular/core").Signal<INotification[]>;
15
15
  closeNotification(notification: INotification): void;
16
- getNotificationPosition(): import("../../services/notification.service").NotificationPositionX | undefined;
16
+ getNotificationPosition(): import("../../services/notification/notification.service").NotificationPositionX | undefined;
17
17
  handleCloseModal(id: string): void;
18
18
  handleModalClick(item: IBmbNativeModal, event: unknown): void;
19
19
  handleRemoveProjectedContent(): void;
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, TemplateRef, Type, ViewContainerRef } from '@angular/core';
2
- import { IBmbProjectedContentMode } from '../../../services/projection.service';
2
+ import { IBmbProjectedContentMode } from '../../../services/projection/projection.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BmbProjectedContentComponent {
5
5
  content: import("@angular/core").InputSignal<Type<any> | TemplateRef<any> | null>;
@@ -2,20 +2,27 @@ import { BmbProgressCircleOptionsInterface } from './bmb-progress-circle.interfa
2
2
  import { OnChanges, SimpleChanges } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export type BmbProgressCirclePathStatus = 'gray' | 'success' | 'error' | 'warning';
5
- export declare class CircleProgressOptions implements BmbProgressCircleOptionsInterface {
6
- valueLabel: string;
7
- showValueLabel: boolean;
8
- backgroundPadding: number;
9
- percent: number;
10
- radius: number;
11
- space: number;
12
- outerStrokeWidth: number;
13
- outerStrokeLinecap: string;
14
- innerStrokeWidth: number;
15
- title: string | Array<String>;
16
- showTitle: boolean;
17
- showBackground: boolean;
18
- responsive: boolean;
5
+ interface SvgConfig {
6
+ viewBox: string;
7
+ height: number | string;
8
+ width: number | string;
9
+ backgroundCircle: {
10
+ cx: number;
11
+ cy: number;
12
+ r: number;
13
+ };
14
+ circle: {
15
+ cx: number;
16
+ cy: number;
17
+ r: number;
18
+ strokeWidth: number;
19
+ };
20
+ path: {
21
+ d: string;
22
+ strokeWidth: number;
23
+ fill: string;
24
+ strokeLinecap: string;
25
+ };
19
26
  }
20
27
  export declare class BmbProgressCircleComponent implements OnChanges {
21
28
  valueLabel: import("@angular/core").InputSignal<string | undefined>;
@@ -27,20 +34,18 @@ export declare class BmbProgressCircleComponent implements OnChanges {
27
34
  showRestBackground: import("@angular/core").InputSignal<boolean>;
28
35
  fillPathStatus: import("@angular/core").InputSignal<BmbProgressCirclePathStatus>;
29
36
  fullFillPathStatus: import("@angular/core").InputSignal<boolean>;
30
- responsive: boolean;
31
- svg: any;
32
- options: CircleProgressOptions;
37
+ options: import("@angular/core").Signal<BmbProgressCircleOptionsInterface>;
33
38
  _lastPercent: number;
34
- constructor(defaultOptions: CircleProgressOptions);
39
+ svg: SvgConfig | null;
35
40
  ngOnInit(): void;
36
41
  ngOnChanges(changes: SimpleChanges): void;
37
42
  render(): void;
43
+ isTitleString(): boolean;
38
44
  polarToCartesian(centerX: number, centerY: number, radius: number, angleInDegrees: number): {
39
45
  x: number;
40
46
  y: number;
41
47
  };
42
48
  draw(percent: number): void;
43
- private applyOptions;
44
49
  private getRelativeY;
45
50
  getFillPathStatus(): string;
46
51
  isFullColored(): boolean;
@@ -49,3 +54,4 @@ export declare class BmbProgressCircleComponent implements OnChanges {
49
54
  static ɵfac: i0.ɵɵFactoryDeclaration<BmbProgressCircleComponent, never>;
50
55
  static ɵcmp: i0.ɵɵComponentDeclaration<BmbProgressCircleComponent, "bmb-progress-circle", never, { "valueLabel": { "alias": "valueLabel"; "required": false; "isSignal": true; }; "percent": { "alias": "percent"; "required": false; "isSignal": true; }; "showValueLabel": { "alias": "showValueLabel"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "showBackground": { "alias": "showBackground"; "required": false; "isSignal": true; }; "showRestBackground": { "alias": "showRestBackground"; "required": false; "isSignal": true; }; "fillPathStatus": { "alias": "fillPathStatus"; "required": false; "isSignal": true; }; "fullFillPathStatus": { "alias": "fullFillPathStatus"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
51
56
  }
57
+ export {};
@@ -1,12 +1,15 @@
1
1
  export interface BmbProgressCircleOptionsInterface {
2
- valueLabel?: string;
3
- showValueLabel?: boolean;
4
- backgroundColor?: string;
5
- percent?: number;
6
- radius?: number;
7
- space?: number;
8
- title?: string | Array<String>;
9
- showTitle?: boolean;
10
- showBackground?: boolean;
11
- responsive?: boolean;
2
+ valueLabel: string;
3
+ showValueLabel: boolean;
4
+ percent: number;
5
+ radius: number;
6
+ space: number;
7
+ title: string | Array<String>;
8
+ showTitle: boolean;
9
+ showBackground: boolean;
10
+ responsive: boolean;
11
+ outerStrokeWidth: number;
12
+ backgroundPadding: number;
13
+ outerStrokeLinecap: string;
14
+ innerStrokeWidth: number;
12
15
  }
@@ -1,4 +1,4 @@
1
- import { BmbNotificationService } from '../../services/notification.service';
1
+ import { BmbNotificationService } from '../../services/notification/notification.service';
2
2
  import { INotification } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BmbPushNotificationComponent {
@@ -1,4 +1,4 @@
1
- import { ElementRef, OnInit } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import { SidebarElement } from './bmb-sidebar.interface';
3
3
  import { IPositionButtonMenu } from '../bmb-top-bar/types';
4
4
  import * as i0 from "@angular/core";
@@ -7,7 +7,7 @@ interface IBmbIsButton {
7
7
  isMobile: boolean;
8
8
  hasChildren: boolean;
9
9
  }
10
- export declare class BmbSidebarComponent implements OnInit {
10
+ export declare class BmbSidebarComponent {
11
11
  elements: import("@angular/core").InputSignal<SidebarElement[][]>;
12
12
  title: import("@angular/core").InputSignal<string>;
13
13
  position: import("@angular/core").InputSignal<IPositionButtonMenu>;
@@ -17,10 +17,11 @@ export declare class BmbSidebarComponent implements OnInit {
17
17
  isActive: boolean;
18
18
  hasSubmenu: boolean;
19
19
  maxChildrenLevel: number;
20
+ error: boolean;
20
21
  sideNav: ElementRef;
21
22
  onFocusIn(): void;
22
23
  onFocusOut(): void;
23
- ngOnInit(): void;
24
+ constructor();
24
25
  checkForButton({ isMobile, hasChildren }: IBmbIsButton): boolean;
25
26
  getLink({ link, isMobile, hasChildren }: IBmbIsButton): string;
26
27
  closeSidebar(): void;
@@ -1,14 +1,16 @@
1
1
  import { TemplateRef } from '@angular/core';
2
+ import { BmbTranslationsService } from '../../services/translations/translations.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class BmbStepProgressBarComponent {
5
+ private translateService;
4
6
  activeStep: import("@angular/core").ModelSignal<number>;
5
7
  totalSteps: import("@angular/core").InputSignal<number>;
6
8
  size: import("@angular/core").InputSignal<"default" | "normal" | "medium" | "small">;
7
9
  freeze: import("@angular/core").InputSignal<boolean>;
8
10
  type: import("@angular/core").InputSignal<"horizontal" | "vertical" | "step-panel">;
9
11
  labelSteps: import("@angular/core").InputSignal<string[]>;
10
- labelComplete: import("@angular/core").InputSignal<string>;
11
- labelIncomplete: import("@angular/core").InputSignal<string>;
12
+ labelComplete: import("@angular/core").InputSignal<string | undefined>;
13
+ labelIncomplete: import("@angular/core").InputSignal<string | undefined>;
12
14
  stepTemplates: import("@angular/core").InputSignal<TemplateRef<any>[]>;
13
15
  onStepPress: import("@angular/core").OutputEmitterRef<number>;
14
16
  onStepPanelPress: import("@angular/core").OutputEmitterRef<number>;
@@ -16,7 +18,7 @@ export declare class BmbStepProgressBarComponent {
16
18
  private mql;
17
19
  private abort;
18
20
  readonly isMobileOrTablet: import("@angular/core").WritableSignal<boolean>;
19
- constructor();
21
+ constructor(translateService: BmbTranslationsService);
20
22
  private truncate;
21
23
  readonly maxChars: import("@angular/core").Signal<90 | 70>;
22
24
  readonly labelStepsTruncated: import("@angular/core").Signal<string[]>;
@@ -7,7 +7,7 @@ export declare class BmbSwitchComponent {
7
7
  rightText: import("@angular/core").InputSignal<string>;
8
8
  rightIcon: import("@angular/core").InputSignal<string>;
9
9
  isChecked: import("@angular/core").ModelSignal<boolean>;
10
- ariaLabel: import("@angular/core").InputSignal<string>;
10
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
11
11
  id: import("@angular/core").InputSignal<string>;
12
12
  disabled: import("@angular/core").InputSignal<boolean>;
13
13
  name: import("@angular/core").InputSignal<string>;
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, OnInit, AfterViewInit, NgZone, OnDestroy } from '@angular/core';
2
- import { TabsService } from '../../services/tabs.service';
2
+ import { TabsService } from '../../services/tabs/tabs.service';
3
3
  import { IBmbContrast } from '../../types/colors';
4
4
  import * as i0 from "@angular/core";
5
5
  export interface IBmbTab {
@@ -1,7 +1,7 @@
1
1
  import { SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { DateTime } from 'luxon';
3
3
  import { ITimelineEvent, ISelectedDate, ITimelineEventParsed, IBmbTimelineCustomEvent } from './types';
4
- import { BmbNativeModalService } from '../../services/native-modal.service';
4
+ import { BmbNativeModalService } from '../../services/modal/native-modal.service';
5
5
  import { IBbmBgAppearance } from '../bmb-advertisement-card/types';
6
6
  import * as i0 from "@angular/core";
7
7
  interface IPlaceholderObject {
@@ -9,6 +9,7 @@ export declare class BmbTooltipComponent {
9
9
  align: import("@angular/core").InputSignal<IBmbAlignTooltip>;
10
10
  justify: import("@angular/core").InputSignal<IBmbJustifyTooltip>;
11
11
  isFill: import("@angular/core").InputSignal<boolean>;
12
+ handleFocus(event: Event): void;
12
13
  getClasses(): string;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BmbTooltipComponent, never>;
14
15
  static ɵcmp: i0.ɵɵComponentDeclaration<BmbTooltipComponent, "bmb-tooltip", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "isFill": { "alias": "isFill"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
3
3
  export declare class BmbTotpComponent {
4
4
  private formBuilder;
5
5
  private destroy$;
6
- title: import("@angular/core").InputSignal<string>;
7
- subtitle: import("@angular/core").InputSignal<string>;
6
+ title: import("@angular/core").InputSignal<string | undefined>;
7
+ subtitle: import("@angular/core").InputSignal<string | undefined>;
8
8
  instanceId: import("@angular/core").InputSignal<string>;
9
9
  codeError: import("@angular/core").InputSignal<boolean>;
10
10
  errorMessage: import("@angular/core").InputSignal<string>;
@@ -2,11 +2,11 @@ import { IBmbActionHeader, IBmbTargetLink, IBmbUserInfo } from '../../types';
2
2
  import { IBmbActionHeaderLinks } from '../bmb-header-mitec/bmb-header-mitec.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BmbUserProfileComponent {
5
- headerLabel: import("@angular/core").InputSignal<string>;
6
- anotherAccountLabel: import("@angular/core").InputSignal<string>;
5
+ headerLabel: import("@angular/core").InputSignal<string | undefined>;
6
+ anotherAccountLabel: import("@angular/core").InputSignal<string | undefined>;
7
7
  anotherAccountLink: import("@angular/core").InputSignal<string>;
8
8
  anotherAccountTarget: import("@angular/core").InputSignal<IBmbTargetLink>;
9
- buttonLabel: import("@angular/core").InputSignal<string>;
9
+ buttonLabel: import("@angular/core").InputSignal<string | undefined>;
10
10
  userInfo: import("@angular/core").InputSignal<IBmbUserInfo>;
11
11
  actionHeaderLinks: import("@angular/core").InputSignal<IBmbActionHeaderLinks | undefined>;
12
12
  actionHeaders: import("@angular/core").InputSignal<IBmbActionHeader[]>;
@@ -16,11 +16,13 @@ export declare class BmbUserSummaryContentComponent {
16
16
  salutation: import("@angular/core").InputSignal<string>;
17
17
  contentLayout: import("@angular/core").InputSignal<IBmbContentLayoutSummary>;
18
18
  gapSize: import("@angular/core").InputSignal<SizeNames>;
19
+ CURP: import("@angular/core").InputSignal<string | undefined>;
20
+ additionalInfo: import("@angular/core").InputSignal<string | undefined>;
19
21
  onUserClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
20
- getClass(mainClassName: string): string;
22
+ getClass(mainClassName: string): string[];
21
23
  getSalutationClasses(mainClassName: string, isRole?: boolean): string[];
22
24
  getName(): string;
23
25
  handleUserClick(event: MouseEvent): void;
24
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BmbUserSummaryContentComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BmbUserSummaryContentComponent, "bmb-user-summary-content", never, { "isProfile": { "alias": "isProfile"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "userId": { "alias": "userId"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "isImageBordered": { "alias": "isImageBordered"; "required": false; "isSignal": true; }; "altImage": { "alias": "altImage"; "required": false; "isSignal": true; }; "imageSize": { "alias": "imageSize"; "required": false; "isSignal": true; }; "infoCareer": { "alias": "infoCareer"; "required": false; "isSignal": true; }; "campus": { "alias": "campus"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "email": { "alias": "email"; "required": false; "isSignal": true; }; "salutation": { "alias": "salutation"; "required": false; "isSignal": true; }; "contentLayout": { "alias": "contentLayout"; "required": false; "isSignal": true; }; "gapSize": { "alias": "gapSize"; "required": false; "isSignal": true; }; }, { "onUserClick": "onUserClick"; }, never, never, true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<BmbUserSummaryContentComponent, "bmb-user-summary-content", never, { "isProfile": { "alias": "isProfile"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "userId": { "alias": "userId"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "isImageBordered": { "alias": "isImageBordered"; "required": false; "isSignal": true; }; "altImage": { "alias": "altImage"; "required": false; "isSignal": true; }; "imageSize": { "alias": "imageSize"; "required": false; "isSignal": true; }; "infoCareer": { "alias": "infoCareer"; "required": false; "isSignal": true; }; "campus": { "alias": "campus"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "email": { "alias": "email"; "required": false; "isSignal": true; }; "salutation": { "alias": "salutation"; "required": false; "isSignal": true; }; "contentLayout": { "alias": "contentLayout"; "required": false; "isSignal": true; }; "gapSize": { "alias": "gapSize"; "required": false; "isSignal": true; }; "CURP": { "alias": "CURP"; "required": false; "isSignal": true; }; "additionalInfo": { "alias": "additionalInfo"; "required": false; "isSignal": true; }; }, { "onUserClick": "onUserClick"; }, never, never, true, never>;
26
28
  }
@@ -6,7 +6,7 @@ export declare class BmbUserSummaryComponent {
6
6
  image: import("@angular/core").InputSignal<string>;
7
7
  infoCareer: import("@angular/core").InputSignal<string>;
8
8
  noBox: import("@angular/core").InputSignal<boolean>;
9
- salutation: import("@angular/core").InputSignal<string>;
9
+ salutation: import("@angular/core").InputSignal<string | undefined>;
10
10
  onClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
11
11
  handleClick(event: MouseEvent): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<BmbUserSummaryComponent, never>;
@@ -1,3 +1,4 @@
1
+ import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
3
  export type IColumSizeMobile = 0 | 1 | 2 | 3 | 4;
3
4
  export type IColumSizeFull = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
@@ -5,16 +6,19 @@ export interface IMargin {
5
6
  sm: number;
6
7
  lg?: number;
7
8
  }
8
- export declare class BmbLayoutItemDirective {
9
+ export declare class BmbLayoutItemDirective implements OnInit, AfterViewInit {
10
+ private el;
9
11
  colSm: import("@angular/core").InputSignal<IColumSizeMobile>;
10
12
  colLg: import("@angular/core").InputSignal<IColumSizeFull>;
11
13
  marginLeft: import("@angular/core").InputSignal<IMargin>;
12
14
  marginRight: import("@angular/core").InputSignal<IMargin>;
13
15
  colGrow: import("@angular/core").InputSignal<number>;
14
16
  isDynamicItem: import("@angular/core").InputSignal<boolean>;
17
+ constructor(el: ElementRef);
15
18
  get elementClass(): string[];
16
19
  flex?: string;
17
20
  ngOnInit(): void;
21
+ ngAfterViewInit(): void;
18
22
  static ɵfac: i0.ɵɵFactoryDeclaration<BmbLayoutItemDirective, never>;
19
23
  static ɵdir: i0.ɵɵDirectiveDeclaration<BmbLayoutItemDirective, "[bmbLayoutItem]", never, { "colSm": { "alias": "colSm"; "required": false; "isSignal": true; }; "colLg": { "alias": "colLg"; "required": false; "isSignal": true; }; "marginLeft": { "alias": "marginLeft"; "required": false; "isSignal": true; }; "marginRight": { "alias": "marginRight"; "required": false; "isSignal": true; }; "colGrow": { "alias": "colGrow"; "required": false; "isSignal": true; }; "isDynamicItem": { "alias": "isDynamicItem"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
24
  }
@@ -8,8 +8,8 @@ export declare class BmbLayoutDirective {
8
8
  dynamicCols: import("@angular/core").InputSignal<boolean>;
9
9
  justify: import("@angular/core").InputSignal<IJustifyOptions>;
10
10
  alignItems: import("@angular/core").InputSignal<IAlignItemsOptions>;
11
- constructor();
11
+ isContainerQuery: import("@angular/core").InputSignal<boolean | undefined>;
12
12
  get elementClass(): string[];
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<BmbLayoutDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<BmbLayoutDirective, "[bmbLayout]", never, { "gapSize": { "alias": "gapSize"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "dynamicCols": { "alias": "dynamicCols"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "alignItems": { "alias": "alignItems"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BmbLayoutDirective, "[bmbLayout]", never, { "gapSize": { "alias": "gapSize"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "dynamicCols": { "alias": "dynamicCols"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "alignItems": { "alias": "alignItems"; "required": false; "isSignal": true; }; "isContainerQuery": { "alias": "isContainerQuery"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
15
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class BmbSelectorDirective {
3
+ idSelector: import("@angular/core").InputSignal<number>;
4
+ activeSelectorID: import("@angular/core").InputSignal<number>;
5
+ get elementClass(): string[];
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BmbSelectorDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BmbSelectorDirective, "[bmbSelector]", never, { "idSelector": { "alias": "idSelector"; "required": true; "isSignal": true; }; "activeSelectorID": { "alias": "activeSelectorID"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { BmbTranslationsService } from '../services/translations/translations.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TranslatePipe implements PipeTransform {
5
+ private translationService;
6
+ constructor(translationService: BmbTranslationsService);
7
+ transform(key: string): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", true>;
10
+ }
@@ -0,0 +1,15 @@
1
+ import { IBmbCalendarEvent } from '../../components/bmb-calendar/types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BmbCalendarService {
4
+ readonly eventList: import("@angular/core").WritableSignal<IBmbCalendarEvent[]>;
5
+ readonly isLoading: import("@angular/core").WritableSignal<boolean>;
6
+ addMultipleEvents(events: IBmbCalendarEvent[]): void;
7
+ addEvent(event: IBmbCalendarEvent): void;
8
+ deleteEvent(id: string): void;
9
+ editEvent(id: string): void;
10
+ getEventList(): IBmbCalendarEvent[];
11
+ setIsLoading(state: boolean): void;
12
+ getIsLoading(): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BmbCalendarService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<BmbCalendarService>;
15
+ }
@@ -0,0 +1,18 @@
1
+ import { ApplicationRef, EnvironmentInjector } from '@angular/core';
2
+ import { IBmbNativeModal } from '../../components/bmb-modal/bmb-modal.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BmbNativeModalService {
5
+ private appRef;
6
+ private environmentInjector;
7
+ readonly modalList: import("@angular/core").WritableSignal<IBmbNativeModal[]>;
8
+ private portalComponentRef;
9
+ constructor(appRef: ApplicationRef, environmentInjector: EnvironmentInjector);
10
+ private getOrCreatePortal;
11
+ openModal(newModal: IBmbNativeModal): string;
12
+ closeModal(id: string): void;
13
+ closeAllModals(): void;
14
+ getModalList(): IBmbNativeModal[];
15
+ checkIfModalExists(id: string): boolean;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BmbNativeModalService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<BmbNativeModalService>;
18
+ }
@@ -0,0 +1,20 @@
1
+ import { ApplicationRef, EnvironmentInjector } from '@angular/core';
2
+ import { INotification } from '../../components/bmb-push-notification/types';
3
+ import * as i0 from "@angular/core";
4
+ export type NotificationPositionX = 'left' | 'right';
5
+ export type NotificationPositionY = 'top' | 'bottom';
6
+ export declare class BmbNotificationService {
7
+ private appRef;
8
+ private environmentInjector;
9
+ positionX?: NotificationPositionX | undefined;
10
+ positionY?: NotificationPositionY | undefined;
11
+ readonly notificationList: import("@angular/core").WritableSignal<INotification[]>;
12
+ private portalComponentRef;
13
+ constructor(appRef: ApplicationRef, environmentInjector: EnvironmentInjector, positionX?: NotificationPositionX | undefined, positionY?: NotificationPositionY | undefined);
14
+ private getOrCreatePortal;
15
+ addNotification(notification: INotification): void;
16
+ deleteNotification(id: string, delay?: number): void;
17
+ getNotificationList(): INotification[];
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BmbNotificationService, [null, null, { optional: true; }, { optional: true; }]>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<BmbNotificationService>;
20
+ }
@@ -0,0 +1,31 @@
1
+ import { ApplicationRef, EnvironmentInjector, TemplateRef, Type } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type IBmbProjectedContentMode = 'over' | 'partial' | 'outside';
4
+ export interface IBmbProjectionContent {
5
+ content: TemplateRef<any> | null | Type<any>;
6
+ targetRef?: HTMLElement | null;
7
+ mode?: IBmbProjectedContentMode;
8
+ fixSizeToRef?: boolean;
9
+ inputContext?: {
10
+ [key: string]: any;
11
+ };
12
+ showBackdrop?: boolean;
13
+ outputContext?: {
14
+ [key: string]: (value: any) => void;
15
+ };
16
+ focusOnOpen?: boolean;
17
+ }
18
+ export declare class BmbProjectionContentService {
19
+ private appRef;
20
+ private environmentInjector;
21
+ readonly contentList: import("@angular/core").WritableSignal<IBmbProjectionContent | null>;
22
+ private portalComponentRef;
23
+ constructor(appRef: ApplicationRef, environmentInjector: EnvironmentInjector);
24
+ private getOrCreatePortal;
25
+ openContent(content: IBmbProjectionContent): void;
26
+ closeContent(): void;
27
+ getProjectedContent(): IBmbProjectionContent | null;
28
+ isThereContentProjected(): boolean;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<BmbProjectionContentService, never>;
30
+ static ɵprov: i0.ɵɵInjectableDeclaration<BmbProjectionContentService>;
31
+ }
@@ -0,0 +1,13 @@
1
+ import { IBmbTab } from '../../components/bmb-tabs/bmb-tabs.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TabsService {
4
+ private tabsSubject;
5
+ private selectedTabSubject;
6
+ tabs$: import("rxjs").Observable<IBmbTab[]>;
7
+ selectedTab$: import("rxjs").Observable<IBmbTab | null>;
8
+ setTabs(tabs: IBmbTab[]): void;
9
+ selectTab(tab: IBmbTab): void;
10
+ resetTabs(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<TabsService>;
13
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ThemeService {
3
+ private defaultTheme;
4
+ constructor(defaultTheme: string);
5
+ private themeSubject;
6
+ theme$: import("rxjs").Observable<string>;
7
+ getDefaultTheme(): string;
8
+ setTheme(theme: string): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, [{ optional: true; }]>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ToastService {
3
+ private isOpenSubject;
4
+ isOpen$: import("rxjs").Observable<boolean>;
5
+ openToast(): void;
6
+ closeToast(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
9
+ }
@@ -0,0 +1,22 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface BmbDictionaries {
3
+ [key: string]: {
4
+ [key: string]: string | {
5
+ [key: string]: string | {
6
+ [key: string]: string;
7
+ };
8
+ };
9
+ };
10
+ }
11
+ export declare class BmbTranslationsService {
12
+ private currentLanguage;
13
+ private dictionaries;
14
+ private selectedDictionary;
15
+ getCurrentLanguage(): string;
16
+ setLanguage(lang: string): void;
17
+ updateDictionary(lang: string, dictionary: BmbDictionaries): void;
18
+ addDictionary(lang: string, dictionary: BmbDictionaries): void;
19
+ translate(keyList: string): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<BmbTranslationsService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<BmbTranslationsService>;
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ti-tecnologico-de-monterrey-oficial/ds-ng",
3
- "version": "1.5.1219-d",
3
+ "version": "1.5.1219-e",
4
4
  "description": "Design System oficial del Tecnológico de Monterrey - Descubre cómo nuestro Design System no solo da forma a la estética, sino que también impulsa la consistencia en cada rincón de nuestro diseño, proporcionando una base sólida para construir experiencias memorables y coherentes. Únete a nosotros en este viaje donde la creatividad, coherencia y elegancia se encuentran para dar vida a un mundo visualmente armonioso y funcionalmente fluido.",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -1,12 +1,16 @@
1
1
  export * from './lib/ds-ng.service';
2
- export * from './lib/services/notification.service';
3
- export * from './lib/services/tabs.service';
4
- export * from './lib/services/calendar.service';
2
+ export * from './lib/services/notification/notification.service';
3
+ export * from './lib/services/tabs/tabs.service';
4
+ export * from './lib/services/calendar/calendar.service';
5
5
  export * from './lib/services/user/profile.service';
6
6
  export * from './lib/components/bmb-login-onboarding/bmb-login-onboarding.service';
7
7
  export * from './lib/components/bmb-alert-center/bmb-alert-center.service';
8
- export * from './lib/services/native-modal.service';
9
- export * from './lib/services/projection.service';
8
+ export * from './lib/services/modal/native-modal.service';
9
+ export * from './lib/services/projection/projection.service';
10
+ export * from './lib/services/theme/theme.service';
11
+ export * from './lib/services/toast/toast.service';
12
+ export * from './lib/services/translations/translations.service';
13
+ export * from './lib/pipes/translations';
10
14
  export * from './lib/ds-ng.component';
11
15
  export * from './lib/directives/bmb-button/button.directive';
12
16
  export * from './lib/directives/bmb-layout/bmb-layout-item.directive';
@@ -47,6 +51,7 @@ export * from './lib/components/bmb-value-counter/bmb-value-counter.component';
47
51
  export * from './lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component';
48
52
  export * from './lib/components/bmb-focus-element/bmb-focus-element.component';
49
53
  export * from './lib/components/bmb-user-summary/bmb-user-summary.component';
54
+ export * from './lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component';
50
55
  export * from './lib/components/bmb-tabs/bmb-tabs.component';
51
56
  export * from './lib/components/bmb-progress-cirlce/bmb-progress-circle.component';
52
57
  export * from './lib/components/bmb-sidebar/bmb-sidebar.component';
@@ -139,6 +144,7 @@ export * from './lib/components/bmb-item/bmb-item.component';
139
144
  export * from './lib/components/bmb-navigation-bar/bmb-navigation-bar.component';
140
145
  export * from './lib/components/bmb-notice-card/bmb-notice-card.component';
141
146
  export * from './lib/components/bmb-modal/bmb-native-modal.component';
147
+ export * from './lib/directives/bmb-selector/bmb-selector.directive';
142
148
  export * from './lib/components/bmb-table-lite/bmb-table-lite.component';
143
149
  export * from './lib/types';
144
150
  export * from './lib/components/bmb-modal/bmb-modal.interface';