@apipass/inputs 0.2.16 → 1.0.1

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 -197
  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/{esm2015/ace-editor/component.js → esm2020/ace-editor/component.mjs} +199 -204
  13. package/{esm2015/ace-editor/directive.js → esm2020/ace-editor/directive.mjs} +150 -150
  14. package/{esm2015/apipass-inputs.js → esm2020/apipass-inputs.mjs} +4 -4
  15. package/{esm2015/custom-select/custom-select-item.js → esm2020/custom-select/custom-select-item.mjs} +7 -7
  16. package/esm2020/custom-select/custom-select.component.mjs +204 -0
  17. package/esm2020/debounce-model-directive/debouceInput.directive.mjs +31 -0
  18. package/esm2020/field/field.component.mjs +51 -0
  19. package/esm2020/input-avatar/input-avatar.component.mjs +92 -0
  20. package/esm2020/input-boolean/input-boolean.component.mjs +56 -0
  21. package/esm2020/input-file/input-file.component.mjs +82 -0
  22. package/esm2020/input-number/input-number.component.mjs +62 -0
  23. package/esm2020/input-password/input-password.component.mjs +96 -0
  24. package/esm2020/input-text/input-text.component.mjs +62 -0
  25. package/esm2020/inputs.module.mjs +149 -0
  26. package/{esm2015/public-api.js → esm2020/public-api.mjs} +17 -17
  27. package/{esm2015/select-box/mat-select-infinite-scroll.directive.js → esm2020/select-box/mat-select-infinite-scroll.directive.mjs} +86 -86
  28. package/esm2020/select-box/select-box.component.mjs +220 -0
  29. package/esm2020/select-enum/select-enum.component.mjs +48 -0
  30. package/esm2020/select-interpolation/select-interpolation.component.mjs +169 -0
  31. package/{esm2015/value-acessor-base.js → esm2020/value-acessor-base.mjs} +31 -31
  32. package/fesm2015/apipass-inputs.mjs +1704 -0
  33. package/fesm2015/apipass-inputs.mjs.map +1 -0
  34. package/fesm2020/apipass-inputs.mjs +1697 -0
  35. package/fesm2020/apipass-inputs.mjs.map +1 -0
  36. package/field/field.component.d.ts +15 -15
  37. package/{apipass-inputs.d.ts → index.d.ts} +5 -5
  38. package/input-avatar/input-avatar.component.d.ts +29 -29
  39. package/input-boolean/input-boolean.component.d.ts +15 -15
  40. package/input-file/input-file.component.d.ts +31 -31
  41. package/input-number/input-number.component.d.ts +17 -17
  42. package/input-password/input-password.component.d.ts +29 -29
  43. package/input-text/input-text.component.d.ts +17 -17
  44. package/inputs.module.d.ts +36 -36
  45. package/package.json +38 -29
  46. package/public-api.d.ts +16 -16
  47. package/select-box/mat-select-infinite-scroll.directive.d.ts +26 -26
  48. package/select-box/select-box.component.d.ts +57 -57
  49. package/select-enum/select-enum.component.d.ts +12 -12
  50. package/select-interpolation/select-interpolation.component.d.ts +44 -44
  51. package/value-acessor-base.d.ts +13 -13
  52. package/assets/css/buttons.scss +0 -118
  53. package/bundles/apipass-inputs.umd.js +0 -3060
  54. package/bundles/apipass-inputs.umd.js.map +0 -1
  55. package/bundles/apipass-inputs.umd.min.js +0 -16
  56. package/bundles/apipass-inputs.umd.min.js.map +0 -1
  57. package/esm2015/custom-select/custom-select.component.js +0 -310
  58. package/esm2015/debounce-model-directive/debouceInput.directive.js +0 -31
  59. package/esm2015/field/field.component.js +0 -92
  60. package/esm2015/input-avatar/input-avatar.component.js +0 -167
  61. package/esm2015/input-boolean/input-boolean.component.js +0 -77
  62. package/esm2015/input-file/input-file.component.js +0 -133
  63. package/esm2015/input-number/input-number.component.js +0 -118
  64. package/esm2015/input-password/input-password.component.js +0 -159
  65. package/esm2015/input-text/input-text.component.js +0 -118
  66. package/esm2015/inputs.module.js +0 -155
  67. package/esm2015/select-box/select-box.component.js +0 -367
  68. package/esm2015/select-enum/select-enum.component.js +0 -95
  69. package/esm2015/select-interpolation/select-interpolation.component.js +0 -248
  70. package/fesm2015/apipass-inputs.js +0 -2434
  71. package/fesm2015/apipass-inputs.js.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 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.ɵɵFactoryDef<AceEditorComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDefWithMeta<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>;
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 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,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 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.ɵɵFactoryDef<AceEditorDirective, never>;
38
- static ɵdir: i0.ɵɵDirectiveDefWithMeta<AceEditorDirective, "[ace-editor]", never, { "options": "options"; "readOnly": "readOnly"; "theme": "theme"; "mode": "mode"; "text": "text"; "autoUpdateContent": "autoUpdateContent"; "durationBeforeCallback": "durationBeforeCallback"; }, { "textChanged": "textChanged"; "textChange": "textChange"; }, 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 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,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
+ }