primeng 18.0.1 → 18.0.2-patch.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/chips/chips.d.ts +237 -0
- package/chips/chips.interface.d.ts +66 -0
- package/chips/index.d.ts +5 -0
- package/chips/public_api.d.ts +2 -0
- package/chips/style/chipsstyle.d.ts +69 -0
- package/datepicker/datepicker.d.ts +88 -22
- package/esm2022/calendar/calendar.mjs +9 -8
- package/esm2022/chips/chips.interface.mjs +2 -0
- package/esm2022/chips/chips.mjs +827 -0
- package/esm2022/chips/primeng-chips.mjs +5 -0
- package/esm2022/chips/public_api.mjs +3 -0
- package/esm2022/chips/style/chipsstyle.mjs +175 -0
- package/esm2022/datepicker/datepicker.mjs +9 -8
- package/esm2022/tree/tree.mjs +5 -3
- package/fesm2022/primeng-accordion.mjs +2 -2
- package/fesm2022/primeng-animateonscroll.mjs +1 -1
- package/fesm2022/primeng-api.mjs +1 -1
- package/fesm2022/primeng-autocomplete.mjs +2 -2
- package/fesm2022/primeng-avatar.mjs +1 -1
- package/fesm2022/primeng-avatargroup.mjs +1 -1
- package/fesm2022/primeng-badge.mjs +2 -2
- package/fesm2022/primeng-blockui.mjs +2 -2
- package/fesm2022/primeng-breadcrumb.mjs +2 -2
- package/fesm2022/primeng-button.mjs +2 -2
- package/fesm2022/primeng-buttongroup.mjs +1 -1
- package/fesm2022/primeng-calendar.mjs +11 -10
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +2 -2
- package/fesm2022/primeng-carousel.mjs +2 -2
- package/fesm2022/primeng-cascadeselect.mjs +1 -1
- package/fesm2022/primeng-chart.mjs +1 -1
- package/fesm2022/primeng-checkbox.mjs +2 -2
- package/fesm2022/primeng-chip.mjs +2 -2
- package/fesm2022/primeng-chips.mjs +1006 -0
- package/fesm2022/primeng-chips.mjs.map +1 -0
- package/fesm2022/primeng-colorpicker.mjs +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +2 -2
- package/fesm2022/primeng-confirmpopup.mjs +3 -3
- package/fesm2022/primeng-contextmenu.mjs +1 -1
- package/fesm2022/primeng-dataview.mjs +2 -2
- package/fesm2022/primeng-datepicker.mjs +11 -10
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +1 -1
- package/fesm2022/primeng-dialog.mjs +2 -2
- package/fesm2022/primeng-divider.mjs +1 -1
- package/fesm2022/primeng-dock.mjs +2 -2
- package/fesm2022/primeng-dragdrop.mjs +1 -1
- package/fesm2022/primeng-drawer.mjs +2 -2
- package/fesm2022/primeng-dropdown.mjs +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +1 -1
- package/fesm2022/primeng-editor.mjs +2 -2
- package/fesm2022/primeng-fieldset.mjs +3 -3
- package/fesm2022/primeng-fileupload.mjs +2 -2
- package/fesm2022/primeng-floatlabel.mjs +1 -1
- package/fesm2022/primeng-fluid.mjs +1 -1
- package/fesm2022/primeng-galleria.mjs +1 -1
- package/fesm2022/primeng-iconfield.mjs +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +1 -1
- package/fesm2022/primeng-iftalabel.mjs +1 -1
- package/fesm2022/primeng-image.mjs +2 -2
- package/fesm2022/primeng-imagecompare.mjs +2 -2
- package/fesm2022/primeng-inplace.mjs +2 -2
- package/fesm2022/primeng-inputgroupaddon.mjs +1 -1
- package/fesm2022/primeng-inputicon.mjs +1 -1
- package/fesm2022/primeng-inputmask.mjs +2 -2
- package/fesm2022/primeng-inputnumber.mjs +2 -2
- package/fesm2022/primeng-inputotp.mjs +2 -2
- package/fesm2022/primeng-inputswitch.mjs +1 -1
- package/fesm2022/primeng-inputtext.mjs +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +1 -1
- package/fesm2022/primeng-keyfilter.mjs +1 -1
- package/fesm2022/primeng-knob.mjs +1 -1
- package/fesm2022/primeng-listbox.mjs +2 -2
- package/fesm2022/primeng-megamenu.mjs +1 -1
- package/fesm2022/primeng-menu.mjs +1 -1
- package/fesm2022/primeng-menubar.mjs +1 -1
- package/fesm2022/primeng-message.mjs +2 -2
- package/fesm2022/primeng-messages.mjs +1 -1
- package/fesm2022/primeng-metergroup.mjs +1 -1
- package/fesm2022/primeng-multiselect.mjs +1 -1
- package/fesm2022/primeng-orderlist.mjs +2 -2
- package/fesm2022/primeng-organizationchart.mjs +2 -2
- package/fesm2022/primeng-overlay.mjs +2 -2
- package/fesm2022/primeng-overlaybadge.mjs +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +2 -2
- package/fesm2022/primeng-paginator.mjs +2 -2
- package/fesm2022/primeng-panel.mjs +3 -3
- package/fesm2022/primeng-panelmenu.mjs +2 -2
- package/fesm2022/primeng-password.mjs +2 -2
- package/fesm2022/primeng-picklist.mjs +2 -2
- package/fesm2022/primeng-popover.mjs +3 -3
- package/fesm2022/primeng-progressbar.mjs +2 -2
- package/fesm2022/primeng-progressspinner.mjs +1 -1
- package/fesm2022/primeng-radiobutton.mjs +1 -1
- package/fesm2022/primeng-rating.mjs +2 -2
- package/fesm2022/primeng-scroller.mjs +2 -2
- package/fesm2022/primeng-scrollpanel.mjs +2 -2
- package/fesm2022/primeng-scrolltop.mjs +3 -3
- package/fesm2022/primeng-select.mjs +1 -1
- package/fesm2022/primeng-selectbutton.mjs +2 -2
- package/fesm2022/primeng-sidebar.mjs +2 -2
- package/fesm2022/primeng-skeleton.mjs +1 -1
- package/fesm2022/primeng-slider.mjs +1 -1
- package/fesm2022/primeng-speeddial.mjs +2 -2
- package/fesm2022/primeng-splitbutton.mjs +2 -2
- package/fesm2022/primeng-splitter.mjs +2 -2
- package/fesm2022/primeng-stepper.mjs +3 -3
- package/fesm2022/primeng-steps.mjs +1 -1
- package/fesm2022/primeng-styleclass.mjs +1 -1
- package/fesm2022/primeng-table.mjs +1 -1
- package/fesm2022/primeng-tabmenu.mjs +2 -2
- package/fesm2022/primeng-tabs.mjs +2 -2
- package/fesm2022/primeng-tabview.mjs +2 -2
- package/fesm2022/primeng-tag.mjs +2 -2
- package/fesm2022/primeng-terminal.mjs +1 -1
- package/fesm2022/primeng-textarea.mjs +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +1 -1
- package/fesm2022/primeng-timeline.mjs +2 -2
- package/fesm2022/primeng-toast.mjs +2 -2
- package/fesm2022/primeng-togglebutton.mjs +2 -2
- package/fesm2022/primeng-toggleswitch.mjs +2 -2
- package/fesm2022/primeng-toolbar.mjs +2 -2
- package/fesm2022/primeng-tree.mjs +5 -3
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +2 -2
- package/fesm2022/primeng-treetable.mjs +1 -1
- package/package.json +205 -199
package/chips/chips.d.ts
ADDED
@@ -0,0 +1,237 @@
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
import { Nullable } from 'primeng/ts-helpers';
|
4
|
+
import { ChipsAddEvent, ChipsClickEvent, ChipsContextMenuEvent, ChipsRemoveEvent } from './chips.interface';
|
5
|
+
import { PrimeNG } from 'primeng/config';
|
6
|
+
import { ChipsStyle } from './style/chipsstyle';
|
7
|
+
import { BaseComponent } from 'primeng/basecomponent';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "primeng/api";
|
10
|
+
export declare const CHIPS_VALUE_ACCESSOR: any;
|
11
|
+
/**
|
12
|
+
* Chips groups a collection of contents in tabs.
|
13
|
+
* @group Components
|
14
|
+
*/
|
15
|
+
export declare class Chips extends BaseComponent implements AfterContentInit, ControlValueAccessor {
|
16
|
+
el: ElementRef;
|
17
|
+
cd: ChangeDetectorRef;
|
18
|
+
config: PrimeNG;
|
19
|
+
/**
|
20
|
+
* Inline style of the element.
|
21
|
+
* @group Props
|
22
|
+
*/
|
23
|
+
style: {
|
24
|
+
[klass: string]: any;
|
25
|
+
} | null | undefined;
|
26
|
+
/**
|
27
|
+
* Style class of the element.
|
28
|
+
* @group Props
|
29
|
+
*/
|
30
|
+
styleClass: string | undefined;
|
31
|
+
/**
|
32
|
+
* When present, it specifies that the element should be disabled.
|
33
|
+
* @group Props
|
34
|
+
*/
|
35
|
+
disabled: boolean | undefined;
|
36
|
+
/**
|
37
|
+
* Name of the property to display on a chip.
|
38
|
+
* @group Props
|
39
|
+
*/
|
40
|
+
field: string | undefined;
|
41
|
+
/**
|
42
|
+
* Advisory information to display on input.
|
43
|
+
* @group Props
|
44
|
+
*/
|
45
|
+
placeholder: string | undefined;
|
46
|
+
/**
|
47
|
+
* Maximum number of entries allowed.
|
48
|
+
* @group Props
|
49
|
+
*/
|
50
|
+
max: number | undefined;
|
51
|
+
/**
|
52
|
+
* Maximum length of a chip.
|
53
|
+
* @group Props
|
54
|
+
*/
|
55
|
+
maxLength: number | undefined;
|
56
|
+
/**
|
57
|
+
* Defines a string that labels the input for accessibility.
|
58
|
+
* @group Props
|
59
|
+
*/
|
60
|
+
ariaLabel: string | undefined;
|
61
|
+
/**
|
62
|
+
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
63
|
+
* @group Props
|
64
|
+
*/
|
65
|
+
ariaLabelledBy: string | undefined;
|
66
|
+
/**
|
67
|
+
* Index of the element in tabbing order.
|
68
|
+
* @group Props
|
69
|
+
*/
|
70
|
+
tabindex: number | undefined;
|
71
|
+
/**
|
72
|
+
* Identifier of the focus input to match a label defined for the component.
|
73
|
+
* @group Props
|
74
|
+
*/
|
75
|
+
inputId: string | undefined;
|
76
|
+
/**
|
77
|
+
* Whether to allow duplicate values or not.
|
78
|
+
* @group Props
|
79
|
+
*/
|
80
|
+
allowDuplicate: boolean;
|
81
|
+
/**
|
82
|
+
* Defines whether duplication check should be case-sensitive
|
83
|
+
* @group Props
|
84
|
+
*/
|
85
|
+
caseSensitiveDuplication: boolean;
|
86
|
+
/**
|
87
|
+
* Inline style of the input field.
|
88
|
+
* @group Props
|
89
|
+
*/
|
90
|
+
inputStyle: {
|
91
|
+
[klass: string]: any;
|
92
|
+
} | null | undefined;
|
93
|
+
/**
|
94
|
+
* Style class of the input field.
|
95
|
+
* @group Props
|
96
|
+
*/
|
97
|
+
inputStyleClass: string | undefined;
|
98
|
+
/**
|
99
|
+
* Icon to display in chip remove action..
|
100
|
+
* @group Props
|
101
|
+
*/
|
102
|
+
chipIcon: string | undefined;
|
103
|
+
/**
|
104
|
+
* Whether to add an item on tab key press.
|
105
|
+
* @group Props
|
106
|
+
*/
|
107
|
+
addOnTab: boolean | undefined;
|
108
|
+
/**
|
109
|
+
* Whether to add an item when the input loses focus.
|
110
|
+
* @group Props
|
111
|
+
*/
|
112
|
+
addOnBlur: boolean | undefined;
|
113
|
+
/**
|
114
|
+
* Separator char to add an item when pressed in addition to the enter key.
|
115
|
+
* @group Props
|
116
|
+
*/
|
117
|
+
separator: string | RegExp | undefined;
|
118
|
+
/**
|
119
|
+
* When enabled, a clear icon is displayed to clear the value.
|
120
|
+
* @group Props
|
121
|
+
*/
|
122
|
+
showClear: boolean;
|
123
|
+
/**
|
124
|
+
* When present, it specifies that the component should automatically get focus on load.
|
125
|
+
* @group Props
|
126
|
+
*/
|
127
|
+
autofocus: boolean | undefined;
|
128
|
+
/**
|
129
|
+
* Specifies the input variant of the component.
|
130
|
+
* @group Props
|
131
|
+
*/
|
132
|
+
variant: 'filled' | 'outlined';
|
133
|
+
/**
|
134
|
+
* Callback to invoke on chip add.
|
135
|
+
* @param {ChipsAddEvent} event - Custom chip add event.
|
136
|
+
* @group Emits
|
137
|
+
*/
|
138
|
+
onAdd: EventEmitter<ChipsAddEvent>;
|
139
|
+
/**
|
140
|
+
* Callback to invoke on chip remove.
|
141
|
+
* @param {ChipsRemoveEvent} event - Custom chip remove event.
|
142
|
+
* @group Emits
|
143
|
+
*/
|
144
|
+
onRemove: EventEmitter<ChipsRemoveEvent>;
|
145
|
+
/**
|
146
|
+
* Callback to invoke on focus of input field.
|
147
|
+
* @param {Event} event - Browser event.
|
148
|
+
* @group Emits
|
149
|
+
*/
|
150
|
+
onFocus: EventEmitter<Event>;
|
151
|
+
/**
|
152
|
+
* Callback to invoke on blur of input field.
|
153
|
+
* @param {Event} event - Browser event.
|
154
|
+
* @group Emits
|
155
|
+
*/
|
156
|
+
onBlur: EventEmitter<Event>;
|
157
|
+
/**
|
158
|
+
* Callback to invoke on chip clicked.
|
159
|
+
* @param {ChipsClickEvent} event - Custom chip click event.
|
160
|
+
* @group Emits
|
161
|
+
*/
|
162
|
+
onChipClick: EventEmitter<ChipsClickEvent>;
|
163
|
+
/**
|
164
|
+
* Callback to invoke on chip contextmenu.
|
165
|
+
* @param {ChipsClickEvent} event - Custom chip contextmenu event.
|
166
|
+
* @group Emits
|
167
|
+
*/
|
168
|
+
onChipContextMenu: EventEmitter<ChipsContextMenuEvent>;
|
169
|
+
/**
|
170
|
+
* Callback to invoke on clear token clicked.
|
171
|
+
* @group Emits
|
172
|
+
*/
|
173
|
+
onClear: EventEmitter<any>;
|
174
|
+
inputViewChild: ElementRef;
|
175
|
+
containerViewChild: ElementRef;
|
176
|
+
templates: QueryList<any>;
|
177
|
+
itemTemplate: Nullable<TemplateRef<any>>;
|
178
|
+
removeTokenIconTemplate: Nullable<TemplateRef<any>>;
|
179
|
+
clearIconTemplate: Nullable<TemplateRef<any>>;
|
180
|
+
value: any;
|
181
|
+
onModelChange: Function;
|
182
|
+
onModelTouched: Function;
|
183
|
+
valueChanged: Nullable<boolean>;
|
184
|
+
id: string;
|
185
|
+
focused: Nullable<boolean>;
|
186
|
+
focusedIndex: Nullable<number>;
|
187
|
+
filled: Nullable<boolean>;
|
188
|
+
_componentStyle: ChipsStyle;
|
189
|
+
get focusedOptionId(): string;
|
190
|
+
get isMaxedOut(): boolean;
|
191
|
+
constructor(el: ElementRef, cd: ChangeDetectorRef, config: PrimeNG);
|
192
|
+
ngAfterContentInit(): void;
|
193
|
+
onWrapperClick(): void;
|
194
|
+
onContainerFocus(): void;
|
195
|
+
onContainerBlur(): void;
|
196
|
+
onContainerKeyDown(event: any): void;
|
197
|
+
onArrowLeftKeyOn(): void;
|
198
|
+
onArrowRightKeyOn(): void;
|
199
|
+
onBackspaceKeyOn(event: any): void;
|
200
|
+
onInput(): void;
|
201
|
+
onPaste(event: any): void;
|
202
|
+
updateFilledState(): void;
|
203
|
+
onItemClick(event: Event, item: any): void;
|
204
|
+
onItemContextMenu(event: Event, item: any): void;
|
205
|
+
writeValue(value: any): void;
|
206
|
+
registerOnChange(fn: Function): void;
|
207
|
+
registerOnTouched(fn: Function): void;
|
208
|
+
setDisabledState(val: boolean): void;
|
209
|
+
resolveFieldData(data: any, field: string): any;
|
210
|
+
onInputFocus(event: FocusEvent): void;
|
211
|
+
onInputBlur(event: FocusEvent): void;
|
212
|
+
removeItem(event: Event, index: number): void;
|
213
|
+
addItem(event: Event, item: string, preventDefault: boolean): void;
|
214
|
+
/**
|
215
|
+
* Callback to invoke on filter reset.
|
216
|
+
* @group Method
|
217
|
+
*/
|
218
|
+
clear(): void;
|
219
|
+
onKeyDown(event: any): void;
|
220
|
+
updateMaxedOut(): void;
|
221
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Chips, never>;
|
222
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Chips, "p-chips", never, { "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "field": { "alias": "field"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "allowDuplicate": { "alias": "allowDuplicate"; "required": false; }; "caseSensitiveDuplication": { "alias": "caseSensitiveDuplication"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "chipIcon": { "alias": "chipIcon"; "required": false; }; "addOnTab": { "alias": "addOnTab"; "required": false; }; "addOnBlur": { "alias": "addOnBlur"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "onAdd": "onAdd"; "onRemove": "onRemove"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onChipClick": "onChipClick"; "onChipContextMenu": "onChipContextMenu"; "onClear": "onClear"; }, ["templates"], never, true, never>;
|
223
|
+
static ngAcceptInputType_disabled: unknown;
|
224
|
+
static ngAcceptInputType_max: unknown;
|
225
|
+
static ngAcceptInputType_tabindex: unknown;
|
226
|
+
static ngAcceptInputType_allowDuplicate: unknown;
|
227
|
+
static ngAcceptInputType_caseSensitiveDuplication: unknown;
|
228
|
+
static ngAcceptInputType_addOnTab: unknown;
|
229
|
+
static ngAcceptInputType_addOnBlur: unknown;
|
230
|
+
static ngAcceptInputType_showClear: unknown;
|
231
|
+
static ngAcceptInputType_autofocus: unknown;
|
232
|
+
}
|
233
|
+
export declare class ChipsModule {
|
234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsModule, never>;
|
235
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChipsModule, never, [typeof Chips, typeof i1.SharedModule], [typeof Chips, typeof i1.SharedModule]>;
|
236
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ChipsModule>;
|
237
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
/**
|
3
|
+
* Custom add event.
|
4
|
+
* @see {@link Chips.onAdd}
|
5
|
+
* @group Events
|
6
|
+
*/
|
7
|
+
export interface ChipsAddEvent {
|
8
|
+
/**
|
9
|
+
* Browser event.
|
10
|
+
*/
|
11
|
+
originalEvent: Event;
|
12
|
+
/**
|
13
|
+
* Added/Removed item value.
|
14
|
+
*/
|
15
|
+
value: any;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Custom remove event.
|
19
|
+
* @see {@link Chips.onRemove}
|
20
|
+
* @extends {ChipsAddEvent}
|
21
|
+
* @group Events
|
22
|
+
*/
|
23
|
+
export interface ChipsRemoveEvent extends ChipsAddEvent {
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Custom click event.
|
27
|
+
* @see {@link Chips.onChipClick}
|
28
|
+
* @extends {ChipsAddEvent}
|
29
|
+
* @group Events
|
30
|
+
*/
|
31
|
+
export interface ChipsClickEvent extends ChipsAddEvent {
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Custom contextmenu event.
|
35
|
+
* @see {@link Chips.onChipContextMenu}
|
36
|
+
* @extends {ChipsAddEvent}
|
37
|
+
* @group Events
|
38
|
+
*/
|
39
|
+
export interface ChipsContextMenuEvent extends ChipsAddEvent {
|
40
|
+
}
|
41
|
+
/**
|
42
|
+
* Defines valid templates in Chips.
|
43
|
+
* @group Templates
|
44
|
+
*/
|
45
|
+
export interface ChipsTemplates {
|
46
|
+
/**
|
47
|
+
* Custom item template.
|
48
|
+
* @param {Object} context - item data.
|
49
|
+
*/
|
50
|
+
item(context: {
|
51
|
+
/**
|
52
|
+
* Value of the chip element.
|
53
|
+
*/
|
54
|
+
$implicit: any;
|
55
|
+
}): TemplateRef<{
|
56
|
+
$implicit: any;
|
57
|
+
}>;
|
58
|
+
/**
|
59
|
+
* Custom remove icon template.
|
60
|
+
*/
|
61
|
+
removetokenicon(): TemplateRef<any>;
|
62
|
+
/**
|
63
|
+
* Custom clear icon template.
|
64
|
+
*/
|
65
|
+
clearicon(): TemplateRef<any>;
|
66
|
+
}
|
package/chips/index.d.ts
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
import { BaseStyle } from 'primeng/base';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class ChipsStyle extends BaseStyle {
|
4
|
+
name: string;
|
5
|
+
theme: ({ dt }: {
|
6
|
+
dt: any;
|
7
|
+
}) => string;
|
8
|
+
classes: {
|
9
|
+
root: ({ instance, props }: {
|
10
|
+
instance: any;
|
11
|
+
props: any;
|
12
|
+
}) => (string | {
|
13
|
+
'p-disabled': any;
|
14
|
+
'p-invalid': any;
|
15
|
+
'p-focus': any;
|
16
|
+
'p-inputwrapper-filled': any;
|
17
|
+
'p-inputwrapper-focus': any;
|
18
|
+
})[];
|
19
|
+
input: ({ props, instance }: {
|
20
|
+
props: any;
|
21
|
+
instance: any;
|
22
|
+
}) => (string | {
|
23
|
+
'p-variant-filled': boolean;
|
24
|
+
})[];
|
25
|
+
chipItem: ({ state, index }: {
|
26
|
+
state: any;
|
27
|
+
index: any;
|
28
|
+
}) => (string | {
|
29
|
+
'p-focus': boolean;
|
30
|
+
})[];
|
31
|
+
pcChip: string;
|
32
|
+
chipIcon: string;
|
33
|
+
inputItem: string;
|
34
|
+
};
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsStyle, never>;
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ChipsStyle>;
|
37
|
+
}
|
38
|
+
/**
|
39
|
+
*
|
40
|
+
* Chips is used to enter multiple values on an input field.
|
41
|
+
*
|
42
|
+
*
|
43
|
+
* @module chipsstyle
|
44
|
+
*
|
45
|
+
*/
|
46
|
+
export declare enum ChipsClasses {
|
47
|
+
/**
|
48
|
+
* Class name of the root element
|
49
|
+
*/
|
50
|
+
root = "p-chip",
|
51
|
+
/**
|
52
|
+
* Class name of the image element
|
53
|
+
*/
|
54
|
+
image = "p-chip-image",
|
55
|
+
/**
|
56
|
+
* Class name of the icon element
|
57
|
+
*/
|
58
|
+
icon = "p-chip-icon",
|
59
|
+
/**
|
60
|
+
* Class name of the label element
|
61
|
+
*/
|
62
|
+
label = "p-chip-label",
|
63
|
+
/**
|
64
|
+
* Class name of the remove icon element
|
65
|
+
*/
|
66
|
+
removeIcon = "p-chip-remove-icon"
|
67
|
+
}
|
68
|
+
export interface ChipsStyle extends BaseStyle {
|
69
|
+
}
|
@@ -761,33 +761,99 @@ export declare class DatePicker extends BaseComponent implements OnInit, AfterCo
|
|
761
761
|
ngOnDestroy(): void;
|
762
762
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePicker, never>;
|
763
763
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatePicker, "p-datePicker, p-datepicker, p-date-picker", never, { "iconDisplay": { "alias": "iconDisplay"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "iconAriaLabel": { "alias": "iconAriaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "multipleSeparator": { "alias": "multipleSeparator"; "required": false; }; "rangeSeparator": { "alias": "rangeSeparator"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "showOtherMonths": { "alias": "showOtherMonths"; "required": false; }; "selectOtherMonths": { "alias": "selectOtherMonths"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "shortYearCutoff": { "alias": "shortYearCutoff"; "required": false; }; "monthNavigator": { "alias": "monthNavigator"; "required": false; }; "yearNavigator": { "alias": "yearNavigator"; "required": false; }; "hourFormat": { "alias": "hourFormat"; "required": false; }; "timeOnly": { "alias": "timeOnly"; "required": false; }; "stepHour": { "alias": "stepHour"; "required": false; }; "stepMinute": { "alias": "stepMinute"; "required": false; }; "stepSecond": { "alias": "stepSecond"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOnFocus": { "alias": "showOnFocus"; "required": false; }; "showWeek": { "alias": "showWeek"; "required": false; }; "startWeekFromFirstDayOfYear": { "alias": "startWeekFromFirstDayOfYear"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "dataType": { "alias": "dataType"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "maxDateCount": { "alias": "maxDateCount"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; "todayButtonStyleClass": { "alias": "todayButtonStyleClass"; "required": false; }; "clearButtonStyleClass": { "alias": "clearButtonStyleClass"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; }; "panelStyle": { "alias": "panelStyle"; "required": false; }; "keepInvalid": { "alias": "keepInvalid"; "required": false; }; "hideOnDateTimeSelect": { "alias": "hideOnDateTimeSelect"; "required": false; }; "touchUI": { "alias": "touchUI"; "required": false; }; "timeSeparator": { "alias": "timeSeparator"; "required": false; }; "focusTrap": { "alias": "focusTrap"; "required": false; }; "showTransitionOptions": { "alias": "showTransitionOptions"; "required": false; }; "hideTransitionOptions": { "alias": "hideTransitionOptions"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "yearRange": { "alias": "yearRange"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "responsiveOptions": { "alias": "responsiveOptions"; "required": false; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "view": { "alias": "view"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; }, { "onFocus": "onFocus"; "onBlur": "onBlur"; "onClose": "onClose"; "onSelect": "onSelect"; "onClear": "onClear"; "onInput": "onInput"; "onTodayClick": "onTodayClick"; "onClearClick": "onClearClick"; "onMonthChange": "onMonthChange"; "onYearChange": "onYearChange"; "onClickOutside": "onClickOutside"; "onShow": "onShow"; }, ["dateTemplate", "headerTemplate", "footerTemplate", "disabledDateTemplate", "decadeTemplate", "previousIconTemplate", "nextIconTemplate", "triggerIconTemplate", "clearIconTemplate", "decrementIconTemplate", "incrementIconTemplate", "inputIconTemplate", "templates"], ["p-header", "p-footer"], true, never>;
|
764
|
-
static ngAcceptInputType_disabled: unknown
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
static
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
static
|
773
|
-
|
764
|
+
static ngAcceptInputType_disabled: unknown /**
|
765
|
+
* Transition options of the show animation.
|
766
|
+
* @group Props
|
767
|
+
*/;
|
768
|
+
static ngAcceptInputType_inline: unknown /**
|
769
|
+
* Transition options of the show animation.
|
770
|
+
* @group Props
|
771
|
+
*/;
|
772
|
+
static ngAcceptInputType_showOtherMonths: unknown /**
|
773
|
+
* Transition options of the show animation.
|
774
|
+
* @group Props
|
775
|
+
*/;
|
776
|
+
static ngAcceptInputType_selectOtherMonths: unknown /**
|
777
|
+
* Transition options of the show animation.
|
778
|
+
* @group Props
|
779
|
+
*/;
|
780
|
+
static ngAcceptInputType_showIcon: unknown /**
|
781
|
+
* Transition options of the show animation.
|
782
|
+
* @group Props
|
783
|
+
*/;
|
784
|
+
static ngAcceptInputType_fluid: unknown /**
|
785
|
+
* Transition options of the show animation.
|
786
|
+
* @group Props
|
787
|
+
*/;
|
788
|
+
static ngAcceptInputType_readonlyInput: unknown /**
|
789
|
+
* Transition options of the show animation.
|
790
|
+
* @group Props
|
791
|
+
*/;
|
792
|
+
static ngAcceptInputType_monthNavigator: unknown /**
|
793
|
+
* Transition options of the show animation.
|
794
|
+
* @group Props
|
795
|
+
*/;
|
796
|
+
static ngAcceptInputType_yearNavigator: unknown /**
|
797
|
+
* Transition options of the show animation.
|
798
|
+
* @group Props
|
799
|
+
*/;
|
800
|
+
static ngAcceptInputType_timeOnly: unknown /**
|
801
|
+
* Transition options of the show animation.
|
802
|
+
* @group Props
|
803
|
+
*/;
|
774
804
|
static ngAcceptInputType_stepHour: unknown;
|
775
805
|
static ngAcceptInputType_stepMinute: unknown;
|
776
806
|
static ngAcceptInputType_stepSecond: unknown;
|
777
|
-
static ngAcceptInputType_showSeconds: unknown
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
static
|
807
|
+
static ngAcceptInputType_showSeconds: unknown /**
|
808
|
+
* Transition options of the show animation.
|
809
|
+
* @group Props
|
810
|
+
*/;
|
811
|
+
static ngAcceptInputType_required: unknown /**
|
812
|
+
* Transition options of the show animation.
|
813
|
+
* @group Props
|
814
|
+
*/;
|
815
|
+
static ngAcceptInputType_showOnFocus: unknown /**
|
816
|
+
* Transition options of the show animation.
|
817
|
+
* @group Props
|
818
|
+
*/;
|
819
|
+
static ngAcceptInputType_showWeek: unknown /**
|
820
|
+
* Transition options of the show animation.
|
821
|
+
* @group Props
|
822
|
+
*/;
|
823
|
+
static ngAcceptInputType_showClear: unknown /**
|
824
|
+
* Transition options of the show animation.
|
825
|
+
* @group Props
|
826
|
+
*/;
|
782
827
|
static ngAcceptInputType_maxDateCount: unknown;
|
783
|
-
static ngAcceptInputType_showButtonBar: unknown
|
784
|
-
|
785
|
-
|
828
|
+
static ngAcceptInputType_showButtonBar: unknown /**
|
829
|
+
* Transition options of the show animation.
|
830
|
+
* @group Props
|
831
|
+
*/;
|
832
|
+
static ngAcceptInputType_autofocus: unknown /**
|
833
|
+
* Transition options of the show animation.
|
834
|
+
* @group Props
|
835
|
+
*/;
|
836
|
+
static ngAcceptInputType_autoZIndex: unknown /**
|
837
|
+
* Transition options of the show animation.
|
838
|
+
* @group Props
|
839
|
+
*/;
|
786
840
|
static ngAcceptInputType_baseZIndex: unknown;
|
787
|
-
static ngAcceptInputType_keepInvalid: unknown
|
788
|
-
|
789
|
-
|
790
|
-
|
841
|
+
static ngAcceptInputType_keepInvalid: unknown /**
|
842
|
+
* Transition options of the show animation.
|
843
|
+
* @group Props
|
844
|
+
*/;
|
845
|
+
static ngAcceptInputType_hideOnDateTimeSelect: unknown /**
|
846
|
+
* Transition options of the show animation.
|
847
|
+
* @group Props
|
848
|
+
*/;
|
849
|
+
static ngAcceptInputType_touchUI: unknown /**
|
850
|
+
* Transition options of the show animation.
|
851
|
+
* @group Props
|
852
|
+
*/;
|
853
|
+
static ngAcceptInputType_focusTrap: unknown /**
|
854
|
+
* Transition options of the show animation.
|
855
|
+
* @group Props
|
856
|
+
*/;
|
791
857
|
static ngAcceptInputType_tabindex: unknown;
|
792
858
|
}
|
793
859
|
export declare class DatePickerModule {
|