@rlucan/ui 14.2.6 → 16.2.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.
Files changed (79) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/action-button/action-button.component.mjs +99 -99
  3. package/esm2022/lib/action-icon/action-icon.component.mjs +36 -36
  4. package/esm2022/lib/autocomplete/autocomplete.component.mjs +390 -390
  5. package/esm2022/lib/avatar/avatar.component.mjs +34 -34
  6. package/esm2022/lib/button/button.component.mjs +56 -56
  7. package/esm2022/lib/checkbox/checkbox.component.mjs +38 -38
  8. package/esm2022/lib/checkbox-group/checkbox-group.component.mjs +90 -90
  9. package/esm2022/lib/currency/currency.component.mjs +150 -150
  10. package/esm2022/lib/date/date.component.mjs +67 -67
  11. package/esm2022/lib/dialog/dialog.component.mjs +36 -36
  12. package/esm2022/lib/directives/force-visibility/force-visibility.directive.mjs +104 -104
  13. package/esm2022/lib/editor/editor.component.mjs +118 -118
  14. package/esm2022/lib/elements/burger/burger.component.mjs +20 -20
  15. package/esm2022/lib/elements/expander/expander.component.mjs +27 -27
  16. package/esm2022/lib/elements/validation-message/validation-message.component.mjs +46 -46
  17. package/esm2022/lib/file/file.component.mjs +144 -144
  18. package/esm2022/lib/file-uploader/ui-file-uploader.component.mjs +404 -404
  19. package/esm2022/lib/input/input.component.mjs +264 -264
  20. package/esm2022/lib/input-autocomplete/input-autocomplete.component.mjs +276 -276
  21. package/esm2022/lib/layouts/base/ui-base-layout.component.mjs +21 -21
  22. package/esm2022/lib/layouts/base/ui-base.component.mjs +73 -73
  23. package/esm2022/lib/layouts/simple/ui-simple-layout.component.mjs +17 -17
  24. package/esm2022/lib/layouts/simple/ui-simple.component.mjs +165 -165
  25. package/esm2022/lib/radio/radio.component.mjs +20 -20
  26. package/esm2022/lib/radio-group/radio-group.component.mjs +53 -53
  27. package/esm2022/lib/select/select.component.mjs +126 -115
  28. package/esm2022/lib/services/message-box.service.mjs +110 -110
  29. package/esm2022/lib/services/toast.service.mjs +23 -23
  30. package/esm2022/lib/services/ui-file.service.mjs +70 -70
  31. package/esm2022/lib/services/ui-translate.service.mjs +31 -31
  32. package/esm2022/lib/submit-button/submit-button.component.mjs +71 -71
  33. package/esm2022/lib/table/table.component.mjs +97 -97
  34. package/esm2022/lib/text-area/text-area.component.mjs +45 -45
  35. package/esm2022/lib/ui.model.mjs +1 -1
  36. package/esm2022/lib/ui.module.mjs +268 -268
  37. package/esm2022/public-api.mjs +34 -34
  38. package/esm2022/rlucan-ui.mjs +4 -4
  39. package/fesm2022/rlucan-ui.mjs +3285 -3274
  40. package/fesm2022/rlucan-ui.mjs.map +1 -1
  41. package/index.d.ts +5 -5
  42. package/lib/action-button/action-button.component.d.ts +28 -32
  43. package/lib/action-icon/action-icon.component.d.ts +15 -15
  44. package/lib/autocomplete/autocomplete.component.d.ts +57 -57
  45. package/lib/avatar/avatar.component.d.ts +14 -14
  46. package/lib/button/button.component.d.ts +18 -18
  47. package/lib/checkbox/checkbox.component.d.ts +15 -15
  48. package/lib/checkbox-group/checkbox-group.component.d.ts +18 -18
  49. package/lib/currency/currency.component.d.ts +31 -31
  50. package/lib/date/date.component.d.ts +24 -24
  51. package/lib/dialog/dialog.component.d.ts +13 -13
  52. package/lib/directives/force-visibility/force-visibility.directive.d.ts +22 -22
  53. package/lib/editor/editor.component.d.ts +24 -24
  54. package/lib/elements/burger/burger.component.d.ts +9 -9
  55. package/lib/elements/expander/expander.component.d.ts +10 -10
  56. package/lib/elements/validation-message/validation-message.component.d.ts +12 -12
  57. package/lib/file/file.component.d.ts +35 -35
  58. package/lib/file-uploader/ui-file-uploader.component.d.ts +102 -102
  59. package/lib/input/input.component.d.ts +42 -42
  60. package/lib/input-autocomplete/input-autocomplete.component.d.ts +44 -44
  61. package/lib/layouts/base/ui-base-layout.component.d.ts +8 -8
  62. package/lib/layouts/base/ui-base.component.d.ts +23 -23
  63. package/lib/layouts/simple/ui-simple-layout.component.d.ts +8 -8
  64. package/lib/layouts/simple/ui-simple.component.d.ts +40 -40
  65. package/lib/radio/radio.component.d.ts +8 -8
  66. package/lib/radio-group/radio-group.component.d.ts +18 -18
  67. package/lib/select/select.component.d.ts +37 -35
  68. package/lib/services/message-box.service.d.ts +58 -58
  69. package/lib/services/toast.service.d.ts +13 -13
  70. package/lib/services/ui-file.service.d.ts +33 -33
  71. package/lib/services/ui-translate.service.d.ts +11 -11
  72. package/lib/submit-button/submit-button.component.d.ts +21 -21
  73. package/lib/table/table.component.d.ts +36 -36
  74. package/lib/text-area/text-area.component.d.ts +18 -18
  75. package/lib/ui.model.d.ts +2 -2
  76. package/lib/ui.module.d.ts +59 -59
  77. package/package.json +1 -1
  78. package/public-api.d.ts +29 -29
  79. package/src/js/editorjs.mjs +9634 -9634
@@ -1,10 +1,10 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ExpanderComponent implements OnInit {
4
- expanded: boolean;
5
- direction: 'right-down' | 'up-down';
6
- constructor();
7
- ngOnInit(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ExpanderComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpanderComponent, "ui-expander", never, { "expanded": { "alias": "expanded"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
10
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ExpanderComponent implements OnInit {
4
+ expanded: boolean;
5
+ direction: 'right-down' | 'up-down';
6
+ constructor();
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpanderComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpanderComponent, "ui-expander", never, { "expanded": { "alias": "expanded"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -1,12 +1,12 @@
1
- import { OnInit } from '@angular/core';
2
- import { IUiTranslateService } from '../../services/ui-translate.service';
3
- import * as i0 from "@angular/core";
4
- export declare class ValidationMessageComponent implements OnInit {
5
- protected translateService: IUiTranslateService;
6
- validationErrors: any;
7
- constructor(translateService: IUiTranslateService);
8
- ngOnInit(): void;
9
- get errorMessage(): string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "ui-validation-message", never, { "validationErrors": { "alias": "validationErrors"; "required": false; }; }, {}, never, never, false, never>;
12
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { IUiTranslateService } from '../../services/ui-translate.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ValidationMessageComponent implements OnInit {
5
+ protected translateService: IUiTranslateService;
6
+ validationErrors: any;
7
+ constructor(translateService: IUiTranslateService);
8
+ ngOnInit(): void;
9
+ get errorMessage(): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "ui-validation-message", never, { "validationErrors": { "alias": "validationErrors"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -1,35 +1,35 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { IUiFileService, UiFileService } from '../services/ui-file.service';
3
- import { DomSanitizer } from '@angular/platform-browser';
4
- import * as i0 from "@angular/core";
5
- export declare class FileComponent implements OnInit, OnChanges {
6
- private fileServiceConfig;
7
- private domSanitizer;
8
- private fileService;
9
- fileSize: string;
10
- srcOptions: any;
11
- srcData: any;
12
- srcUrl: {
13
- src: string;
14
- mimeType?: string;
15
- };
16
- get fitImageFileSize(): boolean;
17
- visible: boolean;
18
- src: any;
19
- srcUrlMimeType: any;
20
- nativeFileSizeRatio: number;
21
- nativeFileWidth: any;
22
- nativeFileHeight: any;
23
- get width(): string;
24
- get maxWidth(): string;
25
- get height(): string;
26
- get maxHeight(): string;
27
- get isVideo(): any;
28
- get mime(): any;
29
- get useRetinaSrc(): boolean;
30
- constructor(fileServiceConfig: IUiFileService, domSanitizer: DomSanitizer, fileService: UiFileService);
31
- ngOnInit(): void;
32
- ngOnChanges(changes: SimpleChanges): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, [{ optional: true; }, null, null]>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "ui-file", never, { "fileSize": { "alias": "fileSize"; "required": false; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "srcData": { "alias": "srcData"; "required": false; }; "srcUrl": { "alias": "srcUrl"; "required": false; }; }, {}, never, never, false, never>;
35
- }
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { IUiFileService, UiFileService } from '../services/ui-file.service';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FileComponent implements OnInit, OnChanges {
6
+ private fileServiceConfig;
7
+ private domSanitizer;
8
+ private fileService;
9
+ fileSize: string;
10
+ srcOptions: any;
11
+ srcData: any;
12
+ srcUrl: {
13
+ src: string;
14
+ mimeType?: string;
15
+ };
16
+ get fitImageFileSize(): boolean;
17
+ visible: boolean;
18
+ src: any;
19
+ srcUrlMimeType: any;
20
+ nativeFileSizeRatio: number;
21
+ nativeFileWidth: any;
22
+ nativeFileHeight: any;
23
+ get width(): string;
24
+ get maxWidth(): string;
25
+ get height(): string;
26
+ get maxHeight(): string;
27
+ get isVideo(): any;
28
+ get mime(): any;
29
+ get useRetinaSrc(): boolean;
30
+ constructor(fileServiceConfig: IUiFileService, domSanitizer: DomSanitizer, fileService: UiFileService);
31
+ ngOnInit(): void;
32
+ ngOnChanges(changes: SimpleChanges): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, [{ optional: true; }, null, null]>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "ui-file", never, { "fileSize": { "alias": "fileSize"; "required": false; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "srcData": { "alias": "srcData"; "required": false; }; "srcUrl": { "alias": "srcUrl"; "required": false; }; }, {}, never, never, false, never>;
35
+ }
@@ -1,102 +1,102 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlContainer } from '@angular/forms';
3
- import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
4
- import { IUiFileService, IUiFileServiceMessages, UiFileService } from '../services/ui-file.service';
5
- import { Dimensions, ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper';
6
- import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
7
- import { IUiTranslateService } from '../services/ui-translate.service';
8
- import * as i0 from "@angular/core";
9
- export interface UploadOutputEx extends UploadOutput {
10
- file: UploadFileEx;
11
- }
12
- export interface UploadFileEx extends UploadFile {
13
- imagePreview?: any;
14
- base64?: any;
15
- }
16
- export interface IUiUploaderUserMessage {
17
- message: IUiFileServiceMessages;
18
- data: any;
19
- }
20
- export declare class UiFileUploaderComponent extends UiSimpleComponent implements OnInit, OnDestroy {
21
- private fileServiceConfig;
22
- translateService: IUiTranslateService;
23
- protected controlContainer: ControlContainer;
24
- private fileService;
25
- maxFiles: number;
26
- multiple: boolean;
27
- crop: boolean;
28
- cropRounded: boolean;
29
- cropMaxWidth: any;
30
- fileSize: string;
31
- customFileMenu: boolean;
32
- addHint: any;
33
- newFilePosition: 'first' | 'last';
34
- templates: {
35
- menuTemplate?: any;
36
- addFileTemplate?: any;
37
- fileTemplate?: any;
38
- };
39
- get menuTemplate(): any;
40
- get addFileTemplate(): any;
41
- get fileTemplate(): any;
42
- previewPosition: 'left' | 'bottom' | 'above';
43
- imageCropped: EventEmitter<any>;
44
- fileEvent: EventEmitter<IUiUploaderUserMessage>;
45
- uploadOptions: UploaderOptions;
46
- uploading: boolean;
47
- changeFileIndex: any;
48
- showCropper: boolean;
49
- menuVisible: any;
50
- showCropPreview: {};
51
- cropPreviewTimeouts: {};
52
- cropSourceImages: {};
53
- cropperImageLoaded: {};
54
- imagesDone: {};
55
- transform: ImageTransform;
56
- canvasRotation: {};
57
- files: {
58
- custom?: any;
59
- $newFile?: UploadFile;
60
- }[];
61
- responseFiles: any;
62
- refreshAddInput: boolean;
63
- fileMenuOpened: any;
64
- patchingValues: boolean;
65
- inputArray: boolean;
66
- dragging: boolean;
67
- uploaderId: number;
68
- constructor(fileServiceConfig: IUiFileService, translateService: IUiTranslateService, controlContainer: ControlContainer, fileService: UiFileService);
69
- get uploadInput(): EventEmitter<UploadInput>;
70
- croppedImages: {};
71
- get editable(): boolean;
72
- get ngAddStyle(): {
73
- width: string;
74
- height: string;
75
- };
76
- get aspectRatio(): number;
77
- get addFileImgSrc(): string;
78
- cropDone(f: any): any;
79
- ngOnDestroy(): void;
80
- remove(f: any): void;
81
- patchValues(): void;
82
- get hasFilesToUpload(): boolean;
83
- canImagePreview(type: string): boolean;
84
- onUploadOutput($event: UploadOutput, skipCustomValidation?: boolean): void;
85
- prepareResponse(doemit?: boolean): void;
86
- beforeSave(): Promise<unknown>;
87
- fileChangeEvent(event: any, f: any): void;
88
- startCropPreview(id: any): void;
89
- stopCropPreview(id: any): void;
90
- zoomCroppedImage(dir: any, id: any): void;
91
- rotateCroppedImage(dir: any, id: any): void;
92
- onImageCropped(event: ImageCroppedEvent, id: any): void;
93
- imageLoaded(id: any): void;
94
- cropperReady(sourceImageDimensions: Dimensions, id: any): void;
95
- loadImageFailed(): void;
96
- toggleMenuVisibility(f: any): void;
97
- menuClick(): void;
98
- writeValue(obj: any): void;
99
- cropperDone(id: any): void;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<UiFileUploaderComponent, [{ optional: true; }, null, { optional: true; host: true; skipSelf: true; }, null]>;
101
- static ɵcmp: i0.ɵɵComponentDeclaration<UiFileUploaderComponent, "ui-file-uploader", never, { "maxFiles": { "alias": "maxFiles"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "crop": { "alias": "crop"; "required": false; }; "cropRounded": { "alias": "cropRounded"; "required": false; }; "cropMaxWidth": { "alias": "cropMaxWidth"; "required": false; }; "fileSize": { "alias": "fileSize"; "required": false; }; "customFileMenu": { "alias": "customFileMenu"; "required": false; }; "addHint": { "alias": "addHint"; "required": false; }; "newFilePosition": { "alias": "newFilePosition"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; "previewPosition": { "alias": "previewPosition"; "required": false; }; }, { "imageCropped": "imageCropped"; "fileEvent": "fileEvent"; }, never, never, false, never>;
102
- }
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ControlContainer } from '@angular/forms';
3
+ import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
4
+ import { IUiFileService, IUiFileServiceMessages, UiFileService } from '../services/ui-file.service';
5
+ import { Dimensions, ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper';
6
+ import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
7
+ import { IUiTranslateService } from '../services/ui-translate.service';
8
+ import * as i0 from "@angular/core";
9
+ export interface UploadOutputEx extends UploadOutput {
10
+ file: UploadFileEx;
11
+ }
12
+ export interface UploadFileEx extends UploadFile {
13
+ imagePreview?: any;
14
+ base64?: any;
15
+ }
16
+ export interface IUiUploaderUserMessage {
17
+ message: IUiFileServiceMessages;
18
+ data: any;
19
+ }
20
+ export declare class UiFileUploaderComponent extends UiSimpleComponent implements OnInit, OnDestroy {
21
+ private fileServiceConfig;
22
+ translateService: IUiTranslateService;
23
+ protected controlContainer: ControlContainer;
24
+ private fileService;
25
+ maxFiles: number;
26
+ multiple: boolean;
27
+ crop: boolean;
28
+ cropRounded: boolean;
29
+ cropMaxWidth: any;
30
+ fileSize: string;
31
+ customFileMenu: boolean;
32
+ addHint: any;
33
+ newFilePosition: 'first' | 'last';
34
+ templates: {
35
+ menuTemplate?: any;
36
+ addFileTemplate?: any;
37
+ fileTemplate?: any;
38
+ };
39
+ get menuTemplate(): any;
40
+ get addFileTemplate(): any;
41
+ get fileTemplate(): any;
42
+ previewPosition: 'left' | 'bottom' | 'above';
43
+ imageCropped: EventEmitter<any>;
44
+ fileEvent: EventEmitter<IUiUploaderUserMessage>;
45
+ uploadOptions: UploaderOptions;
46
+ uploading: boolean;
47
+ changeFileIndex: any;
48
+ showCropper: boolean;
49
+ menuVisible: any;
50
+ showCropPreview: {};
51
+ cropPreviewTimeouts: {};
52
+ cropSourceImages: {};
53
+ cropperImageLoaded: {};
54
+ imagesDone: {};
55
+ transform: ImageTransform;
56
+ canvasRotation: {};
57
+ files: {
58
+ custom?: any;
59
+ $newFile?: UploadFile;
60
+ }[];
61
+ responseFiles: any;
62
+ refreshAddInput: boolean;
63
+ fileMenuOpened: any;
64
+ patchingValues: boolean;
65
+ inputArray: boolean;
66
+ dragging: boolean;
67
+ uploaderId: number;
68
+ constructor(fileServiceConfig: IUiFileService, translateService: IUiTranslateService, controlContainer: ControlContainer, fileService: UiFileService);
69
+ get uploadInput(): EventEmitter<UploadInput>;
70
+ croppedImages: {};
71
+ get editable(): boolean;
72
+ get ngAddStyle(): {
73
+ width: string;
74
+ height: string;
75
+ };
76
+ get aspectRatio(): number;
77
+ get addFileImgSrc(): string;
78
+ cropDone(f: any): any;
79
+ ngOnDestroy(): void;
80
+ remove(f: any): void;
81
+ patchValues(): void;
82
+ get hasFilesToUpload(): boolean;
83
+ canImagePreview(type: string): boolean;
84
+ onUploadOutput($event: UploadOutput, skipCustomValidation?: boolean): void;
85
+ prepareResponse(doemit?: boolean): void;
86
+ beforeSave(): Promise<unknown>;
87
+ fileChangeEvent(event: any, f: any): void;
88
+ startCropPreview(id: any): void;
89
+ stopCropPreview(id: any): void;
90
+ zoomCroppedImage(dir: any, id: any): void;
91
+ rotateCroppedImage(dir: any, id: any): void;
92
+ onImageCropped(event: ImageCroppedEvent, id: any): void;
93
+ imageLoaded(id: any): void;
94
+ cropperReady(sourceImageDimensions: Dimensions, id: any): void;
95
+ loadImageFailed(): void;
96
+ toggleMenuVisibility(f: any): void;
97
+ menuClick(): void;
98
+ writeValue(obj: any): void;
99
+ cropperDone(id: any): void;
100
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiFileUploaderComponent, [{ optional: true; }, null, { optional: true; host: true; skipSelf: true; }, null]>;
101
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiFileUploaderComponent, "ui-file-uploader", never, { "maxFiles": { "alias": "maxFiles"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "crop": { "alias": "crop"; "required": false; }; "cropRounded": { "alias": "cropRounded"; "required": false; }; "cropMaxWidth": { "alias": "cropMaxWidth"; "required": false; }; "fileSize": { "alias": "fileSize"; "required": false; }; "customFileMenu": { "alias": "customFileMenu"; "required": false; }; "addHint": { "alias": "addHint"; "required": false; }; "newFilePosition": { "alias": "newFilePosition"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; "previewPosition": { "alias": "previewPosition"; "required": false; }; }, { "imageCropped": "imageCropped"; "fileEvent": "fileEvent"; }, never, never, false, never>;
102
+ }
@@ -1,42 +1,42 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlContainer, ValidationErrors } from '@angular/forms';
3
- import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
4
- import * as i0 from "@angular/core";
5
- type PrefixSuffix = {
6
- icon: string;
7
- tooltip?: string;
8
- };
9
- export declare class InputComponent extends UiSimpleComponent implements OnInit {
10
- protected controlContainer: ControlContainer;
11
- prefixIcon: PrefixSuffix;
12
- suffixIcon: PrefixSuffix;
13
- type: 'text' | 'number' | 'password';
14
- clearButton: boolean;
15
- activeIcons: boolean;
16
- forceHasPrefix: boolean;
17
- forceHasSuffix: boolean;
18
- get textAlignClass(): string;
19
- textAlign: 'left' | 'center' | 'right';
20
- input: ElementRef | undefined;
21
- prefix: ElementRef | undefined;
22
- suffix: ElementRef | undefined;
23
- focusChanged: EventEmitter<boolean>;
24
- keyPressed: EventEmitter<KeyboardEvent>;
25
- get hasPrefix(): boolean;
26
- get hasSuffix(): boolean;
27
- required: boolean;
28
- hasFocus: boolean;
29
- value: string;
30
- get maxLenRequired(): boolean;
31
- constructor(controlContainer: ControlContainer);
32
- get showClearButton(): boolean;
33
- ngOnInit(): void;
34
- clearValue(): void;
35
- focus(): void;
36
- onFocus(focus: boolean): void;
37
- onKeypressed($event: any): void;
38
- validate(control: AbstractControl): ValidationErrors | null;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; host: true; skipSelf: true; }]>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ui-input", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
41
- }
42
- export {};
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { AbstractControl, ControlContainer, ValidationErrors } from '@angular/forms';
3
+ import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
4
+ import * as i0 from "@angular/core";
5
+ type PrefixSuffix = {
6
+ icon: string;
7
+ tooltip?: string;
8
+ };
9
+ export declare class InputComponent extends UiSimpleComponent implements OnInit {
10
+ protected controlContainer: ControlContainer;
11
+ prefixIcon: PrefixSuffix;
12
+ suffixIcon: PrefixSuffix;
13
+ type: 'text' | 'number' | 'password';
14
+ clearButton: boolean;
15
+ activeIcons: boolean;
16
+ forceHasPrefix: boolean;
17
+ forceHasSuffix: boolean;
18
+ get textAlignClass(): string;
19
+ textAlign: 'left' | 'center' | 'right';
20
+ input: ElementRef | undefined;
21
+ prefix: ElementRef | undefined;
22
+ suffix: ElementRef | undefined;
23
+ focusChanged: EventEmitter<boolean>;
24
+ keyPressed: EventEmitter<KeyboardEvent>;
25
+ get hasPrefix(): boolean;
26
+ get hasSuffix(): boolean;
27
+ required: boolean;
28
+ hasFocus: boolean;
29
+ value: string;
30
+ get maxLenRequired(): boolean;
31
+ constructor(controlContainer: ControlContainer);
32
+ get showClearButton(): boolean;
33
+ ngOnInit(): void;
34
+ clearValue(): void;
35
+ focus(): void;
36
+ onFocus(focus: boolean): void;
37
+ onKeypressed($event: any): void;
38
+ validate(control: AbstractControl): ValidationErrors | null;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; host: true; skipSelf: true; }]>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ui-input", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
41
+ }
42
+ export {};
@@ -1,44 +1,44 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlContainer, ValidationErrors } from '@angular/forms';
3
- import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
4
- import * as i0 from "@angular/core";
5
- type PrefixSuffix = {
6
- icon: string;
7
- tooltip?: string;
8
- };
9
- export declare class InputAutocompleteComponent extends UiSimpleComponent implements OnInit {
10
- protected controlContainer: ControlContainer;
11
- prefixIcon: PrefixSuffix;
12
- suffixIcon: PrefixSuffix;
13
- type: 'text' | 'number' | 'password';
14
- clearButton: boolean;
15
- activeIcons: boolean;
16
- forceHasPrefix: boolean;
17
- forceHasSuffix: boolean;
18
- options: any[];
19
- get textAlignClass(): string;
20
- textAlign: 'left' | 'center' | 'right';
21
- input: ElementRef | undefined;
22
- prefix: ElementRef | undefined;
23
- suffix: ElementRef | undefined;
24
- focusChanged: EventEmitter<boolean>;
25
- keyPressed: EventEmitter<KeyboardEvent>;
26
- get hasPrefix(): boolean;
27
- get hasSuffix(): boolean;
28
- filteredOptions: any[];
29
- required: boolean;
30
- hasFocus: boolean;
31
- value: string;
32
- get maxLenRequired(): boolean;
33
- constructor(controlContainer: ControlContainer);
34
- get showClearButton(): boolean;
35
- ngOnInit(): void;
36
- clearValue(): void;
37
- focus(): void;
38
- onFocus(focus: boolean): void;
39
- onKeypressed($event: any): void;
40
- validate(control: AbstractControl): ValidationErrors | null;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<InputAutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }]>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<InputAutocompleteComponent, "ui-input-autocomplete", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
43
- }
44
- export {};
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { AbstractControl, ControlContainer, ValidationErrors } from '@angular/forms';
3
+ import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
4
+ import * as i0 from "@angular/core";
5
+ type PrefixSuffix = {
6
+ icon: string;
7
+ tooltip?: string;
8
+ };
9
+ export declare class InputAutocompleteComponent extends UiSimpleComponent implements OnInit {
10
+ protected controlContainer: ControlContainer;
11
+ prefixIcon: PrefixSuffix;
12
+ suffixIcon: PrefixSuffix;
13
+ type: 'text' | 'number' | 'password';
14
+ clearButton: boolean;
15
+ activeIcons: boolean;
16
+ forceHasPrefix: boolean;
17
+ forceHasSuffix: boolean;
18
+ options: any[];
19
+ get textAlignClass(): string;
20
+ textAlign: 'left' | 'center' | 'right';
21
+ input: ElementRef | undefined;
22
+ prefix: ElementRef | undefined;
23
+ suffix: ElementRef | undefined;
24
+ focusChanged: EventEmitter<boolean>;
25
+ keyPressed: EventEmitter<KeyboardEvent>;
26
+ get hasPrefix(): boolean;
27
+ get hasSuffix(): boolean;
28
+ filteredOptions: any[];
29
+ required: boolean;
30
+ hasFocus: boolean;
31
+ value: string;
32
+ get maxLenRequired(): boolean;
33
+ constructor(controlContainer: ControlContainer);
34
+ get showClearButton(): boolean;
35
+ ngOnInit(): void;
36
+ clearValue(): void;
37
+ focus(): void;
38
+ onFocus(focus: boolean): void;
39
+ onKeypressed($event: any): void;
40
+ validate(control: AbstractControl): ValidationErrors | null;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputAutocompleteComponent, "ui-input-autocomplete", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
43
+ }
44
+ export {};
@@ -1,8 +1,8 @@
1
- import { UiBaseComponent } from './ui-base.component';
2
- import * as i0 from "@angular/core";
3
- export declare class UiBaseLayoutComponent {
4
- ctx: UiBaseComponent;
5
- get class(): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseLayoutComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseLayoutComponent, "ui-base-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, [".counter-top", "*", ".counter-bottom"], false, never>;
8
- }
1
+ import { UiBaseComponent } from './ui-base.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UiBaseLayoutComponent {
4
+ ctx: UiBaseComponent;
5
+ get class(): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseLayoutComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseLayoutComponent, "ui-base-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, [".counter-top", "*", ".counter-bottom"], false, never>;
8
+ }
@@ -1,23 +1,23 @@
1
- import { OnInit } from '@angular/core';
2
- import { ValidationErrors } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export interface UiValidators {
5
- required?: boolean;
6
- maxLength?: number;
7
- }
8
- export declare abstract class UiBaseComponent implements OnInit {
9
- placeholder: string;
10
- label: string | undefined;
11
- useInputMessages: 'never' | 'always' | 'ondemand';
12
- inputMessagesPosition: 'absolute' | 'relative';
13
- hint?: string;
14
- size: 'small' | 'smaller' | 'normal' | 'larger' | 'large';
15
- required: boolean;
16
- constructor();
17
- ngOnInit(): void;
18
- get validationErrors(): ValidationErrors;
19
- get validationMessage(): string;
20
- get isInvalid(): boolean;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseComponent, "ui-abstract-base-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; "inputMessagesPosition": { "alias": "inputMessagesPosition"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
23
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ValidationErrors } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export interface UiValidators {
5
+ required?: boolean;
6
+ maxLength?: number;
7
+ }
8
+ export declare abstract class UiBaseComponent implements OnInit {
9
+ placeholder: string;
10
+ label: string | undefined;
11
+ useInputMessages: 'never' | 'always' | 'ondemand';
12
+ inputMessagesPosition: 'absolute' | 'relative';
13
+ hint?: string;
14
+ size: 'small' | 'smaller' | 'normal' | 'larger' | 'large';
15
+ required: boolean;
16
+ constructor();
17
+ ngOnInit(): void;
18
+ get validationErrors(): ValidationErrors;
19
+ get validationMessage(): string;
20
+ get isInvalid(): boolean;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseComponent, "ui-abstract-base-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; "inputMessagesPosition": { "alias": "inputMessagesPosition"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
23
+ }
@@ -1,8 +1,8 @@
1
- import { UiSimpleComponent } from './ui-simple.component';
2
- import * as i0 from "@angular/core";
3
- export declare class UiSimpleLayoutComponent {
4
- ctx: UiSimpleComponent;
5
- length(): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<UiSimpleLayoutComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleLayoutComponent, "ui-simple-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, ["*"], false, never>;
8
- }
1
+ import { UiSimpleComponent } from './ui-simple.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UiSimpleLayoutComponent {
4
+ ctx: UiSimpleComponent;
5
+ length(): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSimpleLayoutComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleLayoutComponent, "ui-simple-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, ["*"], false, never>;
8
+ }