@yomotech/view-toolkit 1.0.1 → 1.0.2
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
|
@@ -401,11 +401,62 @@ 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
|
+
private pickerOverlayOpen;
|
|
418
|
+
private pickerTriggerPressedUntil;
|
|
419
|
+
readonly interactionBlocked: i0.WritableSignal<boolean>;
|
|
420
|
+
private interactionUnlockTimer;
|
|
421
|
+
readonly activeSession: i0.WritableSignal<CustomKeyboardSession | null>;
|
|
422
|
+
isNativeMobile(): boolean;
|
|
423
|
+
open(target: CustomKeyboardTarget, type: CustomKeyboardType): Promise<void>;
|
|
424
|
+
private blockInitialInteraction;
|
|
425
|
+
private scrollTargetIntoDialogView;
|
|
426
|
+
private updateKeyboardHeight;
|
|
427
|
+
private canProcessKeyboardAction;
|
|
428
|
+
insert(character: string): void;
|
|
429
|
+
backspace(): void;
|
|
430
|
+
clear(): void;
|
|
431
|
+
close(options?: {
|
|
432
|
+
blurTarget?: boolean;
|
|
433
|
+
restoreAccessoryBar?: boolean;
|
|
434
|
+
}): void;
|
|
435
|
+
closeIfTargetInside(container: HTMLElement): void;
|
|
436
|
+
private updateTarget;
|
|
437
|
+
private isValidValue;
|
|
438
|
+
private moveCursorToEnd;
|
|
439
|
+
private readonly documentPointerDownHandler;
|
|
440
|
+
private readonly activeTargetBlurHandler;
|
|
441
|
+
private handleDocumentPointerDown;
|
|
442
|
+
private handleActiveTargetBlur;
|
|
443
|
+
private insertDateTimeDigit;
|
|
444
|
+
private formatDateDigits;
|
|
445
|
+
private formatTimeDigits;
|
|
446
|
+
private removeDateTimeDigit;
|
|
447
|
+
beginPickerOverlay(): void;
|
|
448
|
+
endPickerOverlay(): void;
|
|
449
|
+
getActiveValue(type: CustomKeyboardType, targetName?: string): string | null;
|
|
450
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomKeyboardService, never>;
|
|
451
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomKeyboardService>;
|
|
452
|
+
}
|
|
453
|
+
|
|
404
454
|
declare class ModelComponent implements OnChanges {
|
|
405
455
|
private cdr;
|
|
406
456
|
private readonly dialogRef;
|
|
407
457
|
private readonly dialogConfig;
|
|
408
458
|
private utilityService;
|
|
459
|
+
private readonly customKeyboardService;
|
|
409
460
|
matchData: any[];
|
|
410
461
|
date2: Date | undefined;
|
|
411
462
|
errorMessages: any;
|
|
@@ -416,7 +467,7 @@ declare class ModelComponent implements OnChanges {
|
|
|
416
467
|
copyLayoutSchema: any;
|
|
417
468
|
isLoading: boolean;
|
|
418
469
|
projectLanguage: any;
|
|
419
|
-
constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService);
|
|
470
|
+
constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService, customKeyboardService: CustomKeyboardService);
|
|
420
471
|
ngAfterViewInit(): void;
|
|
421
472
|
ngOnChanges(changes: SimpleChanges): void;
|
|
422
473
|
onCalendarShow(): Promise<void>;
|
|
@@ -735,56 +786,6 @@ declare class AppVersionResetService {
|
|
|
735
786
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppVersionResetService>;
|
|
736
787
|
}
|
|
737
788
|
|
|
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 interactionBlocked: i0.WritableSignal<boolean>;
|
|
754
|
-
private interactionUnlockTimer;
|
|
755
|
-
readonly activeSession: i0.WritableSignal<CustomKeyboardSession | null>;
|
|
756
|
-
isNativeMobile(): boolean;
|
|
757
|
-
open(target: CustomKeyboardTarget, type: CustomKeyboardType): Promise<void>;
|
|
758
|
-
private blockInitialInteraction;
|
|
759
|
-
private scrollTargetIntoDialogView;
|
|
760
|
-
private updateKeyboardHeight;
|
|
761
|
-
private canProcessKeyboardAction;
|
|
762
|
-
insert(character: string): void;
|
|
763
|
-
backspace(): void;
|
|
764
|
-
clear(): void;
|
|
765
|
-
close(options?: {
|
|
766
|
-
blurTarget?: boolean;
|
|
767
|
-
restoreAccessoryBar?: boolean;
|
|
768
|
-
}): void;
|
|
769
|
-
closeIfTargetInside(container: HTMLElement): void;
|
|
770
|
-
private updateTarget;
|
|
771
|
-
private isValidValue;
|
|
772
|
-
private moveCursorToEnd;
|
|
773
|
-
private readonly documentPointerDownHandler;
|
|
774
|
-
private readonly activeTargetBlurHandler;
|
|
775
|
-
private handleDocumentPointerDown;
|
|
776
|
-
private handleActiveTargetBlur;
|
|
777
|
-
private insertDateTimeDigit;
|
|
778
|
-
private formatDateDigits;
|
|
779
|
-
private formatTimeDigits;
|
|
780
|
-
private removeDateTimeDigit;
|
|
781
|
-
beginPickerOverlay(): void;
|
|
782
|
-
endPickerOverlay(): void;
|
|
783
|
-
getActiveValue(type: CustomKeyboardType, targetName?: string): string | null;
|
|
784
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomKeyboardService, never>;
|
|
785
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CustomKeyboardService>;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
789
|
declare class CustomKeyboardComponent {
|
|
789
790
|
readonly keyboard: CustomKeyboardService;
|
|
790
791
|
readonly uppercase: i0.WritableSignal<boolean>;
|