@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.
- package/ace-editor/component.d.ts +52 -52
- package/ace-editor/directive.d.ts +39 -39
- package/assets/css/colors.scss +34 -34
- package/assets/css/fonts.scss +24 -24
- package/assets/css/inputs.scss +245 -197
- package/assets/css/pt_sans.scss +143 -143
- package/assets/css/spacing.scss +28 -28
- package/assets/css/texts.scss +18 -18
- package/custom-select/custom-select-item.d.ts +5 -5
- package/custom-select/custom-select.component.d.ts +51 -51
- package/debounce-model-directive/debouceInput.directive.d.ts +14 -14
- package/{esm2015/ace-editor/component.js → esm2020/ace-editor/component.mjs} +199 -204
- package/{esm2015/ace-editor/directive.js → esm2020/ace-editor/directive.mjs} +150 -150
- package/{esm2015/apipass-inputs.js → esm2020/apipass-inputs.mjs} +4 -4
- package/{esm2015/custom-select/custom-select-item.js → esm2020/custom-select/custom-select-item.mjs} +7 -7
- package/esm2020/custom-select/custom-select.component.mjs +204 -0
- package/esm2020/debounce-model-directive/debouceInput.directive.mjs +31 -0
- package/esm2020/field/field.component.mjs +51 -0
- package/esm2020/input-avatar/input-avatar.component.mjs +92 -0
- package/esm2020/input-boolean/input-boolean.component.mjs +56 -0
- package/esm2020/input-file/input-file.component.mjs +82 -0
- package/esm2020/input-number/input-number.component.mjs +62 -0
- package/esm2020/input-password/input-password.component.mjs +96 -0
- package/esm2020/input-text/input-text.component.mjs +62 -0
- package/esm2020/inputs.module.mjs +149 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +17 -17
- package/{esm2015/select-box/mat-select-infinite-scroll.directive.js → esm2020/select-box/mat-select-infinite-scroll.directive.mjs} +86 -86
- package/esm2020/select-box/select-box.component.mjs +220 -0
- package/esm2020/select-enum/select-enum.component.mjs +48 -0
- package/esm2020/select-interpolation/select-interpolation.component.mjs +169 -0
- package/{esm2015/value-acessor-base.js → esm2020/value-acessor-base.mjs} +31 -31
- package/fesm2015/apipass-inputs.mjs +1704 -0
- package/fesm2015/apipass-inputs.mjs.map +1 -0
- package/fesm2020/apipass-inputs.mjs +1697 -0
- package/fesm2020/apipass-inputs.mjs.map +1 -0
- package/field/field.component.d.ts +15 -15
- package/{apipass-inputs.d.ts → index.d.ts} +5 -5
- package/input-avatar/input-avatar.component.d.ts +29 -29
- package/input-boolean/input-boolean.component.d.ts +15 -15
- package/input-file/input-file.component.d.ts +31 -31
- package/input-number/input-number.component.d.ts +17 -17
- package/input-password/input-password.component.d.ts +29 -29
- package/input-text/input-text.component.d.ts +17 -17
- package/inputs.module.d.ts +36 -36
- package/package.json +38 -29
- package/public-api.d.ts +16 -16
- package/select-box/mat-select-infinite-scroll.directive.d.ts +26 -26
- package/select-box/select-box.component.d.ts +57 -57
- package/select-enum/select-enum.component.d.ts +12 -12
- package/select-interpolation/select-interpolation.component.d.ts +44 -44
- package/value-acessor-base.d.ts +13 -13
- package/assets/css/buttons.scss +0 -118
- package/bundles/apipass-inputs.umd.js +0 -3060
- package/bundles/apipass-inputs.umd.js.map +0 -1
- package/bundles/apipass-inputs.umd.min.js +0 -16
- package/bundles/apipass-inputs.umd.min.js.map +0 -1
- package/esm2015/custom-select/custom-select.component.js +0 -310
- package/esm2015/debounce-model-directive/debouceInput.directive.js +0 -31
- package/esm2015/field/field.component.js +0 -92
- package/esm2015/input-avatar/input-avatar.component.js +0 -167
- package/esm2015/input-boolean/input-boolean.component.js +0 -77
- package/esm2015/input-file/input-file.component.js +0 -133
- package/esm2015/input-number/input-number.component.js +0 -118
- package/esm2015/input-password/input-password.component.js +0 -159
- package/esm2015/input-text/input-text.component.js +0 -118
- package/esm2015/inputs.module.js +0 -155
- package/esm2015/select-box/select-box.component.js +0 -367
- package/esm2015/select-enum/select-enum.component.js +0 -95
- package/esm2015/select-interpolation/select-interpolation.component.js +0 -248
- package/fesm2015/apipass-inputs.js +0 -2434
- 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.ɵɵ
|
|
51
|
-
static ɵcmp: i0.ɵɵ
|
|
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.ɵɵ
|
|
38
|
-
static ɵdir: i0.ɵɵ
|
|
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
|
+
}
|
package/assets/css/colors.scss
CHANGED
|
@@ -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
|
+
}
|
package/assets/css/fonts.scss
CHANGED
|
@@ -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
|
+
}
|