@apipass/inputs 1.0.7 → 1.0.9

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 (71) hide show
  1. package/ace-editor/component.d.ts +52 -52
  2. package/ace-editor/directive.d.ts +39 -39
  3. package/assets/css/colors.scss +34 -34
  4. package/assets/css/fonts.scss +24 -24
  5. package/assets/css/inputs.scss +245 -245
  6. package/assets/css/pt_sans.scss +143 -143
  7. package/assets/css/spacing.scss +28 -28
  8. package/assets/css/texts.scss +18 -18
  9. package/custom-select/custom-select-item.d.ts +5 -5
  10. package/custom-select/custom-select.component.d.ts +51 -51
  11. package/debounce-model-directive/debouceInput.directive.d.ts +14 -14
  12. package/esm2022/ace-editor/component.mjs +200 -0
  13. package/esm2022/ace-editor/directive.mjs +153 -0
  14. package/{esm2020 → esm2022}/apipass-inputs.mjs +4 -4
  15. package/esm2022/custom-select/custom-select-item.mjs +9 -0
  16. package/esm2022/custom-select/custom-select.component.mjs +213 -0
  17. package/esm2022/debounce-model-directive/debouceInput.directive.mjs +34 -0
  18. package/esm2022/field/field.component.mjs +56 -0
  19. package/esm2022/input-avatar/input-avatar.component.mjs +91 -0
  20. package/esm2022/input-boolean/input-boolean.component.mjs +54 -0
  21. package/esm2022/input-file/input-file.component.mjs +82 -0
  22. package/esm2022/input-number/input-number.component.mjs +60 -0
  23. package/esm2022/input-password/input-password.component.mjs +94 -0
  24. package/esm2022/input-text/input-text.component.mjs +60 -0
  25. package/esm2022/inputs.module.mjs +150 -0
  26. package/{esm2020 → esm2022}/public-api.mjs +17 -17
  27. package/esm2022/select-box/mat-select-infinite-scroll.directive.mjs +91 -0
  28. package/esm2022/select-box/select-box.component.mjs +226 -0
  29. package/esm2022/select-enum/select-enum.component.mjs +47 -0
  30. package/esm2022/select-interpolation/select-interpolation.component.mjs +177 -0
  31. package/esm2022/value-acessor-base.mjs +30 -0
  32. package/fesm2022/apipass-inputs.mjs +1711 -0
  33. package/fesm2022/apipass-inputs.mjs.map +1 -0
  34. package/field/field.component.d.ts +15 -15
  35. package/index.d.ts +5 -5
  36. package/input-avatar/input-avatar.component.d.ts +29 -29
  37. package/input-boolean/input-boolean.component.d.ts +15 -15
  38. package/input-file/input-file.component.d.ts +31 -31
  39. package/input-number/input-number.component.d.ts +17 -17
  40. package/input-password/input-password.component.d.ts +28 -28
  41. package/input-text/input-text.component.d.ts +17 -17
  42. package/inputs.module.d.ts +36 -36
  43. package/package.json +28 -25
  44. package/public-api.d.ts +16 -16
  45. package/select-box/mat-select-infinite-scroll.directive.d.ts +26 -26
  46. package/select-box/select-box.component.d.ts +57 -57
  47. package/select-enum/select-enum.component.d.ts +12 -12
  48. package/select-interpolation/select-interpolation.component.d.ts +44 -44
  49. package/value-acessor-base.d.ts +13 -13
  50. package/esm2020/ace-editor/component.mjs +0 -195
  51. package/esm2020/ace-editor/directive.mjs +0 -148
  52. package/esm2020/custom-select/custom-select-item.mjs +0 -7
  53. package/esm2020/custom-select/custom-select.component.mjs +0 -204
  54. package/esm2020/debounce-model-directive/debouceInput.directive.mjs +0 -31
  55. package/esm2020/field/field.component.mjs +0 -51
  56. package/esm2020/input-avatar/input-avatar.component.mjs +0 -92
  57. package/esm2020/input-boolean/input-boolean.component.mjs +0 -56
  58. package/esm2020/input-file/input-file.component.mjs +0 -82
  59. package/esm2020/input-number/input-number.component.mjs +0 -62
  60. package/esm2020/input-password/input-password.component.mjs +0 -96
  61. package/esm2020/input-text/input-text.component.mjs +0 -62
  62. package/esm2020/inputs.module.mjs +0 -149
  63. package/esm2020/select-box/mat-select-infinite-scroll.directive.mjs +0 -86
  64. package/esm2020/select-box/select-box.component.mjs +0 -225
  65. package/esm2020/select-enum/select-enum.component.mjs +0 -48
  66. package/esm2020/select-interpolation/select-interpolation.component.mjs +0 -169
  67. package/esm2020/value-acessor-base.mjs +0 -31
  68. package/fesm2015/apipass-inputs.mjs +0 -1706
  69. package/fesm2015/apipass-inputs.mjs.map +0 -1
  70. package/fesm2020/apipass-inputs.mjs +0 -1696
  71. package/fesm2020/apipass-inputs.mjs.map +0 -1
@@ -1,52 +1,52 @@
1
- import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import 'brace';
4
- import 'brace/theme/monokai';
5
- import * as i0 from "@angular/core";
6
- export declare class AceEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
7
- private readonly zone;
8
- textChanged: EventEmitter<any>;
9
- textChange: EventEmitter<any>;
10
- style: any;
11
- _options: any;
12
- _readOnly: false;
13
- _theme: string;
14
- _mode: string;
15
- _autoUpdateContent: boolean;
16
- _editor: any;
17
- _durationBeforeCallback: number;
18
- _text: string;
19
- oldText: any;
20
- timeoutSaving: any;
21
- constructor(elementRef: ElementRef, zone: NgZone);
22
- ngOnInit(): void;
23
- ngOnDestroy(): void;
24
- init(): void;
25
- initEvents(): void;
26
- updateText(): void;
27
- set options(options: any);
28
- setOptions(options: any): void;
29
- set readOnly(readOnly: any);
30
- setReadOnly(readOnly: any): void;
31
- set theme(theme: any);
32
- setTheme(theme: any): void;
33
- set mode(mode: any);
34
- setMode(mode: any): void;
35
- get value(): string;
36
- set value(value: string);
37
- writeValue(value: any): void;
38
- private _onChange;
39
- registerOnChange(fn: any): void;
40
- private _onTouched;
41
- registerOnTouched(fn: any): void;
42
- get text(): string;
43
- set text(text: string);
44
- setText(text: any): void;
45
- set autoUpdateContent(status: any);
46
- setAutoUpdateContent(status: any): void;
47
- set durationBeforeCallback(num: number);
48
- setDurationBeforeCallback(num: number): void;
49
- getEditor(): any;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<AceEditorComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<AceEditorComponent, "ace-editor", never, { "style": "style"; "options": "options"; "readOnly": "readOnly"; "theme": "theme"; "mode": "mode"; "value": "value"; "text": "text"; "autoUpdateContent": "autoUpdateContent"; "durationBeforeCallback": "durationBeforeCallback"; }, { "textChanged": "textChanged"; "textChange": "textChange"; }, never, never, false, never>;
52
- }
1
+ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import 'brace';
4
+ import 'brace/theme/monokai';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AceEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
7
+ private readonly zone;
8
+ textChanged: EventEmitter<any>;
9
+ textChange: EventEmitter<any>;
10
+ style: any;
11
+ _options: any;
12
+ _readOnly: false;
13
+ _theme: string;
14
+ _mode: string;
15
+ _autoUpdateContent: boolean;
16
+ _editor: any;
17
+ _durationBeforeCallback: number;
18
+ _text: string;
19
+ oldText: any;
20
+ timeoutSaving: any;
21
+ constructor(elementRef: ElementRef, zone: NgZone);
22
+ ngOnInit(): void;
23
+ ngOnDestroy(): void;
24
+ init(): void;
25
+ initEvents(): void;
26
+ updateText(): void;
27
+ set options(options: any);
28
+ setOptions(options: any): void;
29
+ set readOnly(readOnly: any);
30
+ setReadOnly(readOnly: any): void;
31
+ set theme(theme: any);
32
+ setTheme(theme: any): void;
33
+ set mode(mode: any);
34
+ setMode(mode: any): void;
35
+ get value(): string;
36
+ set value(value: string);
37
+ writeValue(value: any): void;
38
+ private _onChange;
39
+ registerOnChange(fn: any): void;
40
+ private _onTouched;
41
+ registerOnTouched(fn: any): void;
42
+ get text(): string;
43
+ set text(text: string);
44
+ setText(text: any): void;
45
+ set autoUpdateContent(status: any);
46
+ setAutoUpdateContent(status: any): void;
47
+ set durationBeforeCallback(num: number);
48
+ setDurationBeforeCallback(num: number): void;
49
+ getEditor(): any;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<AceEditorComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<AceEditorComponent, "ace-editor", never, { "style": { "alias": "style"; "required": false; }; "options": { "alias": "options"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "text": { "alias": "text"; "required": false; }; "autoUpdateContent": { "alias": "autoUpdateContent"; "required": false; }; "durationBeforeCallback": { "alias": "durationBeforeCallback"; "required": false; }; }, { "textChanged": "textChanged"; "textChange": "textChange"; }, never, never, false, never>;
52
+ }
@@ -1,39 +1,39 @@
1
- import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
- import 'brace';
3
- import 'brace/theme/monokai';
4
- import * as i0 from "@angular/core";
5
- export declare class AceEditorDirective implements OnInit, OnDestroy {
6
- private readonly zone;
7
- textChanged: EventEmitter<any>;
8
- textChange: EventEmitter<any>;
9
- _options: any;
10
- _readOnly: boolean;
11
- _theme: string;
12
- _mode: string;
13
- _autoUpdateContent: boolean;
14
- _durationBeforeCallback: number;
15
- _text: string;
16
- editor: any;
17
- oldText: any;
18
- timeoutSaving: any;
19
- constructor(elementRef: ElementRef, zone: NgZone);
20
- ngOnInit(): void;
21
- ngOnDestroy(): void;
22
- init(): void;
23
- initEvents(): void;
24
- updateText(): void;
25
- set options(options: any);
26
- set readOnly(readOnly: any);
27
- set theme(theme: any);
28
- set mode(mode: any);
29
- setMode(mode: any): void;
30
- get text(): string;
31
- set text(text: string);
32
- setText(text: any): void;
33
- set autoUpdateContent(status: any);
34
- set durationBeforeCallback(num: number);
35
- setDurationBeforeCallback(num: number): void;
36
- get aceEditor(): any;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<AceEditorDirective, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<AceEditorDirective, "[ace-editor]", never, { "options": "options"; "readOnly": "readOnly"; "theme": "theme"; "mode": "mode"; "text": "text"; "autoUpdateContent": "autoUpdateContent"; "durationBeforeCallback": "durationBeforeCallback"; }, { "textChanged": "textChanged"; "textChange": "textChange"; }, never, never, false, never>;
39
- }
1
+ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
+ import 'brace';
3
+ import 'brace/theme/monokai';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AceEditorDirective implements OnInit, OnDestroy {
6
+ private readonly zone;
7
+ textChanged: EventEmitter<any>;
8
+ textChange: EventEmitter<any>;
9
+ _options: any;
10
+ _readOnly: boolean;
11
+ _theme: string;
12
+ _mode: string;
13
+ _autoUpdateContent: boolean;
14
+ _durationBeforeCallback: number;
15
+ _text: string;
16
+ editor: any;
17
+ oldText: any;
18
+ timeoutSaving: any;
19
+ constructor(elementRef: ElementRef, zone: NgZone);
20
+ ngOnInit(): void;
21
+ ngOnDestroy(): void;
22
+ init(): void;
23
+ initEvents(): void;
24
+ updateText(): void;
25
+ set options(options: any);
26
+ set readOnly(readOnly: any);
27
+ set theme(theme: any);
28
+ set mode(mode: any);
29
+ setMode(mode: any): void;
30
+ get text(): string;
31
+ set text(text: string);
32
+ setText(text: any): void;
33
+ set autoUpdateContent(status: any);
34
+ set durationBeforeCallback(num: number);
35
+ setDurationBeforeCallback(num: number): void;
36
+ get aceEditor(): any;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AceEditorDirective, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AceEditorDirective, "[ace-editor]", never, { "options": { "alias": "options"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "text": { "alias": "text"; "required": false; }; "autoUpdateContent": { "alias": "autoUpdateContent"; "required": false; }; "durationBeforeCallback": { "alias": "durationBeforeCallback"; "required": false; }; }, { "textChanged": "textChanged"; "textChange": "textChange"; }, never, never, false, never>;
39
+ }
@@ -1,34 +1,34 @@
1
- :root {
2
- --color-primary: #222D57;
3
- --color-primary-hover: #18203D;
4
- --color-primary-active: #29376A;
5
-
6
- --color-secondary: #D3D921;
7
- --color-secondary-hover: #B3B81C;
8
- --color-secondary-active: #DCE13F;
9
-
10
- --color-tertiary: #EFEFEF;
11
- --color-tertiary-hover: #CBCBCB;
12
- --color-tertiary-active: #F1F1F1;
13
-
14
- --color-fonts-tertiary: #777777;
15
-
16
-
17
-
18
-
19
- // Defaults
20
- --color-body-light: #FFF;
21
- --color-red: rgb(255, 0, 0);
22
- --limit-plan-color: #ff6c00;
23
- --color_disabled: #E0E0E0;
24
- --color_components_light: #FFF;
25
- --color-inputs-border: #DDD;
26
- --color-inputs-background: #FFF;
27
- --color_icon_remove: var(--color-red);
28
- --color_icon_success: #070;
29
- --color_graph_primary: #1643EF;
30
- --color_graph_primary_hover: #0A2692;
31
- --color_graph_error: #EB5757;
32
- --color_graph_error_hover: #C91717;
33
-
34
- }
1
+ :root {
2
+ --color-primary: #222D57;
3
+ --color-primary-hover: #18203D;
4
+ --color-primary-active: #29376A;
5
+
6
+ --color-secondary: #D3D921;
7
+ --color-secondary-hover: #B3B81C;
8
+ --color-secondary-active: #DCE13F;
9
+
10
+ --color-tertiary: #EFEFEF;
11
+ --color-tertiary-hover: #CBCBCB;
12
+ --color-tertiary-active: #F1F1F1;
13
+
14
+ --color-fonts-tertiary: #777777;
15
+
16
+
17
+
18
+
19
+ // Defaults
20
+ --color-body-light: #FFF;
21
+ --color-red: rgb(255, 0, 0);
22
+ --limit-plan-color: #ff6c00;
23
+ --color_disabled: #E0E0E0;
24
+ --color_components_light: #FFF;
25
+ --color-inputs-border: #DDD;
26
+ --color-inputs-background: #FFF;
27
+ --color_icon_remove: var(--color-red);
28
+ --color_icon_success: #070;
29
+ --color_graph_primary: #1643EF;
30
+ --color_graph_primary_hover: #0A2692;
31
+ --color_graph_error: #EB5757;
32
+ --color_graph_error_hover: #C91717;
33
+
34
+ }
@@ -1,24 +1,24 @@
1
- $base-font-size: 14px;
2
- $base-input-font-size: $base-font-size;
3
-
4
- @import "pt_sans";
5
-
6
- .text-primary {
7
- color: var(--color-primary) !important;
8
- }
9
-
10
- .text-secondary {
11
- color: var(--color-secondary) !important;
12
- }
13
-
14
- .text-tertiary {
15
- color: var(--color-fonts-tertiary) !important;
16
- }
17
-
18
- .text-weight-bold {
19
- font-weight: bold !important;
20
- }
21
-
22
- .text-weight-normal {
23
- font-weight: normal !important;
24
- }
1
+ $base-font-size: 14px;
2
+ $base-input-font-size: $base-font-size;
3
+
4
+ @import "pt_sans";
5
+
6
+ .text-primary {
7
+ color: var(--color-primary) !important;
8
+ }
9
+
10
+ .text-secondary {
11
+ color: var(--color-secondary) !important;
12
+ }
13
+
14
+ .text-tertiary {
15
+ color: var(--color-fonts-tertiary) !important;
16
+ }
17
+
18
+ .text-weight-bold {
19
+ font-weight: bold !important;
20
+ }
21
+
22
+ .text-weight-normal {
23
+ font-weight: normal !important;
24
+ }