source: trip-planner-front/node_modules/primeng/inputnumber/inputnumber.d.ts@ 76712b2

Last change on this file since 76712b2 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 6.5 KB
Line 
1import { ElementRef, OnInit, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
2import { ControlValueAccessor } from '@angular/forms';
3import * as i0 from "@angular/core";
4import * as i1 from "@angular/common";
5import * as i2 from "primeng/inputtext";
6import * as i3 from "primeng/button";
7export declare const INPUTNUMBER_VALUE_ACCESSOR: any;
8export declare class InputNumber implements OnInit, ControlValueAccessor {
9 el: ElementRef;
10 private cd;
11 showButtons: boolean;
12 format: boolean;
13 buttonLayout: string;
14 inputId: string;
15 styleClass: string;
16 style: any;
17 placeholder: string;
18 size: number;
19 maxlength: number;
20 tabindex: string;
21 title: string;
22 ariaLabel: string;
23 ariaRequired: boolean;
24 name: string;
25 required: boolean;
26 autocomplete: string;
27 min: number;
28 max: number;
29 incrementButtonClass: string;
30 decrementButtonClass: string;
31 incrementButtonIcon: string;
32 decrementButtonIcon: string;
33 readonly: boolean;
34 step: number;
35 allowEmpty: boolean;
36 locale: string;
37 localeMatcher: string;
38 mode: string;
39 currency: string;
40 currencyDisplay: string;
41 useGrouping: boolean;
42 minFractionDigits: number;
43 maxFractionDigits: number;
44 prefix: string;
45 suffix: string;
46 inputStyle: any;
47 inputStyleClass: string;
48 input: ElementRef;
49 onInput: EventEmitter<any>;
50 onFocus: EventEmitter<any>;
51 onBlur: EventEmitter<any>;
52 onKeyDown: EventEmitter<any>;
53 value: number;
54 onModelChange: Function;
55 onModelTouched: Function;
56 focused: boolean;
57 initialized: boolean;
58 groupChar: string;
59 prefixChar: string;
60 suffixChar: string;
61 isSpecialChar: boolean;
62 timer: any;
63 lastValue: string;
64 _numeral: any;
65 numberFormat: any;
66 _decimal: any;
67 _group: any;
68 _minusSign: any;
69 _currency: any;
70 _prefix: any;
71 _suffix: any;
72 _index: any;
73 _disabled: boolean;
74 get disabled(): boolean;
75 set disabled(disabled: boolean);
76 constructor(el: ElementRef, cd: ChangeDetectorRef);
77 ngOnChanges(simpleChange: SimpleChanges): void;
78 ngOnInit(): void;
79 getOptions(): {
80 localeMatcher: string;
81 style: string;
82 currency: string;
83 currencyDisplay: string;
84 useGrouping: boolean;
85 minimumFractionDigits: number;
86 maximumFractionDigits: number;
87 };
88 constructParser(): void;
89 updateConstructParser(): void;
90 escapeRegExp(text: any): any;
91 getDecimalExpression(): RegExp;
92 getGroupingExpression(): RegExp;
93 getMinusSignExpression(): RegExp;
94 getCurrencyExpression(): RegExp;
95 getPrefixExpression(): RegExp;
96 getSuffixExpression(): RegExp;
97 formatValue(value: any): any;
98 parseValue(text: any): any;
99 repeat(event: any, interval: any, dir: any): void;
100 spin(event: any, dir: any): void;
101 onUpButtonMouseDown(event: any): void;
102 onUpButtonMouseUp(): void;
103 onUpButtonMouseLeave(): void;
104 onUpButtonKeyDown(event: any): void;
105 onUpButtonKeyUp(): void;
106 onDownButtonMouseDown(event: any): void;
107 onDownButtonMouseUp(): void;
108 onDownButtonMouseLeave(): void;
109 onDownButtonKeyUp(): void;
110 onDownButtonKeyDown(event: any): void;
111 onUserInput(event: any): void;
112 onInputKeyDown(event: any): void;
113 onInputKeyPress(event: any): void;
114 onPaste(event: any): void;
115 allowMinusSign(): boolean;
116 isMinusSign(char: any): boolean;
117 isDecimalSign(char: any): boolean;
118 isDecimalMode(): boolean;
119 getDecimalCharIndexes(val: any): {
120 decimalCharIndex: any;
121 decimalCharIndexWithoutPrefix: any;
122 };
123 getCharIndexes(val: any): {
124 decimalCharIndex: any;
125 minusCharIndex: any;
126 suffixCharIndex: any;
127 currencyCharIndex: any;
128 };
129 insert(event: any, text: any, sign?: {
130 isDecimalSign: boolean;
131 isMinusSign: boolean;
132 }): void;
133 insertText(value: any, text: any, start: any, end: any): any;
134 deleteRange(value: any, start: any, end: any): any;
135 initCursor(): any;
136 onInputClick(): void;
137 isNumeralChar(char: any): boolean;
138 resetRegex(): void;
139 updateValue(event: any, valueStr: any, insertedValueStr: any, operation: any): void;
140 handleOnInput(event: any, currentValue: any, newValue: any): void;
141 isValueChanged(currentValue: any, newValue: any): boolean;
142 validateValue(value: any): any;
143 updateInput(value: any, insertedValueStr: any, operation: any, valueStr: any): void;
144 concatValues(val1: any, val2: any): any;
145 getDecimalLength(value: any): any;
146 onInputFocus(event: any): void;
147 onInputBlur(event: any): void;
148 formattedValue(): any;
149 updateModel(event: any, value: any): void;
150 writeValue(value: any): void;
151 registerOnChange(fn: Function): void;
152 registerOnTouched(fn: Function): void;
153 setDisabledState(val: boolean): void;
154 get filled(): boolean;
155 clearTimer(): void;
156 getFormatter(): any;
157 static ɵfac: i0.ɵɵFactoryDeclaration<InputNumber, never>;
158 static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "p-inputNumber", never, { "showButtons": "showButtons"; "format": "format"; "buttonLayout": "buttonLayout"; "inputId": "inputId"; "styleClass": "styleClass"; "style": "style"; "placeholder": "placeholder"; "size": "size"; "maxlength": "maxlength"; "tabindex": "tabindex"; "title": "title"; "ariaLabel": "ariaLabel"; "ariaRequired": "ariaRequired"; "name": "name"; "required": "required"; "autocomplete": "autocomplete"; "min": "min"; "max": "max"; "incrementButtonClass": "incrementButtonClass"; "decrementButtonClass": "decrementButtonClass"; "incrementButtonIcon": "incrementButtonIcon"; "decrementButtonIcon": "decrementButtonIcon"; "readonly": "readonly"; "step": "step"; "allowEmpty": "allowEmpty"; "locale": "locale"; "localeMatcher": "localeMatcher"; "mode": "mode"; "currency": "currency"; "currencyDisplay": "currencyDisplay"; "useGrouping": "useGrouping"; "minFractionDigits": "minFractionDigits"; "maxFractionDigits": "maxFractionDigits"; "prefix": "prefix"; "suffix": "suffix"; "inputStyle": "inputStyle"; "inputStyleClass": "inputStyleClass"; "disabled": "disabled"; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyDown": "onKeyDown"; }, never, never>;
159}
160export declare class InputNumberModule {
161 static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberModule, never>;
162 static ɵmod: i0.ɵɵNgModuleDeclaration<InputNumberModule, [typeof InputNumber], [typeof i1.CommonModule, typeof i2.InputTextModule, typeof i3.ButtonModule], [typeof InputNumber]>;
163 static ɵinj: i0.ɵɵInjectorDeclaration<InputNumberModule>;
164}
Note: See TracBrowser for help on using the repository browser.