@apipass/inputs 0.2.1-alpha.1 → 0.2.1-alpha.12
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 -0
- package/ace-editor/directive.d.ts +39 -0
- package/assets/css/buttons.scss +6 -0
- package/bundles/apipass-inputs.umd.js +774 -40
- package/bundles/apipass-inputs.umd.js.map +1 -1
- package/bundles/apipass-inputs.umd.min.js +2 -2
- package/bundles/apipass-inputs.umd.min.js.map +1 -1
- package/esm2015/ace-editor/component.js +204 -0
- package/esm2015/ace-editor/directive.js +150 -0
- package/esm2015/input-boolean/input-boolean.component.js +77 -0
- package/esm2015/input-number/input-number.component.js +118 -0
- package/esm2015/input-password/input-password.component.js +1 -1
- package/esm2015/input-text/input-text.component.js +3 -3
- package/esm2015/inputs.module.js +30 -6
- package/esm2015/public-api.js +5 -1
- package/esm2015/select-box/select-box.component.js +102 -26
- package/fesm2015/apipass-inputs.js +660 -37
- package/fesm2015/apipass-inputs.js.map +1 -1
- package/input-boolean/input-boolean.component.d.ts +15 -0
- package/input-number/input-number.component.d.ts +17 -0
- package/inputs.module.d.ts +26 -21
- package/package.json +4 -1
- package/public-api.d.ts +4 -0
- package/select-box/select-box.component.d.ts +13 -4
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
package/assets/css/buttons.scss
CHANGED
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
.apipass-btn-icon-text {
|
|
20
20
|
padding-right: 10px;
|
|
21
21
|
}
|
|
22
|
+
.apipass-btn-icon-text-suffix {
|
|
23
|
+
padding-left: 10px;
|
|
24
|
+
}
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
.apipass-btn-default {
|
|
@@ -36,6 +39,9 @@
|
|
|
36
39
|
.apipass-btn-icon-text {
|
|
37
40
|
padding-right: 10px;
|
|
38
41
|
}
|
|
42
|
+
.apipass-btn-icon-text-suffix {
|
|
43
|
+
padding-left: 10px;
|
|
44
|
+
}
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
.apipass-btn-primary {
|