valtech-components 2.0.192 → 2.0.194

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 (171) hide show
  1. package/README.md +67 -13
  2. package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +15 -1
  3. package/esm2022/lib/components/atoms/avatar/types.mjs +1 -1
  4. package/esm2022/lib/components/atoms/box/box.component.mjs +17 -1
  5. package/esm2022/lib/components/atoms/box/types.mjs +1 -1
  6. package/esm2022/lib/components/atoms/button/button.component.mjs +15 -1
  7. package/esm2022/lib/components/atoms/display/display.component.mjs +11 -1
  8. package/esm2022/lib/components/atoms/display/types.mjs +1 -1
  9. package/esm2022/lib/components/atoms/divider/divider.component.mjs +11 -2
  10. package/esm2022/lib/components/atoms/divider/types.mjs +1 -1
  11. package/esm2022/lib/components/atoms/href/href.component.mjs +12 -1
  12. package/esm2022/lib/components/atoms/href/types.mjs +1 -1
  13. package/esm2022/lib/components/atoms/icon/icon.component.mjs +11 -1
  14. package/esm2022/lib/components/atoms/icon/types.mjs +1 -1
  15. package/esm2022/lib/components/atoms/image/image.component.mjs +13 -3
  16. package/esm2022/lib/components/atoms/image/types.mjs +1 -1
  17. package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +11 -1
  18. package/esm2022/lib/components/atoms/progress-bar/types.mjs +1 -1
  19. package/esm2022/lib/components/atoms/text/text.component.mjs +11 -1
  20. package/esm2022/lib/components/atoms/text/types.mjs +1 -1
  21. package/esm2022/lib/components/atoms/title/title.component.mjs +11 -1
  22. package/esm2022/lib/components/atoms/title/types.mjs +1 -1
  23. package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +11 -1
  24. package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +15 -1
  25. package/esm2022/lib/components/molecules/button-group/types.mjs +1 -1
  26. package/esm2022/lib/components/molecules/card/card.component.mjs +15 -1
  27. package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +9 -1
  28. package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +11 -1
  29. package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +11 -1
  30. package/esm2022/lib/components/molecules/content-loader/types.mjs +1 -1
  31. package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +11 -1
  32. package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +11 -1
  33. package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +11 -1
  34. package/esm2022/lib/components/molecules/expandable-text/types.mjs +1 -1
  35. package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +16 -6
  36. package/esm2022/lib/components/molecules/hint/hint.component.mjs +11 -1
  37. package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +11 -1
  38. package/esm2022/lib/components/molecules/link/link.component.mjs +12 -1
  39. package/esm2022/lib/components/molecules/link/types.mjs +1 -1
  40. package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +11 -1
  41. package/esm2022/lib/components/molecules/links-cake/types.mjs +1 -1
  42. package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +31 -3
  43. package/esm2022/lib/components/molecules/notes-box/types.mjs +1 -1
  44. package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +11 -1
  45. package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +11 -1
  46. package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +11 -1
  47. package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +11 -1
  48. package/esm2022/lib/components/molecules/progress-status/types.mjs +1 -1
  49. package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +12 -1
  50. package/esm2022/lib/components/molecules/prompter/types.mjs +1 -1
  51. package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +11 -1
  52. package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +27 -5
  53. package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +11 -1
  54. package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +13 -3
  55. package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +14 -17
  56. package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +11 -1
  57. package/esm2022/lib/components/molecules/title-block/types.mjs +1 -1
  58. package/esm2022/lib/components/organisms/banner/banner.component.mjs +25 -3
  59. package/esm2022/lib/components/organisms/banner/types.mjs +1 -1
  60. package/esm2022/lib/components/organisms/footer/footer.component.mjs +23 -2
  61. package/esm2022/lib/components/organisms/footer/types.mjs +1 -1
  62. package/esm2022/lib/components/organisms/header/header.component.mjs +20 -1
  63. package/esm2022/lib/components/organisms/header/types.mjs +1 -1
  64. package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +31 -1
  65. package/esm2022/lib/components/organisms/item-list/types.mjs +1 -1
  66. package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +20 -1
  67. package/esm2022/lib/components/organisms/no-content/types.mjs +1 -1
  68. package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +46 -12
  69. package/esm2022/lib/components/organisms/toolbar/types.mjs +1 -1
  70. package/esm2022/lib/components/organisms/wizard/types.mjs +4 -1
  71. package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +44 -1
  72. package/esm2022/lib/services/download.service.mjs +18 -1
  73. package/esm2022/lib/services/icons.service.mjs +8 -1
  74. package/esm2022/lib/services/in-app-browser.service.mjs +12 -1
  75. package/esm2022/lib/services/local-storage.service.mjs +22 -1
  76. package/esm2022/lib/services/navigation.service.mjs +22 -1
  77. package/esm2022/lib/services/theme.service.mjs +46 -2
  78. package/esm2022/lib/services/toast.service.mjs +14 -2
  79. package/esm2022/lib/shared/utils/dom.mjs +11 -1
  80. package/esm2022/lib/shared/utils/styles.mjs +13 -1
  81. package/esm2022/lib/shared/utils/text.mjs +11 -1
  82. package/fesm2022/valtech-components.mjs +812 -47
  83. package/fesm2022/valtech-components.mjs.map +1 -1
  84. package/lib/components/atoms/avatar/avatar.component.d.ts +11 -0
  85. package/lib/components/atoms/avatar/types.d.ts +8 -0
  86. package/lib/components/atoms/box/box.component.d.ts +13 -0
  87. package/lib/components/atoms/box/types.d.ts +10 -0
  88. package/lib/components/atoms/button/button.component.d.ts +12 -0
  89. package/lib/components/atoms/display/display.component.d.ts +7 -0
  90. package/lib/components/atoms/display/types.d.ts +7 -0
  91. package/lib/components/atoms/divider/divider.component.d.ts +17 -0
  92. package/lib/components/atoms/divider/types.d.ts +7 -0
  93. package/lib/components/atoms/href/href.component.d.ts +10 -0
  94. package/lib/components/atoms/href/types.d.ts +10 -0
  95. package/lib/components/atoms/icon/icon.component.d.ts +7 -0
  96. package/lib/components/atoms/icon/types.d.ts +7 -0
  97. package/lib/components/atoms/image/image.component.d.ts +14 -0
  98. package/lib/components/atoms/image/types.d.ts +14 -0
  99. package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +10 -0
  100. package/lib/components/atoms/progress-bar/types.d.ts +10 -0
  101. package/lib/components/atoms/text/text.component.d.ts +8 -0
  102. package/lib/components/atoms/text/types.d.ts +8 -0
  103. package/lib/components/atoms/title/title.component.d.ts +9 -0
  104. package/lib/components/atoms/title/types.d.ts +9 -0
  105. package/lib/components/molecules/alert-box/alert-box.component.d.ts +7 -0
  106. package/lib/components/molecules/button-group/button-group.component.d.ts +10 -0
  107. package/lib/components/molecules/button-group/types.d.ts +7 -0
  108. package/lib/components/molecules/card/card.component.d.ts +14 -0
  109. package/lib/components/molecules/comment-input/comment-input.component.d.ts +6 -0
  110. package/lib/components/molecules/content-loader/content-loader.component.d.ts +8 -0
  111. package/lib/components/molecules/content-loader/types.d.ts +8 -0
  112. package/lib/components/molecules/date-input/date-input.component.d.ts +6 -0
  113. package/lib/components/molecules/email-input/email-input.component.d.ts +6 -0
  114. package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +8 -0
  115. package/lib/components/molecules/expandable-text/types.d.ts +8 -0
  116. package/lib/components/molecules/file-input/file-input.component.d.ts +6 -1
  117. package/lib/components/molecules/hint/hint.component.d.ts +6 -0
  118. package/lib/components/molecules/hour-input/hour-input.component.d.ts +5 -0
  119. package/lib/components/molecules/link/link.component.d.ts +10 -0
  120. package/lib/components/molecules/link/types.d.ts +10 -0
  121. package/lib/components/molecules/links-cake/links-cake.component.d.ts +7 -0
  122. package/lib/components/molecules/links-cake/types.d.ts +7 -0
  123. package/lib/components/molecules/notes-box/notes-box.component.d.ts +11 -0
  124. package/lib/components/molecules/notes-box/types.d.ts +11 -0
  125. package/lib/components/molecules/number-input/number-input.component.d.ts +6 -0
  126. package/lib/components/molecules/password-input/password-input.component.d.ts +7 -1
  127. package/lib/components/molecules/pin-input/pin-input.component.d.ts +5 -0
  128. package/lib/components/molecules/progress-status/progress-status.component.d.ts +9 -0
  129. package/lib/components/molecules/progress-status/types.d.ts +10 -0
  130. package/lib/components/molecules/prompter/prompter.component.d.ts +12 -0
  131. package/lib/components/molecules/prompter/types.d.ts +12 -0
  132. package/lib/components/molecules/radio-input/radio-input.component.d.ts +6 -0
  133. package/lib/components/molecules/searchbar/searchbar.component.d.ts +14 -2
  134. package/lib/components/molecules/select-input/select-input.component.d.ts +8 -0
  135. package/lib/components/molecules/select-search/select-search.component.d.ts +9 -2
  136. package/lib/components/molecules/text-input/text-input.component.d.ts +7 -0
  137. package/lib/components/molecules/title-block/title-block.component.d.ts +8 -0
  138. package/lib/components/molecules/title-block/types.d.ts +8 -0
  139. package/lib/components/organisms/banner/types.d.ts +14 -0
  140. package/lib/components/organisms/footer/footer.component.d.ts +24 -0
  141. package/lib/components/organisms/footer/types.d.ts +10 -0
  142. package/lib/components/organisms/header/header.component.d.ts +10 -0
  143. package/lib/components/organisms/header/types.d.ts +10 -0
  144. package/lib/components/organisms/item-list/item-list.component.d.ts +20 -0
  145. package/lib/components/organisms/item-list/types.d.ts +43 -0
  146. package/lib/components/organisms/no-content/no-content.component.d.ts +10 -0
  147. package/lib/components/organisms/no-content/types.d.ts +10 -0
  148. package/lib/components/organisms/toolbar/toolbar.component.d.ts +40 -3
  149. package/lib/components/organisms/toolbar/types.d.ts +15 -0
  150. package/lib/components/organisms/wizard/types.d.ts +22 -0
  151. package/lib/components/organisms/wizard/wizard.component.d.ts +32 -0
  152. package/lib/services/download.service.d.ts +13 -0
  153. package/lib/services/icons.service.d.ts +3 -0
  154. package/lib/services/in-app-browser.service.d.ts +7 -0
  155. package/lib/services/local-storage.service.d.ts +21 -0
  156. package/lib/services/navigation.service.d.ts +24 -0
  157. package/lib/services/theme.service.d.ts +42 -0
  158. package/lib/services/toast.service.d.ts +12 -0
  159. package/lib/shared/utils/dom.d.ts +10 -0
  160. package/lib/shared/utils/styles.d.ts +12 -0
  161. package/lib/shared/utils/text.d.ts +10 -0
  162. package/package.json +1 -1
  163. package/src/lib/components/styles/overrides.scss +12 -4
  164. package/src/lib/components/styles/variables.scss +1 -0
  165. package/styles/fonts.scss +0 -35
  166. package/src/lib/assets/fonts/Khula-Bold.ttf +0 -0
  167. package/src/lib/assets/fonts/Khula-ExtraBold.ttf +0 -0
  168. package/src/lib/assets/fonts/Khula-Light.ttf +0 -0
  169. package/src/lib/assets/fonts/Khula-Regular.ttf +0 -0
  170. package/src/lib/assets/fonts/Khula-SemiBold.ttf +0 -0
  171. package/src/lib/assets/fonts/OFL.txt +0 -93
@@ -1,4 +1,15 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-notes-box component.
4
+ *
5
+ * @property color - The background color of the box.
6
+ * @property textColor - The color of the text.
7
+ * @property prefix - Optional prefix text (bold).
8
+ * @property text - The main text content.
9
+ * @property size - The size of the text and box ('small' | 'medium' | 'large' | 'xlarge').
10
+ * @property rounded - Whether the box has rounded corners.
11
+ * @property padding - Custom padding for the box (optional).
12
+ */
2
13
  export interface NotesBoxMetadata {
3
14
  color: Color;
4
15
  textColor: Color;
@@ -2,6 +2,12 @@ import { OnInit } from '@angular/core';
2
2
  import { InputMetadata } from '../../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NumberInputComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the input.
9
+ * @property placeholder - The placeholder text.
10
+ */
5
11
  props: InputMetadata;
6
12
  constructor();
7
13
  ngOnInit(): void;
@@ -1,8 +1,14 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { InputMetadata } from '../../types';
3
2
  import { IconService } from '../../../services/icons.service';
3
+ import { InputMetadata } from '../../types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class PasswordInputComponent implements OnInit {
6
+ /**
7
+ * Input configuration object.
8
+ * @type {InputMetadata}
9
+ * @property control - The Angular FormControl for the input.
10
+ * @property placeholder - The placeholder text.
11
+ */
6
12
  props: InputMetadata;
7
13
  hidePassword: boolean;
8
14
  constructor(icon: IconService);
@@ -4,6 +4,11 @@ import { InputMetadata } from '../../types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class PinInputComponent implements OnInit {
6
6
  pinCode: NgOtpInputComponent | undefined;
7
+ /**
8
+ * Input configuration object.
9
+ * @type {InputMetadata}
10
+ * @property control - The Angular FormControl for the PIN input.
11
+ */
7
12
  props: InputMetadata;
8
13
  codeLength: number;
9
14
  otpInputConfig: NgOtpInputConfig;
@@ -2,6 +2,15 @@ import { OnInit } from '@angular/core';
2
2
  import { ProgressStatusMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ProgressStatusComponent implements OnInit {
5
+ /**
6
+ * Progress status configuration object.
7
+ * @type {ProgressStatusMetadata}
8
+ * @property progress - The progress value (0 to 1).
9
+ * @property color - The color of the progress bar.
10
+ * @property size - The size of the text and bar.
11
+ * @property titles - Title block configuration.
12
+ * @property messages - Array of status messages.
13
+ */
5
14
  props: ProgressStatusMetadata;
6
15
  currentIndex: number;
7
16
  blinking: boolean;
@@ -1,5 +1,15 @@
1
1
  import { Color } from '@ionic/core';
2
2
  import { TitleBlockMetada } from '../title-block/types';
3
+ /**
4
+ * Props for val-progress-status component.
5
+ *
6
+ * @property progress - The progress value (0 to 1).
7
+ * @property titles - Title block configuration.
8
+ * @property color - The color of the progress bar.
9
+ * @property size - The size of the text and bar (optional).
10
+ * @property type - The type of progress bar (optional).
11
+ * @property messages - Array of status messages.
12
+ */
3
13
  export type ProgressStatusMetadata = {
4
14
  progress: number;
5
15
  titles: TitleBlockMetada;
@@ -2,6 +2,18 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { PrompterMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PrompterComponent implements OnInit {
5
+ /**
6
+ * Prompter configuration object.
7
+ * @type {PrompterMetadata}
8
+ * @property content - The main text content.
9
+ * @property buttons - Array of button configurations (optional).
10
+ * @property hrefs - Array of link configurations (optional).
11
+ * @property color - The background color of the box.
12
+ * @property size - The size of the text and box.
13
+ * @property bordered - Whether the box has a border.
14
+ * @property padding - Custom padding for the box.
15
+ * @property teleprompter - Whether to use teleprompter style (optional).
16
+ */
5
17
  props: PrompterMetadata;
6
18
  onClick: EventEmitter<string>;
7
19
  constructor();
@@ -1,6 +1,18 @@
1
1
  import { Color } from '@ionic/core';
2
2
  import { HrefMetadata } from '../../atoms/href/types';
3
3
  import { ButtonMetadata } from '../../types';
4
+ /**
5
+ * Props for val-prompter component.
6
+ *
7
+ * @property teleprompter - Whether to use teleprompter style.
8
+ * @property bordered - Whether the box has a border.
9
+ * @property color - The background color of the box (optional).
10
+ * @property content - The main text content.
11
+ * @property size - The size of the text and box ('small' | 'medium' | 'large' | 'xlarge').
12
+ * @property buttons - Array of button configurations (optional).
13
+ * @property hrefs - Array of link configurations (optional).
14
+ * @property padding - Custom padding for the box (optional).
15
+ */
4
16
  export type PrompterMetadata = {
5
17
  teleprompter: boolean;
6
18
  bordered: boolean;
@@ -2,6 +2,12 @@ import { OnInit } from '@angular/core';
2
2
  import { InputMetadata } from '../../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class RadioInputComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the radio input.
9
+ * @property options - The available options for the radio group.
10
+ */
5
11
  props: InputMetadata;
6
12
  constructor();
7
13
  ngOnInit(): void;
@@ -1,14 +1,26 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SearchbarComponent {
4
+ /**
5
+ * Whether the searchbar is disabled.
6
+ */
4
7
  disabled: boolean;
8
+ /**
9
+ * Emits the search term on input.
10
+ */
11
+ filterEvent: EventEmitter<string>;
12
+ /**
13
+ * Emits when the searchbar gains focus.
14
+ */
5
15
  focusEvent: EventEmitter<void>;
16
+ /**
17
+ * Emits when the searchbar loses focus.
18
+ */
6
19
  blurEvent: EventEmitter<void>;
7
- filterEvent: EventEmitter<string>;
8
20
  constructor();
9
21
  onSearch($event: any): void;
10
22
  onFocus(): void;
11
23
  onBlur(): void;
12
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "val-searchbar", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "filterEvent": "filterEvent"; }, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "val-searchbar", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "filterEvent": "filterEvent"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; }, never, never, true, never>;
14
26
  }
@@ -2,6 +2,14 @@ import { OnInit } from '@angular/core';
2
2
  import { InputMetadata } from '../../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SearchSelectorComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the select input.
9
+ * @property label - The label for the select.
10
+ * @property options - The available options for the select.
11
+ * @property placeholder - The placeholder text.
12
+ */
5
13
  props: InputMetadata;
6
14
  customModalOptions: {
7
15
  header: string;
@@ -1,16 +1,23 @@
1
1
  import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { IonModal } from '@ionic/angular';
3
- import { ViewWillEnter } from '@ionic/angular/standalone';
4
3
  import { IconService } from '../../../services/icons.service';
5
4
  import { InputMetadata, InputOption } from '../../types';
6
5
  import * as i0 from "@angular/core";
7
- export declare class SelectSearchComponent implements ViewWillEnter, OnChanges, OnDestroy {
6
+ export declare class SelectSearchComponent implements OnChanges, OnDestroy {
8
7
  modal: IonModal;
9
8
  label: string;
10
9
  labelProperty: string;
11
10
  valueProperty: string;
12
11
  multiple: boolean;
13
12
  placeholder: string;
13
+ /**
14
+ * Input configuration object.
15
+ * @type {InputMetadata}
16
+ * @property control - The Angular FormControl for the select input.
17
+ * @property label - The label for the select.
18
+ * @property options - The available options for the select.
19
+ * @property placeholder - The placeholder text.
20
+ */
14
21
  props: InputMetadata;
15
22
  icon: IconService;
16
23
  private changeDetector;
@@ -2,6 +2,13 @@ import { OnInit } from '@angular/core';
2
2
  import { InputMetadata } from '../../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TextInputComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the input.
9
+ * @property placeholder - The placeholder text.
10
+ * @property label, name, hint, type, validators, etc. - See InputMetadata for all options.
11
+ */
5
12
  props: InputMetadata;
6
13
  states: {
7
14
  ENABLED: "ENABLED";
@@ -2,6 +2,14 @@ import { OnInit } from '@angular/core';
2
2
  import { TitleBlockMetada } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TitleBlockComponent implements OnInit {
5
+ /**
6
+ * Title block configuration object.
7
+ * @type {TitleBlockMetada}
8
+ * @property title - Main title display configuration.
9
+ * @property aboveTitle - Title above the main title (optional).
10
+ * @property bellowTitle - Title below the main title (optional).
11
+ * @property position - Position of the block ('center', etc.).
12
+ */
5
13
  props: TitleBlockMetada;
6
14
  constructor();
7
15
  ngOnInit(): void;
@@ -1,4 +1,12 @@
1
1
  import { TitleMetadata } from '../../atoms/title/types';
2
+ /**
3
+ * Title block configuration object.
4
+ * @type {TitleBlockMetada}
5
+ * @property title - Main title display configuration.
6
+ * @property aboveTitle - Title above the main title (optional).
7
+ * @property bellowTitle - Title below the main title (optional).
8
+ * @property position - Position of the block ('center', etc.).
9
+ */
2
10
  export type TitleBlockMetada = {
3
11
  position: 'center' | 'left' | 'right';
4
12
  title?: TitleMetadata;
@@ -1,6 +1,20 @@
1
1
  import { Color } from '@ionic/core';
2
2
  import { ButtonGroupMetadata } from '../../molecules/button-group/types';
3
3
  import { TitleBlockMetada } from '../../molecules/title-block/types';
4
+ /**
5
+ * Props for val-banner component.
6
+ *
7
+ * @property token - Optional identifier for the banner.
8
+ * @property image - Optional image for the banner.
9
+ * @property color - The background color of the banner.
10
+ * @property bordered - Whether the banner has a border.
11
+ * @property closable - Whether the banner can be closed.
12
+ * @property mode - Banner display mode ('row' | 'column' | 'hybrid' | 'center').
13
+ * @property alignment - Content alignment ('center' | 'middle' | 'bottom').
14
+ * @property actions - Button group configuration (optional).
15
+ * @property content - Title block content configuration.
16
+ * @property padding - Custom padding for the banner (optional).
17
+ */
4
18
  export type BannerMetadata = {
5
19
  token?: string;
6
20
  image?: string;
@@ -1,11 +1,35 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FooterMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * FooterComponent
6
+ *
7
+ * Componente de pie de página reutilizable para aplicaciones Ionic/Angular.
8
+ * Permite mostrar una barra de herramientas (toolbar) y contenido adicional.
9
+ *
10
+ * @example
11
+ * <val-footer [props]="footerProps" (onClick)="handleFooterAction($event)">
12
+ * <div extra>Contenido extra</div>
13
+ * </val-footer>
14
+ *
15
+ * @input props {FooterMetadata} - Metadatos del pie de página y su toolbar.
16
+ * @output onClick - Emite el token de la acción clicada en la toolbar.
17
+ */
4
18
  export declare class FooterComponent implements OnInit {
19
+ /**
20
+ * Metadatos del pie de página y su toolbar.
21
+ */
5
22
  props: FooterMetadata;
23
+ /**
24
+ * Evento emitido al hacer click en una acción de la toolbar.
25
+ */
6
26
  onClick: EventEmitter<string>;
7
27
  constructor();
8
28
  ngOnInit(): void;
29
+ /**
30
+ * Emite el token de la acción clicada en la toolbar.
31
+ * @param token Token de la acción
32
+ */
9
33
  clickHandler(token?: string): void;
10
34
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
11
35
  static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "val-footer", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["[extra]"], true, never>;
@@ -1,4 +1,14 @@
1
+ /**
2
+ * Tipos y metadatos para el componente FooterComponent.
3
+ * Permiten definir la configuración del pie de página y su barra de herramientas.
4
+ */
1
5
  import { ToolbarMetadata } from '../toolbar/types';
6
+ /**
7
+ * Metadatos para el pie de página.
8
+ * @property translucent (opcional) Si el pie es translúcido.
9
+ * @property bordered (opcional) Si el pie tiene borde.
10
+ * @property toolbar Metadatos de la barra de herramientas a mostrar en el pie.
11
+ */
2
12
  export type FooterMetadata = {
3
13
  translucent?: boolean;
4
14
  bordered?: boolean;
@@ -2,10 +2,20 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { HeaderMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class HeaderComponent implements OnInit {
5
+ /**
6
+ * Metadatos del encabezado y su toolbar.
7
+ */
5
8
  props: HeaderMetadata;
9
+ /**
10
+ * Evento emitido al hacer click en una acción de la toolbar.
11
+ */
6
12
  onClick: EventEmitter<string>;
7
13
  constructor();
8
14
  ngOnInit(): void;
15
+ /**
16
+ * Emite el token de la acción clicada en la toolbar.
17
+ * @param token Token de la acción
18
+ */
9
19
  clickHandler(token?: string): void;
10
20
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
11
21
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "val-header", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
@@ -1,4 +1,14 @@
1
+ /**
2
+ * Tipos y metadatos para el componente HeaderComponent.
3
+ * Permiten definir la configuración del encabezado y su barra de herramientas.
4
+ */
1
5
  import { ToolbarMetadata } from '../toolbar/types';
6
+ /**
7
+ * Metadatos para el encabezado.
8
+ * @property translucent (opcional) Si el encabezado es translúcido.
9
+ * @property bordered (opcional) Si el encabezado tiene borde.
10
+ * @property toolbar Metadatos de la barra de herramientas a mostrar en el encabezado.
11
+ */
2
12
  export type HeaderMetadata = {
3
13
  translucent?: boolean;
4
14
  bordered?: boolean;
@@ -10,13 +10,33 @@ export declare class ItemListComponent implements OnInit {
10
10
  ERROR: "ERROR";
11
11
  };
12
12
  defaultColor: string;
13
+ /**
14
+ * Metadatos de la lista y sus elementos.
15
+ */
13
16
  props: ListMetadata;
17
+ /**
18
+ * Evento emitido al hacer click en un elemento de la lista.
19
+ */
14
20
  onClick: EventEmitter<string>;
21
+ /**
22
+ * Evento emitido al hacer click en una acción de un elemento.
23
+ */
15
24
  onActionClick: EventEmitter<string>;
16
25
  constructor(icon: IconService);
17
26
  ngOnInit(): void;
27
+ /**
28
+ * Emite el token del elemento clicado.
29
+ * @param token Token del elemento
30
+ */
18
31
  clickHandler(token?: string): void;
32
+ /**
33
+ * Emite el token de la acción clicada.
34
+ * @param token Token de la acción
35
+ */
19
36
  onActionClickHandler(token?: string): void;
37
+ /**
38
+ * Devuelve el color de borde de la lista.
39
+ */
20
40
  color(): string;
21
41
  static ɵfac: i0.ɵɵFactoryDeclaration<ItemListComponent, never>;
22
42
  static ɵcmp: i0.ɵɵComponentDeclaration<ItemListComponent, "val-item-list", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; "onActionClick": "onActionClick"; }, never, never, true, never>;
@@ -1,11 +1,45 @@
1
+ /**
2
+ * Tipos y metadatos para el componente ItemListComponent.
3
+ * Permiten definir la estructura de los elementos de la lista, acciones y estilos.
4
+ */
1
5
  import { Color } from '@ionic/core';
2
6
  import { ComponentState } from '../../types';
7
+ /**
8
+ * Representa una acción disponible en un elemento de la lista.
9
+ * @property token Identificador único de la acción.
10
+ * @property icon (opcional) Icono a mostrar.
11
+ * @property description Descripción de la acción.
12
+ * @property state Estado de la acción (habilitado, deshabilitado, trabajando, etc).
13
+ */
3
14
  export type ItemAction = {
4
15
  token: string;
5
16
  icon?: string;
6
17
  description: string;
7
18
  state: ComponentState;
8
19
  };
20
+ /**
21
+ * Metadatos de un elemento individual de la lista.
22
+ * @property token (opcional) Identificador único del elemento.
23
+ * @property mode Modo de visualización ('justext', 'subtitule', 'avatar', 'icon', 'route', 'actionable').
24
+ * @property text Texto principal del elemento.
25
+ * @property image (opcional) Imagen para modo avatar.
26
+ * @property icon (opcional) Icono para modo icon.
27
+ * @property comments (opcional) Comentarios o notas.
28
+ * @property subtitle (opcional) Subtítulo.
29
+ * @property endNote (opcional) Nota al final del elemento.
30
+ * @property actions (opcional) Acciones disponibles para el elemento.
31
+ * @property color (opcional) Color personalizado.
32
+ * @property lines (opcional) Tipo de líneas ('full', 'inset', 'none').
33
+ * @property button (opcional) Si el elemento es un botón.
34
+ * @property detail (opcional) Si muestra detalles.
35
+ * @property clickable (opcional) Si es clicable.
36
+ * @property detailIcon (opcional) Icono de detalle.
37
+ * @property disabled (opcional) Si está deshabilitado.
38
+ * @property ellipsis (opcional) Si el texto debe cortarse con puntos suspensivos.
39
+ * @property href (opcional) Enlace externo.
40
+ * @property routerLink (opcional) Enlace de router Angular.
41
+ * @property unreadIndicator (opcional) Indicador de no leído.
42
+ */
9
43
  export interface ItemMetadata {
10
44
  token?: string;
11
45
  mode: 'justext' | 'subtitule' | 'avatar' | 'icon' | 'route' | 'actionable';
@@ -28,6 +62,15 @@ export interface ItemMetadata {
28
62
  routerLink?: string | any[];
29
63
  unreadIndicator?: boolean;
30
64
  }
65
+ /**
66
+ * Metadatos de la lista de elementos.
67
+ * @property color Color principal de la lista.
68
+ * @property bordered Si la lista tiene borde.
69
+ * @property rounded Si la lista tiene bordes redondeados.
70
+ * @property shadowed Si la lista tiene sombra.
71
+ * @property title Título de la lista.
72
+ * @property items Elementos a mostrar en la lista.
73
+ */
31
74
  export interface ListMetadata {
32
75
  color: Color;
33
76
  bordered: boolean;
@@ -2,10 +2,20 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { NoContentMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NoContentComponent implements OnInit {
5
+ /**
6
+ * Metadatos de la imagen y banners a mostrar.
7
+ */
5
8
  props: NoContentMetadata;
9
+ /**
10
+ * Evento emitido al hacer click en un banner.
11
+ */
6
12
  onClick: EventEmitter<string>;
7
13
  constructor();
8
14
  ngOnInit(): void;
15
+ /**
16
+ * Emite el token de acción del banner clicado.
17
+ * @param token Token de la acción
18
+ */
9
19
  onClickHandler(token: string): void;
10
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NoContentComponent, never>;
11
21
  static ɵcmp: i0.ɵɵComponentDeclaration<NoContentComponent, "val-no-content", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
@@ -1,5 +1,15 @@
1
+ /**
2
+ * Tipos y metadatos para el componente NoContentComponent.
3
+ * Permiten definir la imagen y los banners opcionales a mostrar en la pantalla de "sin contenido".
4
+ */
1
5
  import { ImageMetadata } from '../../atoms/image/types';
2
6
  import { BannerMetadata } from '../../organisms/banner/types';
7
+ /**
8
+ * Metadatos para la pantalla de "sin contenido".
9
+ * @property image Imagen principal a mostrar.
10
+ * @property topContent (opcional) Banner superior.
11
+ * @property bottomContent Banner inferior.
12
+ */
3
13
  export type NoContentMetadata = {
4
14
  image: ImageMetadata;
5
15
  topContent?: BannerMetadata;
@@ -4,19 +4,56 @@ import { IconService } from '../../../services/icons.service';
4
4
  import { ToolbarAction, ToolbarActionType } from '../../types';
5
5
  import { ToolbarMetadata } from './types';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * ToolbarComponent
9
+ *
10
+ * Componente de barra de herramientas reutilizable para encabezados y pies de página.
11
+ * Permite acciones, botón de retroceso, menú y personalización de colores y título.
12
+ *
13
+ * @example
14
+ * <val-toolbar [props]="{ title: 'Mi App', withBack: true, actions: [...] }" (onClick)="handleToolbarAction($event)"></val-toolbar>
15
+ *
16
+ * @input props {ToolbarMetadata} - Metadatos de la barra de herramientas.
17
+ * @output onClick - Emite el token de la acción clicada.
18
+ */
7
19
  export declare class ToolbarComponent implements OnInit {
8
20
  private navCtrl;
21
+ /**
22
+ * Metadatos de la barra de herramientas.
23
+ */
9
24
  props: ToolbarMetadata;
25
+ /**
26
+ * Evento emitido al hacer click en una acción o botón de la barra.
27
+ */
10
28
  onClick: EventEmitter<string>;
11
29
  actionTypes: typeof ToolbarActionType;
12
30
  constructor(navCtrl: NavController, icon: IconService);
13
31
  ngOnInit(): void;
32
+ /**
33
+ * Emite el token de la acción clicada.
34
+ * @param token Token de la acción
35
+ */
36
+ clickHandler(token?: string): void;
37
+ /**
38
+ * Navega hacia atrás usando NavController.
39
+ */
14
40
  goBack(): void;
15
- rightActions(): ToolbarAction[];
16
- leftActions(): ToolbarAction[];
41
+ /**
42
+ * Determina si hay acciones a la derecha.
43
+ */
17
44
  someInRight(): boolean;
45
+ /**
46
+ * Determina si hay acciones a la izquierda.
47
+ */
18
48
  someInLeft(): boolean;
19
- clickHandler(token?: string): void;
49
+ /**
50
+ * Devuelve las acciones de la derecha.
51
+ */
52
+ rightActions(): ToolbarAction[];
53
+ /**
54
+ * Devuelve las acciones de la izquierda.
55
+ */
56
+ leftActions(): ToolbarAction[];
20
57
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
21
58
  static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "val-toolbar", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["[toolbar-bottom]"], true, never>;
22
59
  }
@@ -1,5 +1,20 @@
1
+ /**
2
+ * Tipos y metadatos para el componente ToolbarComponent.
3
+ * Permiten definir el título, acciones, colores y opciones de navegación de la barra de herramientas.
4
+ */
1
5
  import { Color } from '@ionic/core';
2
6
  import { ToolbarAction } from '../../types';
7
+ /**
8
+ * Metadatos para la barra de herramientas.
9
+ * @property withBack Si muestra botón de retroceso.
10
+ * @property withMenu (opcional) Si muestra botón de menú.
11
+ * @property backText (opcional) Texto del botón de retroceso.
12
+ * @property withActions Si muestra acciones.
13
+ * @property color (opcional) Color de fondo.
14
+ * @property textColor (opcional) Color del texto.
15
+ * @property title Título de la barra.
16
+ * @property actions Acciones disponibles en la barra.
17
+ */
3
18
  export type ToolbarMetadata = {
4
19
  withBack: boolean;
5
20
  withMenu?: boolean;
@@ -1,18 +1,40 @@
1
+ /**
2
+ * Tipos y metadatos para el componente WizardComponent.
3
+ * Permiten definir los pasos, botones, estado y navegación del wizard.
4
+ */
1
5
  import { ButtonMetadata, ComponentState } from '../../types';
2
6
  import { NoContentMetadata } from '../no-content/types';
7
+ /**
8
+ * Metadatos del wizard.
9
+ * @property state Estado global del wizard.
10
+ * @property current Paso actual.
11
+ * @property steps Colección de pasos.
12
+ * @property error Paso de error.
13
+ */
3
14
  export type WizardMetadata = {
4
15
  state: ComponentState;
5
16
  current: number;
6
17
  steps: Steps;
7
18
  error: Step;
8
19
  };
20
+ /**
21
+ * Representa un paso del wizard.
22
+ * @property titles Metadatos de "no contenido" para el paso.
23
+ * @property buttons Botones disponibles en el paso.
24
+ */
9
25
  export type Step = {
10
26
  titles: NoContentMetadata;
11
27
  buttons: ButtonMetadata[];
12
28
  };
29
+ /**
30
+ * Colección de pasos del wizard, indexados por número de paso.
31
+ */
13
32
  export type Steps = {
14
33
  [step: number]: Step;
15
34
  };
35
+ /**
36
+ * Enumera los posibles movimientos de navegación en el wizard.
37
+ */
16
38
  export declare enum MOTION {
17
39
  BACKWARD = 0,
18
40
  FORWARD = 1,