valtech-components 2.0.191 → 2.0.193

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 +15 -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 +11 -3
  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
@@ -2,7 +2,18 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { AvatarMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AvatarComponent implements OnInit {
5
+ /**
6
+ * Avatar configuration object.
7
+ * @type {AvatarMetadata}
8
+ * @property image - The image URL to display.
9
+ * @property default - The fallback image URL if image is not provided.
10
+ * @property size - The size of the avatar ('small' | 'medium' | 'large').
11
+ * @property box - Whether to display the avatar with a box style.
12
+ */
5
13
  props: AvatarMetadata;
14
+ /**
15
+ * Event emitted when the avatar is clicked.
16
+ */
6
17
  onClick: EventEmitter<any>;
7
18
  constructor();
8
19
  ngOnInit(): void;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Props for val-avatar component.
3
+ *
4
+ * @property image - The image URL to display.
5
+ * @property default - The fallback image URL if image is not provided.
6
+ * @property size - The size of the avatar ('small' | 'medium' | 'large').
7
+ * @property box - Whether to display the avatar with a box style (optional).
8
+ */
1
9
  export interface AvatarMetadata {
2
10
  image: string;
3
11
  default: string;
@@ -3,7 +3,20 @@ import { IconService } from '../../../services/icons.service';
3
3
  import { BoxMetadata } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class BoxComponent implements OnInit {
6
+ /**
7
+ * Box configuration object.
8
+ * @type {BoxMetadata}
9
+ * @property color - The color of the box (Ionic color string).
10
+ * @property icon - The name of the icon to display (optional).
11
+ * @property bordered - Whether the box has a border (optional).
12
+ * @property leftBorder - Whether the box has a left border (optional).
13
+ * @property rounded - Whether the box has rounded corners (optional).
14
+ * @property padding - Custom padding for the box (optional).
15
+ */
6
16
  props: BoxMetadata;
17
+ /**
18
+ * Event emitted when the box or its icon is clicked.
19
+ */
7
20
  onClick: EventEmitter<any>;
8
21
  constructor(icon: IconService);
9
22
  ngOnInit(): void;
@@ -1,4 +1,14 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-box component.
4
+ *
5
+ * @property color - The color of the box (Ionic color string).
6
+ * @property icon - The name of the icon to display (optional).
7
+ * @property bordered - Whether the box has a border (optional).
8
+ * @property leftBorder - Whether the box has a left border (optional).
9
+ * @property rounded - Whether the box has rounded corners (optional).
10
+ * @property padding - Custom padding for the box (optional).
11
+ */
2
12
  export interface BoxMetadata {
3
13
  color: Color;
4
14
  icon: string;
@@ -13,7 +13,19 @@ export declare class ButtonComponent {
13
13
  WORKING: "WORKING";
14
14
  ERROR: "ERROR";
15
15
  };
16
+ /**
17
+ * Button configuration object.
18
+ * @type {ButtonMetadata}
19
+ * @property text - The button label.
20
+ * @property color - The button color (Ionic color string).
21
+ * @property icon - Icon to display (optional).
22
+ * @property state - Button state (enabled, disabled, working, etc.).
23
+ * @property expand, fill, size, shape, href, target, download, handler, etc. - See ButtonMetadata for all options.
24
+ */
16
25
  props: ButtonMetadata;
26
+ /**
27
+ * Event emitted when the button is clicked.
28
+ */
17
29
  onClick: EventEmitter<string>;
18
30
  constructor(download: DownloadService, icon: IconService, navigation: NavigationService);
19
31
  ngOnInit(): void;
@@ -2,6 +2,13 @@ import { OnInit } from '@angular/core';
2
2
  import { DisplayMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DisplayComponent implements OnInit {
5
+ /**
6
+ * Display configuration object.
7
+ * @type {DisplayMetadata}
8
+ * @property content - The text to display.
9
+ * @property color - The text color (Ionic color string).
10
+ * @property size - The text size ('small' | 'medium' | 'large' | 'xlarge').
11
+ */
5
12
  props: DisplayMetadata;
6
13
  constructor();
7
14
  ngOnInit(): void;
@@ -1,4 +1,11 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-display component.
4
+ *
5
+ * @property size - The text size ('small' | 'medium' | 'large' | 'xlarge').
6
+ * @property color - The text color (Ionic color string).
7
+ * @property content - The text to display.
8
+ */
2
9
  export interface DisplayMetadata {
3
10
  size: 'small' | 'medium' | 'large' | 'xlarge';
4
11
  color: Color;
@@ -1,7 +1,24 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DividerMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * val-divider
6
+ *
7
+ * A horizontal divider for separating content sections.
8
+ *
9
+ * @example
10
+ * <val-divider [props]="{ size: 'medium', color: 'light', fill: 'solid' }"></val-divider>
11
+ *
12
+ * @input props: DividerMetadata - Configuration for the divider (size, color, fill)
13
+ */
4
14
  export declare class DividerComponent implements OnInit {
15
+ /**
16
+ * Divider configuration object.
17
+ * @type {DividerMetadata}
18
+ * @property size - The divider size ('small' | 'medium' | 'large').
19
+ * @property color - The divider color.
20
+ * @property fill - The divider fill style ('solid' | 'gradient').
21
+ */
5
22
  props: DividerMetadata;
6
23
  constructor();
7
24
  ngOnInit(): void;
@@ -1,3 +1,10 @@
1
+ /**
2
+ * Props for val-divider component.
3
+ *
4
+ * @property size - The divider size ('small' | 'medium' | 'large').
5
+ * @property color - The divider color ('primary' | 'secondary' | 'dark' | 'light' | 'medium').
6
+ * @property fill - The divider fill style ('solid' | 'gradient').
7
+ */
1
8
  export interface DividerMetadata {
2
9
  size: 'small' | 'medium' | 'large';
3
10
  color: 'primary' | 'secondary' | 'dark' | 'light' | 'medium';
@@ -4,6 +4,16 @@ import { HrefMetadata } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class HrefComponent implements OnInit {
6
6
  private downloadService;
7
+ /**
8
+ * Link configuration object.
9
+ * @type {HrefMetadata}
10
+ * @property url - The URL to open.
11
+ * @property text - The link text.
12
+ * @property color - The link color (Ionic color string).
13
+ * @property download - Whether to trigger a download (optional).
14
+ * @property hoverable - Whether the link is hoverable (optional).
15
+ * @property token - Optional token for event identification.
16
+ */
7
17
  props: HrefMetadata;
8
18
  onClick: EventEmitter<string>;
9
19
  constructor(downloadService: DownloadService);
@@ -1,4 +1,14 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-href component.
4
+ *
5
+ * @property url - The URL to open.
6
+ * @property token - Optional token for event identification.
7
+ * @property text - The link text.
8
+ * @property color - The link color (Ionic color string).
9
+ * @property download - Whether to trigger a download (optional).
10
+ * @property hoverable - Whether the link is hoverable (optional).
11
+ */
2
12
  export type HrefMetadata = {
3
13
  url: string;
4
14
  token: string;
@@ -3,6 +3,13 @@ import { IconService } from '../../../services/icons.service';
3
3
  import { IconMetadata } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class IconComponent implements OnInit {
6
+ /**
7
+ * Icon configuration object.
8
+ * @type {IconMetadata}
9
+ * @property name - The icon name (Ionicons).
10
+ * @property color - The icon color (Ionic color string).
11
+ * @property size - The icon size ('small' | 'medium' | 'large' | 'xlarge').
12
+ */
6
13
  props: IconMetadata;
7
14
  constructor(service: IconService);
8
15
  ngOnInit(): void;
@@ -1,4 +1,11 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-icon component.
4
+ *
5
+ * @property name - The icon name (Ionicons).
6
+ * @property color - The icon color (Ionic color string).
7
+ * @property size - The icon size ('small' | 'medium' | 'large' | 'xlarge').
8
+ */
2
9
  export interface IconMetadata {
3
10
  size: 'small' | 'medium' | 'large' | 'xlarge';
4
11
  color: Color;
@@ -2,6 +2,20 @@ import { OnInit } from '@angular/core';
2
2
  import { ImageMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ImageComponent implements OnInit {
5
+ /**
6
+ * Image configuration object.
7
+ * @type {ImageMetadata}
8
+ * @property src - The image source URL.
9
+ * @property alt - The alt text for the image.
10
+ * @property mode - The display mode ('rounded' | 'circular' | 'box').
11
+ * @property shaded - Whether the image has a shaded effect.
12
+ * @property bordered - Whether the image has a border.
13
+ * @property limited - Whether the image is limited in size (optional).
14
+ * @property dark - Whether the image uses a dark style (optional).
15
+ * @property size - The image size ('small' | 'medium' | 'large' | 'xlarge').
16
+ * @property width - The image width in px (optional).
17
+ * @property height - The image height in px (optional).
18
+ */
5
19
  props: ImageMetadata;
6
20
  available: boolean;
7
21
  constructor();
@@ -1,3 +1,17 @@
1
+ /**
2
+ * Props for val-image component.
3
+ *
4
+ * @property src - The image source URL.
5
+ * @property alt - The alt text for the image.
6
+ * @property mode - The display mode ('rounded' | 'circular' | 'box').
7
+ * @property shaded - Whether the image has a shaded effect.
8
+ * @property bordered - Whether the image has a border.
9
+ * @property limited - Whether the image is limited in size (optional).
10
+ * @property dark - Whether the image uses a dark style (optional).
11
+ * @property size - The image size ('small' | 'medium' | 'large' | 'xlarge').
12
+ * @property width - The image width in px (optional).
13
+ * @property height - The image height in px (optional).
14
+ */
1
15
  export type ImageMetadata = {
2
16
  src: string;
3
17
  alt: string;
@@ -2,6 +2,16 @@ import { OnInit } from '@angular/core';
2
2
  import { ProgressBarMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ProgressBarComponent implements OnInit {
5
+ /**
6
+ * Progress bar configuration object.
7
+ * @type {ProgressBarMetadata}
8
+ * @property progress - The progress value (0 to 1).
9
+ * @property size - The progress bar size ('small' | 'medium' | 'large' | 'xlarge').
10
+ * @property color - The progress bar color (Ionic color string).
11
+ * @property buffer - The buffer value for the bar.
12
+ * @property type - The type of progress bar ('determinate' | 'indeterminate').
13
+ * @property rounded - Whether the bar has rounded corners.
14
+ */
5
15
  props: ProgressBarMetadata;
6
16
  constructor();
7
17
  ngOnInit(): void;
@@ -1,4 +1,14 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-progress-bar component.
4
+ *
5
+ * @property progress - The progress value (0 to 1).
6
+ * @property size - The progress bar size ('small' | 'medium' | 'large' | 'xlarge').
7
+ * @property color - The progress bar color (Ionic color string).
8
+ * @property buffer - The buffer value for the bar.
9
+ * @property type - The type of progress bar ('determinate' | 'indeterminate').
10
+ * @property rounded - Whether the bar has rounded corners.
11
+ */
2
12
  export interface ProgressBarMetadata {
3
13
  progress: number;
4
14
  size: 'small' | 'medium' | 'large' | 'xlarge';
@@ -2,6 +2,14 @@ import { OnInit } from '@angular/core';
2
2
  import { TextMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TextComponent implements OnInit {
5
+ /**
6
+ * Text configuration object.
7
+ * @type {TextMetadata}
8
+ * @property content - The text to display.
9
+ * @property color - The text color (Ionic color string).
10
+ * @property size - The text size ('small' | 'medium' | 'large' | 'xlarge').
11
+ * @property bold - Whether the text is bold.
12
+ */
5
13
  props: TextMetadata;
6
14
  constructor();
7
15
  ngOnInit(): void;
@@ -1,4 +1,12 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-text component.
4
+ *
5
+ * @property content - The text to display.
6
+ * @property color - The text color (Ionic color string).
7
+ * @property size - The text size ('small' | 'medium' | 'large' | 'xlarge').
8
+ * @property bold - Whether the text is bold.
9
+ */
2
10
  export interface TextMetadata {
3
11
  size: 'small' | 'medium' | 'large' | 'xlarge';
4
12
  color: Color;
@@ -2,6 +2,15 @@ import { OnInit } from '@angular/core';
2
2
  import { TitleMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TitleComponent implements OnInit {
5
+ /**
6
+ * Title configuration object.
7
+ * @type {TitleMetadata}
8
+ * @property content - The title text to display.
9
+ * @property color - The title color (Ionic color string).
10
+ * @property size - The title size ('small' | 'medium' | 'large' | 'xlarge').
11
+ * @property bold - Whether the title is bold.
12
+ * @property thin - Whether the title is thin (optional).
13
+ */
5
14
  props: TitleMetadata;
6
15
  constructor();
7
16
  ngOnInit(): void;
@@ -1,4 +1,13 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Props for val-title component.
4
+ *
5
+ * @property content - The title text to display.
6
+ * @property color - The title color (Ionic color string).
7
+ * @property size - The title size ('small' | 'medium' | 'large' | 'xlarge').
8
+ * @property bold - Whether the title is bold.
9
+ * @property thin - Whether the title is thin (optional).
10
+ */
2
11
  export interface TitleMetadata {
3
12
  size: 'small' | 'medium' | 'large' | 'xlarge';
4
13
  color: Color;
@@ -2,6 +2,13 @@ import { OnInit } from '@angular/core';
2
2
  import { AlertBoxMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AlertBoxComponent implements OnInit {
5
+ /**
6
+ * Alert box configuration object.
7
+ * @type {AlertBoxMetadata}
8
+ * @property box - Box configuration (see BoxMetadata).
9
+ * @property icon - Icon configuration (see IconMetadata).
10
+ * @property text - Text configuration (see TextMetadata).
11
+ */
5
12
  props: AlertBoxMetadata;
6
13
  constructor();
7
14
  ngOnInit(): void;
@@ -2,7 +2,17 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ButtonGroupMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ButtonGroupComponent implements OnInit {
5
+ /**
6
+ * Button group configuration object.
7
+ * @type {ButtonGroupMetadata}
8
+ * @property buttons - Array of button configurations.
9
+ * @property position - Position of the button group ('center' | 'left' | 'right' | 'spaced').
10
+ * @property columned - Whether the buttons are displayed in a column.
11
+ */
5
12
  props: ButtonGroupMetadata;
13
+ /**
14
+ * Event emitted with the token of the clicked button.
15
+ */
6
16
  onClick: EventEmitter<string>;
7
17
  constructor();
8
18
  ngOnInit(): void;
@@ -1,4 +1,11 @@
1
1
  import { ButtonMetadata } from '../../types';
2
+ /**
3
+ * Props for val-button-group component.
4
+ *
5
+ * @property buttons - Array of button configurations.
6
+ * @property position - Position of the button group ('center' | 'left' | 'right' | 'spaced').
7
+ * @property columned - Whether the buttons are displayed in a column.
8
+ */
2
9
  export interface ButtonGroupMetadata {
3
10
  buttons: ButtonMetadata[];
4
11
  position: 'center' | 'left' | 'right' | 'spaced';
@@ -3,7 +3,21 @@ import { ToolbarActionType } from '../../types';
3
3
  import { CardClickEvent, CardMetadata, CardSection, CardType } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CardComponent implements OnInit {
6
+ /**
7
+ * Card configuration object.
8
+ * @type {CardMetadata}
9
+ * @property type - The card type (see CardType).
10
+ * @property title - The card title.
11
+ * @property image - The card image URL.
12
+ * @property content - The card content.
13
+ * @property actions - Array of action buttons (optional).
14
+ * @property sections - Custom card sections (optional).
15
+ * @property overtitle - Subtitle or overtitle (optional).
16
+ */
6
17
  props: CardMetadata;
18
+ /**
19
+ * Event emitted when the card or an action is clicked.
20
+ */
7
21
  onClick: EventEmitter<CardClickEvent>;
8
22
  types: typeof CardType;
9
23
  actionTypes: typeof ToolbarActionType;
@@ -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 CommentInputComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the textarea.
9
+ * @property range - The range object with max length.
10
+ */
5
11
  props: InputMetadata;
6
12
  constructor();
7
13
  ngOnInit(): void;
@@ -2,6 +2,14 @@ import { OnInit } from '@angular/core';
2
2
  import { ContentLoaderMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ContentLoaderComponent implements OnInit {
5
+ /**
6
+ * Loader configuration object.
7
+ * @type {ContentLoaderMetadata}
8
+ * @property size - The spinner size.
9
+ * @property color - The spinner color.
10
+ * @property text - The loading text (optional).
11
+ * @property name - The spinner name (optional).
12
+ */
5
13
  props: ContentLoaderMetadata;
6
14
  constructor();
7
15
  ngOnInit(): void;
@@ -1,4 +1,12 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Loader configuration object.
4
+ * @type {ContentLoaderMetadata}
5
+ * @property size - The spinner size.
6
+ * @property color - The spinner color.
7
+ * @property text - The loading text (optional).
8
+ * @property name - The spinner name (optional).
9
+ */
2
10
  export interface ContentLoaderMetadata {
3
11
  color: Color;
4
12
  size: 'small' | 'medium' | 'large';
@@ -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 DateInputComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the date input.
9
+ * @property hint - The hint text for the input.
10
+ */
5
11
  props: InputMetadata;
6
12
  constructor();
7
13
  ngOnInit(): void;
@@ -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 EmailInputComponent 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,6 +1,14 @@
1
1
  import { ExpandableTextInput } from './types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ExpandableTextComponent {
4
+ /**
5
+ * Expandable text configuration object.
6
+ * @type {ExpandableTextInput}
7
+ * @property content - The text content to display.
8
+ * @property limit - The character limit before truncation.
9
+ * @property color - The color for the "see more" link.
10
+ * @property expandText - The text for the expand link (optional).
11
+ */
4
12
  props: ExpandableTextInput;
5
13
  expanded: boolean;
6
14
  defaultColor: string;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Expandable text configuration object.
3
+ * @type {ExpandableTextInput}
4
+ * @property content - The text content to display.
5
+ * @property limit - The character limit before truncation.
6
+ * @property color - The color for the "see more" link.
7
+ * @property expandText - The text for the expand link (optional).
8
+ */
1
9
  export interface ExpandableTextInput {
2
10
  limit: number;
3
11
  content: string;
@@ -2,8 +2,13 @@ import { OnInit } from '@angular/core';
2
2
  import { ButtonMetadata, InputMetadata } from '../../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FileInputComponent implements OnInit {
5
- fileInput: any;
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the file input.
9
+ */
6
10
  props: InputMetadata;
11
+ fileInput: any;
7
12
  contrastButton: ButtonMetadata;
8
13
  selectedFile: File;
9
14
  constructor();
@@ -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 HintComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the input.
9
+ * @property errors - The error messages mapping.
10
+ */
5
11
  props: InputMetadata;
6
12
  constructor();
7
13
  ngOnInit(): void;
@@ -2,6 +2,11 @@ import { OnInit } from '@angular/core';
2
2
  import { InputMetadata } from '../../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class HourInputComponent implements OnInit {
5
+ /**
6
+ * Input configuration object.
7
+ * @type {InputMetadata}
8
+ * @property control - The Angular FormControl for the time input.
9
+ */
5
10
  props: InputMetadata;
6
11
  constructor();
7
12
  ngOnInit(): void;
@@ -3,6 +3,16 @@ import { NavigationService } from '../../../services/navigation.service';
3
3
  import { LinkMetadata } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class LinkComponent implements OnInit {
6
+ /**
7
+ * Link configuration object.
8
+ * @type {LinkMetadata}
9
+ * @property text - The link text.
10
+ * @property color - The button color (Ionic color string).
11
+ * @property link - The URL or route to navigate to.
12
+ * @property type - The navigation type ('internal', 'browse', 'tab').
13
+ * @property token - Optional token for event identification.
14
+ * @property size - The button size (optional).
15
+ */
6
16
  props: LinkMetadata;
7
17
  onClick: EventEmitter<string>;
8
18
  service: NavigationService;
@@ -1,4 +1,14 @@
1
1
  import { Color } from '@ionic/core';
2
+ /**
3
+ * Link configuration object.
4
+ * @type {LinkMetadata}
5
+ * @property text - The link text.
6
+ * @property color - The button color (Ionic color string).
7
+ * @property link - The URL or route to navigate to.
8
+ * @property type - The navigation type ('internal', 'browse', 'tab').
9
+ * @property token - Optional token for event identification.
10
+ * @property size - The button size (optional).
11
+ */
2
12
  export interface LinkMetadata {
3
13
  token?: string;
4
14
  text: string;
@@ -2,6 +2,13 @@ import { OnInit } from '@angular/core';
2
2
  import { LinkCakeMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class LinksCakeComponent implements OnInit {
5
+ /**
6
+ * Links cake configuration object.
7
+ * @type {LinkCakeMetadata}
8
+ * @property title - The title for the links section (optional).
9
+ * @property links - Array of link configurations.
10
+ * @property size - The size of the title and links.
11
+ */
5
12
  props: LinkCakeMetadata;
6
13
  constructor();
7
14
  ngOnInit(): void;
@@ -1,4 +1,11 @@
1
1
  import { HrefMetadata } from '../../atoms/href/types';
2
+ /**
3
+ * Props for val-links-cake component.
4
+ *
5
+ * @property title - The title for the links section (optional).
6
+ * @property links - Array of link configurations.
7
+ * @property size - The size of the title and links ('small' | 'medium' | 'large').
8
+ */
2
9
  export interface LinkCakeMetadata {
3
10
  title: string;
4
11
  links: HrefMetadata[];
@@ -2,6 +2,17 @@ import { OnInit } from '@angular/core';
2
2
  import { NotesBoxMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NotesBoxComponent implements OnInit {
5
+ /**
6
+ * Notes box configuration object.
7
+ * @type {NotesBoxMetadata}
8
+ * @property text - The main text content.
9
+ * @property prefix - Optional prefix text (bold).
10
+ * @property color - The background color of the box.
11
+ * @property textColor - The color of the text.
12
+ * @property size - The size of the text and box.
13
+ * @property rounded - Whether the box has rounded corners.
14
+ * @property padding - Custom padding for the box.
15
+ */
5
16
  props: NotesBoxMetadata;
6
17
  constructor();
7
18
  ngOnInit(): void;