@yomotech/view-toolkit 0.0.95 → 0.0.97
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,51 @@ 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
|
+
|
|
404
443
|
declare class ModelComponent implements OnChanges {
|
|
405
444
|
private cdr;
|
|
406
445
|
private readonly dialogRef;
|
|
407
446
|
private readonly dialogConfig;
|
|
408
447
|
private utilityService;
|
|
448
|
+
private readonly customKeyboardService;
|
|
409
449
|
matchData: any[];
|
|
410
450
|
date2: Date | undefined;
|
|
411
451
|
errorMessages: any;
|
|
@@ -416,7 +456,7 @@ declare class ModelComponent implements OnChanges {
|
|
|
416
456
|
copyLayoutSchema: any;
|
|
417
457
|
isLoading: boolean;
|
|
418
458
|
projectLanguage: any;
|
|
419
|
-
constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService);
|
|
459
|
+
constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService, customKeyboardService: CustomKeyboardService);
|
|
420
460
|
ngAfterViewInit(): void;
|
|
421
461
|
ngOnChanges(changes: SimpleChanges): void;
|
|
422
462
|
onCalendarShow(): Promise<void>;
|
|
@@ -470,6 +510,7 @@ declare class ModelComponent implements OnChanges {
|
|
|
470
510
|
invokeFormBtnClick(option: any, propertySchema: any, form: NgForm): void;
|
|
471
511
|
checkValidty(form: NgForm): boolean;
|
|
472
512
|
onCancel(): void;
|
|
513
|
+
handleDateTimeFocus(event: any, formField: any): void;
|
|
473
514
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModelComponent, never>;
|
|
474
515
|
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>;
|
|
475
516
|
}
|
|
@@ -735,39 +776,6 @@ declare class AppVersionResetService {
|
|
|
735
776
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppVersionResetService>;
|
|
736
777
|
}
|
|
737
778
|
|
|
738
|
-
type CustomKeyboardType = 'email' | 'numeric' | 'alpha' | 'string';
|
|
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
|
-
readonly activeSession: i0.WritableSignal<CustomKeyboardSession | null>;
|
|
751
|
-
isNativeMobile(): boolean;
|
|
752
|
-
open(target: CustomKeyboardTarget, type: CustomKeyboardType): Promise<void>;
|
|
753
|
-
private scrollTargetIntoDialogView;
|
|
754
|
-
private updateKeyboardHeight;
|
|
755
|
-
insert(character: string): void;
|
|
756
|
-
backspace(): void;
|
|
757
|
-
clear(): void;
|
|
758
|
-
close(): void;
|
|
759
|
-
closeIfTargetInside(container: HTMLElement): void;
|
|
760
|
-
private updateTarget;
|
|
761
|
-
private isValidValue;
|
|
762
|
-
private moveCursorToEnd;
|
|
763
|
-
private readonly documentPointerDownHandler;
|
|
764
|
-
private readonly activeTargetBlurHandler;
|
|
765
|
-
private handleDocumentPointerDown;
|
|
766
|
-
private handleActiveTargetBlur;
|
|
767
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomKeyboardService, never>;
|
|
768
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CustomKeyboardService>;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
779
|
declare class CustomKeyboardComponent {
|
|
772
780
|
readonly keyboard: CustomKeyboardService;
|
|
773
781
|
readonly uppercase: i0.WritableSignal<boolean>;
|