@yomotech/view-toolkit 0.0.98 → 1.0.0

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": "1.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",
@@ -401,51 +401,11 @@ declare class LogsComponent {
401
401
  static ɵcmp: i0.ɵɵComponentDeclaration<LogsComponent, "vl-logs", never, {}, {}, never, never, true, never>;
402
402
  }
403
403
 
404
- type CustomKeyboardType = 'email' | 'numeric' | 'alpha' | 'string' | 'date' | 'time';
405
- declare function normalizeCustomKeyboardType(value: unknown): CustomKeyboardType | null;
406
-
407
- type CustomKeyboardTarget = HTMLInputElement | HTMLTextAreaElement;
408
- interface CustomKeyboardSession {
409
- target: CustomKeyboardTarget;
410
- type: CustomKeyboardType;
411
- originalReadOnly: boolean;
412
- originalInputMode: string | null;
413
- originalInputType: string | null;
414
- }
415
- declare class CustomKeyboardService {
416
- private openingSuspendedUntil;
417
- readonly activeSession: i0.WritableSignal<CustomKeyboardSession | null>;
418
- isNativeMobile(): boolean;
419
- open(target: CustomKeyboardTarget, type: CustomKeyboardType): Promise<void>;
420
- private scrollTargetIntoDialogView;
421
- private updateKeyboardHeight;
422
- insert(character: string): void;
423
- backspace(): void;
424
- clear(): void;
425
- close(): void;
426
- closeIfTargetInside(container: HTMLElement): void;
427
- private updateTarget;
428
- private isValidValue;
429
- private moveCursorToEnd;
430
- private readonly documentPointerDownHandler;
431
- private readonly activeTargetBlurHandler;
432
- private handleDocumentPointerDown;
433
- private handleActiveTargetBlur;
434
- suspendOpening(durationMs?: number): void;
435
- private insertDateTimeDigit;
436
- private formatDateDigits;
437
- private formatTimeDigits;
438
- private removeDateTimeDigit;
439
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomKeyboardService, never>;
440
- static ɵprov: i0.ɵɵInjectableDeclaration<CustomKeyboardService>;
441
- }
442
-
443
404
  declare class ModelComponent implements OnChanges {
444
405
  private cdr;
445
406
  private readonly dialogRef;
446
407
  private readonly dialogConfig;
447
408
  private utilityService;
448
- private readonly customKeyboardService;
449
409
  matchData: any[];
450
410
  date2: Date | undefined;
451
411
  errorMessages: any;
@@ -456,7 +416,7 @@ declare class ModelComponent implements OnChanges {
456
416
  copyLayoutSchema: any;
457
417
  isLoading: boolean;
458
418
  projectLanguage: any;
459
- constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService, customKeyboardService: CustomKeyboardService);
419
+ constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService);
460
420
  ngAfterViewInit(): void;
461
421
  ngOnChanges(changes: SimpleChanges): void;
462
422
  onCalendarShow(): Promise<void>;
@@ -510,7 +470,6 @@ declare class ModelComponent implements OnChanges {
510
470
  invokeFormBtnClick(option: any, propertySchema: any, form: NgForm): void;
511
471
  checkValidty(form: NgForm): boolean;
512
472
  onCancel(): void;
513
- handleDateTimeFocus(event: any, formField: any): void;
514
473
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelComponent, never>;
515
474
  static ɵcmp: i0.ɵɵComponentDeclaration<ModelComponent, "vl-model", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "modalItemInfo": { "alias": "modalItemInfo"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "setFormDataHandler": { "alias": "setFormDataHandler"; "required": false; }; }, {}, never, never, true, never>;
516
475
  }
@@ -776,6 +735,52 @@ declare class AppVersionResetService {
776
735
  static ɵprov: i0.ɵɵInjectableDeclaration<AppVersionResetService>;
777
736
  }
778
737
 
738
+ type CustomKeyboardType = 'email' | 'numeric' | 'alpha' | 'string' | 'date' | 'time';
739
+ declare function normalizeCustomKeyboardType(value: unknown): CustomKeyboardType | null;
740
+
741
+ type CustomKeyboardTarget = HTMLInputElement | HTMLTextAreaElement;
742
+ interface CustomKeyboardSession {
743
+ target: CustomKeyboardTarget;
744
+ type: CustomKeyboardType;
745
+ originalReadOnly: boolean;
746
+ originalInputMode: string | null;
747
+ originalInputType: string | null;
748
+ }
749
+ declare class CustomKeyboardService {
750
+ private openingSuspendedUntil;
751
+ private pickerOverlayOpen;
752
+ private pickerTriggerPressedUntil;
753
+ readonly activeSession: i0.WritableSignal<CustomKeyboardSession | null>;
754
+ isNativeMobile(): boolean;
755
+ open(target: CustomKeyboardTarget, type: CustomKeyboardType): Promise<void>;
756
+ private scrollTargetIntoDialogView;
757
+ private updateKeyboardHeight;
758
+ insert(character: string): void;
759
+ backspace(): void;
760
+ clear(): void;
761
+ close(options?: {
762
+ blurTarget?: boolean;
763
+ restoreAccessoryBar?: boolean;
764
+ }): void;
765
+ closeIfTargetInside(container: HTMLElement): void;
766
+ private updateTarget;
767
+ private isValidValue;
768
+ private moveCursorToEnd;
769
+ private readonly documentPointerDownHandler;
770
+ private readonly activeTargetBlurHandler;
771
+ private handleDocumentPointerDown;
772
+ private handleActiveTargetBlur;
773
+ private insertDateTimeDigit;
774
+ private formatDateDigits;
775
+ private formatTimeDigits;
776
+ private removeDateTimeDigit;
777
+ beginPickerOverlay(): void;
778
+ endPickerOverlay(): void;
779
+ getActiveValue(type: CustomKeyboardType, targetName?: string): string | null;
780
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomKeyboardService, never>;
781
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomKeyboardService>;
782
+ }
783
+
779
784
  declare class CustomKeyboardComponent {
780
785
  readonly keyboard: CustomKeyboardService;
781
786
  readonly uppercase: i0.WritableSignal<boolean>;