@yomotech/view-toolkit 0.0.98 → 0.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yomotech/view-toolkit",
3
- "version": "0.0.98",
3
+ "version": "0.0.99",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",
@@ -414,6 +414,8 @@ interface CustomKeyboardSession {
414
414
  }
415
415
  declare class CustomKeyboardService {
416
416
  private openingSuspendedUntil;
417
+ private pickerOverlayOpen;
418
+ private pickerTriggerPressedUntil;
417
419
  readonly activeSession: i0.WritableSignal<CustomKeyboardSession | null>;
418
420
  isNativeMobile(): boolean;
419
421
  open(target: CustomKeyboardTarget, type: CustomKeyboardType): Promise<void>;
@@ -422,7 +424,10 @@ declare class CustomKeyboardService {
422
424
  insert(character: string): void;
423
425
  backspace(): void;
424
426
  clear(): void;
425
- close(): void;
427
+ close(options?: {
428
+ blurTarget?: boolean;
429
+ restoreAccessoryBar?: boolean;
430
+ }): void;
426
431
  closeIfTargetInside(container: HTMLElement): void;
427
432
  private updateTarget;
428
433
  private isValidValue;
@@ -431,11 +436,13 @@ declare class CustomKeyboardService {
431
436
  private readonly activeTargetBlurHandler;
432
437
  private handleDocumentPointerDown;
433
438
  private handleActiveTargetBlur;
434
- suspendOpening(durationMs?: number): void;
435
439
  private insertDateTimeDigit;
436
440
  private formatDateDigits;
437
441
  private formatTimeDigits;
438
442
  private removeDateTimeDigit;
443
+ beginPickerOverlay(): void;
444
+ endPickerOverlay(): void;
445
+ getActiveValue(type: CustomKeyboardType, targetName?: string): string | null;
439
446
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomKeyboardService, never>;
440
447
  static ɵprov: i0.ɵɵInjectableDeclaration<CustomKeyboardService>;
441
448
  }
@@ -460,6 +467,7 @@ declare class ModelComponent implements OnChanges {
460
467
  ngAfterViewInit(): void;
461
468
  ngOnChanges(changes: SimpleChanges): void;
462
469
  onCalendarShow(): Promise<void>;
470
+ onPickerClose(): void;
463
471
  private initializeDialogContent;
464
472
  private updateDialogHeader;
465
473
  updateLayoutLanguage<T>(schema: T, translations: Record<string, string>): T;
@@ -494,13 +502,15 @@ declare class ModelComponent implements OnChanges {
494
502
  };
495
503
  getSectionBodyStyle(formSection: any): Record<string, any>;
496
504
  getFieldWrapperStyle(formField: any): Record<string, any>;
497
- onTimePanelShow(formField: any, event: any): void;
505
+ onTimePanelShow(formField: any): void;
498
506
  getControlStyle(formField: any): Record<string, any>;
499
507
  getFieldInnerLayoutStyle(formField: any): Record<string, any>;
500
508
  dateChangeEvent(formField: any, value: any): void;
501
509
  onDateTyping(event: any): void;
502
510
  forceNumericKeyboard(event: any): void;
503
- onTimeTyping(event: any): void;
511
+ onTimeTyping(event: any, formField: any): void;
512
+ private getFieldValue;
513
+ private parseTimeValue;
504
514
  timeChangeEvent(formField: any, value: any): void;
505
515
  handleRules(formField: any, value: any): void;
506
516
  resetRule(rule: any, formField: any): void;