carriera-intern-components 1.1.153 → 1.1.154

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.
@@ -14,7 +14,7 @@ export declare class AvatarComponent {
14
14
  * The size of the avatar in pixels.
15
15
  * @type {Size}
16
16
  */
17
- size: import("@angular/core").InputSignal<18 | 22 | 32 | 74 | 160>;
17
+ size: import("@angular/core").InputSignal<22 | 18 | 32 | 74 | 160>;
18
18
  /**
19
19
  * Whether the avatar should be rounded or not at sizes of 74px and 160px.
20
20
  * @type {boolean}
@@ -165,4 +165,5 @@ export interface ICaInput {
165
165
  minutesGapFive?: boolean;
166
166
  updateAsTouchedOnEdit?: boolean;
167
167
  transparentInput?: boolean;
168
+ preventTyping?: boolean;
168
169
  }
@@ -4734,10 +4734,9 @@ class CaCustomDatetimePickersComponent {
4734
4734
  }
4735
4735
  setTimeValue() {
4736
4736
  const dateInputArray = moment(this.dateTime)
4737
- .format('H/mm/A')
4737
+ .format('h/mm/A')
4738
4738
  .split('/');
4739
- console.log(this.dateTime, 'this.dateTime', moment(this.dateTime)
4740
- .format('H/mm/A'), dateInputArray[2] === 'AM' ? 0 : 1);
4739
+ console.log(dateInputArray, 'this.inputConfig');
4741
4740
  setTimeout(() => {
4742
4741
  this.scrollTypes.hourScroll = this.hourTimes.indexOf(parseInt(dateInputArray[0]));
4743
4742
  this.scrollTypes.minutesScroll = this.timeMinutes.indexOf(dateInputArray[1]);
@@ -5553,7 +5552,8 @@ class CaiInputDatetimePickerComponent {
5553
5552
  }
5554
5553
  }
5555
5554
  }
5556
- else if (this.inputConfig.name === InputConfigNameStringEnum.TIME_PICKER) {
5555
+ else if (this.inputConfig.name === InputConfigNameStringEnum.TIME_PICKER &&
5556
+ !this.inputConfig.preventTyping) {
5557
5557
  // Handle time picker keyboard input
5558
5558
  if (this.selectionInput === 0) {
5559
5559
  // Hours input