@progress/kendo-angular-buttons 17.0.0-develop.3 → 17.0.0-develop.31
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/README.md +27 -106
- package/button/button.component.d.ts +3 -9
- package/button/selection-settings.d.ts +1 -1
- package/buttongroup/buttongroup.component.d.ts +2 -2
- package/chip/chip-list.component.d.ts +4 -4
- package/chip/chip.component.d.ts +4 -7
- package/chip/models/avatar-settings.interface.d.ts +33 -0
- package/chip/models/selection.d.ts +1 -1
- package/common/models/fillmode.d.ts +2 -2
- package/common/models/rounded.d.ts +2 -2
- package/common/models/size.d.ts +3 -3
- package/common/models/theme-color.d.ts +2 -2
- package/direction.d.ts +1 -1
- package/dropdownbutton/dropdownbutton.component.d.ts +7 -10
- package/{esm2020 → esm2022}/button/button.component.mjs +80 -108
- package/{esm2020 → esm2022}/button/button.module.mjs +4 -4
- package/{esm2020 → esm2022}/button/button.service.mjs +5 -7
- package/{esm2020 → esm2022}/buttongroup/buttongroup.component.mjs +79 -56
- package/{esm2020 → esm2022}/buttongroup/buttongroup.module.mjs +4 -4
- package/{esm2020 → esm2022}/buttons.module.mjs +4 -4
- package/{esm2020 → esm2022}/chip/chip-list.component.mjs +58 -48
- package/{esm2020 → esm2022}/chip/chip.component.mjs +155 -93
- package/{esm2020 → esm2022}/chip/chip.module.mjs +4 -4
- package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.component.mjs +130 -118
- package/{esm2020 → esm2022}/dropdownbutton/dropdownbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/floatingactionbutton/dial-item.component.mjs +21 -11
- package/{esm2020 → esm2022}/floatingactionbutton/dial-list.component.mjs +16 -11
- package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.component.mjs +145 -102
- package/{esm2020 → esm2022}/floatingactionbutton/floatingactionbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/floatingactionbutton/templates/dial-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/floatingactionbutton/templates/fab-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/focusable/focus.service.mjs +5 -6
- package/{esm2020 → esm2022}/focusable/focusable.directive.mjs +8 -4
- package/{esm2020 → esm2022}/listbutton/button-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/listbutton/container.service.mjs +5 -3
- package/{esm2020 → esm2022}/listbutton/list-button.mjs +88 -51
- package/{esm2020 → esm2022}/listbutton/list.component.mjs +13 -10
- package/{esm2020 → esm2022}/listbutton/list.module.mjs +8 -8
- package/esm2022/listbutton/popup-settings.mjs +5 -0
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +12 -11
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/splitbutton/localization/custom-messages.component.mjs +7 -6
- package/{esm2020 → esm2022}/splitbutton/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/splitbutton/localization/messages.mjs +45 -0
- package/{esm2020 → esm2022}/splitbutton/splitbutton.component.mjs +213 -189
- package/{esm2020 → esm2022}/splitbutton/splitbutton.module.mjs +4 -4
- package/{esm2020 → esm2022}/util.mjs +6 -0
- package/{fesm2020 → fesm2022}/progress-kendo-angular-buttons.mjs +1324 -1089
- package/floatingactionbutton/dial-item.component.d.ts +1 -1
- package/floatingactionbutton/dial-list.component.d.ts +1 -1
- package/floatingactionbutton/floatingactionbutton.component.d.ts +1 -1
- package/floatingactionbutton/models/position-mode.d.ts +1 -1
- package/focusable/focusable.directive.d.ts +1 -1
- package/index.d.ts +1 -0
- package/listbutton/list-button.d.ts +9 -4
- package/listbutton/list.component.d.ts +1 -1
- package/package.json +15 -21
- package/splitbutton/localization/messages.d.ts +1 -1
- package/splitbutton/splitbutton.component.d.ts +8 -16
- package/util.d.ts +6 -0
- package/esm2020/splitbutton/localization/messages.mjs +0 -23
- package/fesm2015/progress-kendo-angular-buttons.mjs +0 -5589
- /package/{esm2020 → esm2022}/button/selection-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-content-click-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-list-remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chip/chip-remove-event-args.interface.mjs +0 -0
- /package/{esm2020/chip/models/selection.mjs → esm2022/chip/models/avatar-settings.interface.mjs} +0 -0
- /package/{esm2020/common/models/arrow-settings.mjs → esm2022/chip/models/selection.mjs} +0 -0
- /package/{esm2020/common/models/fillmode.mjs → esm2022/common/models/arrow-settings.mjs} +0 -0
- /package/{esm2020/common/models/rounded.mjs → esm2022/common/models/fillmode.mjs} +0 -0
- /package/{esm2020/common/models/size.mjs → esm2022/common/models/rounded.mjs} +0 -0
- /package/{esm2020/common/models/styling-classes.mjs → esm2022/common/models/size.mjs} +0 -0
- /package/{esm2020/common/models/theme-color.mjs → esm2022/common/models/styling-classes.mjs} +0 -0
- /package/{esm2020/direction.mjs → esm2022/common/models/theme-color.mjs} +0 -0
- /package/{esm2020 → esm2022}/common/models.mjs +0 -0
- /package/{esm2020/floatingactionbutton/models/align.mjs → esm2022/direction.mjs} +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/animations/animations.mjs +0 -0
- /package/{esm2020/floatingactionbutton/models/item-animation.interface.mjs → esm2022/floatingactionbutton/models/align.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/item-click.event.mjs → esm2022/floatingactionbutton/models/item-animation.interface.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/item.interface.mjs → esm2022/floatingactionbutton/models/item-click.event.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/offset.mjs → esm2022/floatingactionbutton/models/item.interface.mjs} +0 -0
- /package/{esm2020/floatingactionbutton/models/position-mode.mjs → esm2022/floatingactionbutton/models/offset.mjs} +0 -0
- /package/{esm2020/listbutton/list-item-model.mjs → esm2022/floatingactionbutton/models/position-mode.mjs} +0 -0
- /package/{esm2020 → esm2022}/floatingactionbutton/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020/listbutton/popup-settings.mjs → esm2022/listbutton/list-item-model.mjs} +0 -0
- /package/{esm2020 → esm2022}/navigation/key-events.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-action.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-config.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-buttons.mjs +0 -0
|
@@ -63,101 +63,25 @@ const DEFAULT_THEME_COLOR = 'primary';
|
|
|
63
63
|
*
|
|
64
64
|
*/
|
|
65
65
|
export class FloatingActionButtonComponent {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
this.localizationService = localizationService;
|
|
75
|
-
/**
|
|
76
|
-
* Specifies the positionMode of the FloatingActionButton
|
|
77
|
-
* ([see example](slug:positioning_floatingactionbutton#toc-position-mode)).
|
|
78
|
-
*
|
|
79
|
-
* * The possible values are:
|
|
80
|
-
* * `absolute`—Positions the FloatingActionButton absolutely to its first positioned parent element.
|
|
81
|
-
* * `fixed` (Default)—Positions the FloatingActionButton relative to the viewport. It always stays in the same place even if the page is scrolled.
|
|
82
|
-
*/
|
|
83
|
-
this.positionMode = 'fixed';
|
|
84
|
-
/**
|
|
85
|
-
* Specifies the animation settings of the FloatingActionButton dial items.
|
|
86
|
-
* ([see example]({% slug dialitems_floatingactionbutton %}#toc-animation)).
|
|
87
|
-
*
|
|
88
|
-
* The possible values are:
|
|
89
|
-
* * Boolean
|
|
90
|
-
* * (Default) `true`—Applies the default [`DialItemAnimation`]({% slug api_buttons_dialitemanimation %}) settings.
|
|
91
|
-
* * `false`
|
|
92
|
-
* * `DialItemAnimation`
|
|
93
|
-
* * `duration`—Specifies the animation duration in milliseconds for each dial item. Defaults to `180ms`.
|
|
94
|
-
* * `gap`—Specifies the animation duration gap in milliseconds after each dial item is animated. Defaults to `90ms`.
|
|
95
|
-
*/
|
|
96
|
-
this.dialItemAnimation = true;
|
|
97
|
-
/**
|
|
98
|
-
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the FloatingActionButton.
|
|
99
|
-
*/
|
|
100
|
-
this.tabIndex = 0;
|
|
101
|
-
/**
|
|
102
|
-
* Specifies the collection of the dial items that will be rendered in the FloatingActionButton popup.
|
|
103
|
-
*/
|
|
104
|
-
this.dialItems = [];
|
|
105
|
-
/**
|
|
106
|
-
* Fires each time the FloatingActionButton gets blurred.
|
|
107
|
-
*/
|
|
108
|
-
this.onBlur = new EventEmitter();
|
|
109
|
-
/**
|
|
110
|
-
* Fires each time the FloatingActionButton gets focused.
|
|
111
|
-
*/
|
|
112
|
-
this.onFocus = new EventEmitter();
|
|
113
|
-
/**
|
|
114
|
-
* Fires each time a dial item is clicked.
|
|
115
|
-
*/
|
|
116
|
-
this.dialItemClick = new EventEmitter();
|
|
117
|
-
/**
|
|
118
|
-
* Fires each time the popup is about to open.
|
|
119
|
-
* This event is preventable. If you cancel the event, the popup will remain closed
|
|
120
|
-
* ([more information and example](slug:events_floatingactionbutton)).
|
|
121
|
-
*/
|
|
122
|
-
this.open = new EventEmitter();
|
|
123
|
-
/**
|
|
124
|
-
* Fires each time the popup is about to close.
|
|
125
|
-
* This event is preventable. If you cancel the event, the popup will remain open
|
|
126
|
-
* ([more information and example](slug:events_floatingactionbutton)).
|
|
127
|
-
*/
|
|
128
|
-
this.close = new EventEmitter();
|
|
129
|
-
/**
|
|
130
|
-
* @hidden
|
|
131
|
-
*/
|
|
132
|
-
this.id = `k-${guid()}`;
|
|
133
|
-
/**
|
|
134
|
-
* @hidden
|
|
135
|
-
*/
|
|
136
|
-
this.dialListId = `k-dial-list-${guid()}`;
|
|
137
|
-
this._themeColor = DEFAULT_THEME_COLOR;
|
|
138
|
-
this._size = DEFAULT_SIZE;
|
|
139
|
-
this._rounded = DEFAULT_ROUNDED;
|
|
140
|
-
this._disabled = false;
|
|
141
|
-
this._align = { horizontal: 'end', vertical: 'bottom' };
|
|
142
|
-
this._offset = { x: DEFAULT_OFFSET, y: DEFAULT_OFFSET };
|
|
143
|
-
this.subscriptions = new Subscription();
|
|
144
|
-
this.rtl = false;
|
|
145
|
-
this.animationEnd = new EventEmitter();
|
|
146
|
-
this.initialSetup = true;
|
|
147
|
-
this.focusChangedProgrammatically = false;
|
|
148
|
-
validatePackage(packageMetadata);
|
|
149
|
-
this.subscribeNavigationEvents();
|
|
150
|
-
this.subscriptions.add(this.localizationService.changes.subscribe(({ rtl }) => {
|
|
151
|
-
this.rtl = rtl;
|
|
152
|
-
this.direction = this.rtl ? 'rtl' : 'ltr';
|
|
153
|
-
}));
|
|
154
|
-
}
|
|
66
|
+
renderer;
|
|
67
|
+
element;
|
|
68
|
+
focusService;
|
|
69
|
+
navigationService;
|
|
70
|
+
ngZone;
|
|
71
|
+
popupService;
|
|
72
|
+
builder;
|
|
73
|
+
localizationService;
|
|
155
74
|
get fixedClass() {
|
|
156
75
|
return this.positionMode === 'fixed';
|
|
157
76
|
}
|
|
158
77
|
get absoluteClass() {
|
|
159
78
|
return this.positionMode === 'absolute';
|
|
160
79
|
}
|
|
80
|
+
direction;
|
|
81
|
+
button;
|
|
82
|
+
popupTemplate;
|
|
83
|
+
dialItemTemplate;
|
|
84
|
+
fabTemplate;
|
|
161
85
|
/**
|
|
162
86
|
* Specifies the theme color of the FloatingActionButton
|
|
163
87
|
* ([see example](slug:appearance_floatingactionbutton#toc-theme-colors)).
|
|
@@ -260,12 +184,131 @@ export class FloatingActionButtonComponent {
|
|
|
260
184
|
get offset() {
|
|
261
185
|
return this._offset;
|
|
262
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Specifies the positionMode of the FloatingActionButton
|
|
189
|
+
* ([see example](slug:positioning_floatingactionbutton#toc-position-mode)).
|
|
190
|
+
*
|
|
191
|
+
* * The possible values are:
|
|
192
|
+
* * `absolute`—Positions the FloatingActionButton absolutely to its first positioned parent element.
|
|
193
|
+
* * `fixed` (Default)—Positions the FloatingActionButton relative to the viewport. It always stays in the same place even if the page is scrolled.
|
|
194
|
+
*/
|
|
195
|
+
positionMode = 'fixed';
|
|
196
|
+
/**
|
|
197
|
+
* Defines the name of an existing icon in a Kendo UI theme.
|
|
198
|
+
* If provided, the icon will be rendered inside the FloatingActionButton by a `span.k-icon` element.
|
|
199
|
+
*/
|
|
200
|
+
icon;
|
|
201
|
+
/**
|
|
202
|
+
* Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the FloatingActionButton.
|
|
203
|
+
*/
|
|
204
|
+
svgIcon;
|
|
205
|
+
/**
|
|
206
|
+
* Defines a CSS class or multiple classes separated by spaces which are applied to a `span` element.
|
|
207
|
+
* Allows the usage of custom icons, rendered inside the FloatingActionButton by a `span` element.
|
|
208
|
+
*/
|
|
209
|
+
iconClass;
|
|
210
|
+
/**
|
|
211
|
+
* The CSS classes that will be rendered on the main button.
|
|
212
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
213
|
+
*/
|
|
214
|
+
buttonClass;
|
|
215
|
+
/**
|
|
216
|
+
* The CSS classes that will be rendered on the dial items `ul` element.
|
|
217
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
218
|
+
*/
|
|
219
|
+
dialClass;
|
|
220
|
+
/**
|
|
221
|
+
* Specifies the text content of the FloatingActionButton.
|
|
222
|
+
*/
|
|
223
|
+
text;
|
|
224
|
+
/**
|
|
225
|
+
* Specifies the animation settings of the FloatingActionButton dial items.
|
|
226
|
+
* ([see example]({% slug dialitems_floatingactionbutton %}#toc-animation)).
|
|
227
|
+
*
|
|
228
|
+
* The possible values are:
|
|
229
|
+
* * Boolean
|
|
230
|
+
* * (Default) `true`—Applies the default [`DialItemAnimation`]({% slug api_buttons_dialitemanimation %}) settings.
|
|
231
|
+
* * `false`
|
|
232
|
+
* * `DialItemAnimation`
|
|
233
|
+
* * `duration`—Specifies the animation duration in milliseconds for each dial item. Defaults to `180ms`.
|
|
234
|
+
* * `gap`—Specifies the animation duration gap in milliseconds after each dial item is animated. Defaults to `90ms`.
|
|
235
|
+
*/
|
|
236
|
+
dialItemAnimation = true;
|
|
237
|
+
/**
|
|
238
|
+
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the FloatingActionButton.
|
|
239
|
+
*/
|
|
240
|
+
tabIndex = 0;
|
|
241
|
+
/**
|
|
242
|
+
* Specifies the collection of the dial items that will be rendered in the FloatingActionButton popup.
|
|
243
|
+
*/
|
|
244
|
+
dialItems = [];
|
|
245
|
+
/**
|
|
246
|
+
* Fires each time the FloatingActionButton gets blurred.
|
|
247
|
+
*/
|
|
248
|
+
onBlur = new EventEmitter();
|
|
249
|
+
/**
|
|
250
|
+
* Fires each time the FloatingActionButton gets focused.
|
|
251
|
+
*/
|
|
252
|
+
onFocus = new EventEmitter();
|
|
253
|
+
/**
|
|
254
|
+
* Fires each time a dial item is clicked.
|
|
255
|
+
*/
|
|
256
|
+
dialItemClick = new EventEmitter();
|
|
257
|
+
/**
|
|
258
|
+
* Fires each time the popup is about to open.
|
|
259
|
+
* This event is preventable. If you cancel the event, the popup will remain closed
|
|
260
|
+
* ([more information and example](slug:events_floatingactionbutton)).
|
|
261
|
+
*/
|
|
262
|
+
open = new EventEmitter();
|
|
263
|
+
/**
|
|
264
|
+
* Fires each time the popup is about to close.
|
|
265
|
+
* This event is preventable. If you cancel the event, the popup will remain open
|
|
266
|
+
* ([more information and example](slug:events_floatingactionbutton)).
|
|
267
|
+
*/
|
|
268
|
+
close = new EventEmitter();
|
|
263
269
|
/**
|
|
264
270
|
* @hidden
|
|
265
271
|
*/
|
|
266
272
|
get componentTabIndex() {
|
|
267
273
|
return this.disabled ? (-1) : this.tabIndex;
|
|
268
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* @hidden
|
|
277
|
+
*/
|
|
278
|
+
id = `k-${guid()}`;
|
|
279
|
+
/**
|
|
280
|
+
* @hidden
|
|
281
|
+
*/
|
|
282
|
+
dialListId = `k-dial-list-${guid()}`;
|
|
283
|
+
_themeColor = DEFAULT_THEME_COLOR;
|
|
284
|
+
_size = DEFAULT_SIZE;
|
|
285
|
+
_rounded = DEFAULT_ROUNDED;
|
|
286
|
+
_disabled = false;
|
|
287
|
+
_align = { horizontal: 'end', vertical: 'bottom' };
|
|
288
|
+
_offset = { x: DEFAULT_OFFSET, y: DEFAULT_OFFSET };
|
|
289
|
+
subscriptions = new Subscription();
|
|
290
|
+
popupMouseDownListener;
|
|
291
|
+
rtl = false;
|
|
292
|
+
animationEnd = new EventEmitter();
|
|
293
|
+
popupRef;
|
|
294
|
+
initialSetup = true;
|
|
295
|
+
focusChangedProgrammatically = false;
|
|
296
|
+
constructor(renderer, element, focusService, navigationService, ngZone, popupService, builder, localizationService) {
|
|
297
|
+
this.renderer = renderer;
|
|
298
|
+
this.element = element;
|
|
299
|
+
this.focusService = focusService;
|
|
300
|
+
this.navigationService = navigationService;
|
|
301
|
+
this.ngZone = ngZone;
|
|
302
|
+
this.popupService = popupService;
|
|
303
|
+
this.builder = builder;
|
|
304
|
+
this.localizationService = localizationService;
|
|
305
|
+
validatePackage(packageMetadata);
|
|
306
|
+
this.subscribeNavigationEvents();
|
|
307
|
+
this.subscriptions.add(this.localizationService.changes.subscribe(({ rtl }) => {
|
|
308
|
+
this.rtl = rtl;
|
|
309
|
+
this.direction = this.rtl ? 'rtl' : 'ltr';
|
|
310
|
+
}));
|
|
311
|
+
}
|
|
269
312
|
ngAfterViewInit() {
|
|
270
313
|
['size', 'rounded', 'themeColor'].forEach(option => this.handleClasses(this[option], option));
|
|
271
314
|
this.renderer.addClass(this.element.nativeElement, this.alignClass());
|
|
@@ -721,18 +764,17 @@ export class FloatingActionButtonComponent {
|
|
|
721
764
|
}
|
|
722
765
|
return DEFAULT_DURATION;
|
|
723
766
|
}
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
}
|
|
735
|
-
], queries: [{ propertyName: "dialItemTemplate", first: true, predicate: DialItemTemplateDirective, descendants: true }, { propertyName: "fabTemplate", first: true, predicate: FloatingActionButtonTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
767
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.FocusService }, { token: i2.NavigationService }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i4.AnimationBuilder }, { token: i5.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
768
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FloatingActionButtonComponent, isStandalone: true, selector: "kendo-floatingactionbutton", inputs: { themeColor: "themeColor", size: "size", rounded: "rounded", disabled: "disabled", align: "align", offset: "offset", positionMode: "positionMode", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", buttonClass: "buttonClass", dialClass: "dialClass", text: "text", dialItemAnimation: "dialItemAnimation", tabIndex: "tabIndex", dialItems: "dialItems" }, outputs: { onBlur: "blur", onFocus: "focus", dialItemClick: "dialItemClick", open: "open", close: "close" }, host: { properties: { "class.k-pos-fixed": "this.fixedClass", "class.k-pos-absolute": "this.absoluteClass", "attr.dir": "this.direction" } }, providers: [
|
|
769
|
+
FocusService,
|
|
770
|
+
NavigationService,
|
|
771
|
+
NAVIGATION_SETTINGS_PROVIDER,
|
|
772
|
+
LocalizationService,
|
|
773
|
+
{
|
|
774
|
+
provide: L10N_PREFIX,
|
|
775
|
+
useValue: 'kendo.floatingactionbutton'
|
|
776
|
+
}
|
|
777
|
+
], queries: [{ propertyName: "dialItemTemplate", first: true, predicate: DialItemTemplateDirective, descendants: true }, { propertyName: "fabTemplate", first: true, predicate: FloatingActionButtonTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
736
778
|
<button
|
|
737
779
|
#button
|
|
738
780
|
[attr.id]="id"
|
|
@@ -790,7 +832,8 @@ FloatingActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
790
832
|
</ul>
|
|
791
833
|
</ng-template>
|
|
792
834
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: DialListComponent, selector: "[kendoDialList]", inputs: ["dialItems", "dialItemTemplate", "align"] }] });
|
|
793
|
-
|
|
835
|
+
}
|
|
836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonComponent, decorators: [{
|
|
794
837
|
type: Component,
|
|
795
838
|
args: [{
|
|
796
839
|
selector: 'kendo-floatingactionbutton',
|
|
@@ -41,11 +41,11 @@ import * as i3 from "./templates/fab-template.directive";
|
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
43
|
export class FloatingActionButtonModule {
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
45
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonModule, imports: [i1.FloatingActionButtonComponent, i2.DialItemTemplateDirective, i3.FloatingActionButtonTemplateDirective], exports: [i1.FloatingActionButtonComponent, i2.DialItemTemplateDirective, i3.FloatingActionButtonTemplateDirective] });
|
|
46
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.FloatingActionButtonComponent] });
|
|
44
47
|
}
|
|
45
|
-
|
|
46
|
-
FloatingActionButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FloatingActionButtonModule, imports: [i1.FloatingActionButtonComponent, i2.DialItemTemplateDirective, i3.FloatingActionButtonTemplateDirective], exports: [i1.FloatingActionButtonComponent, i2.DialItemTemplateDirective, i3.FloatingActionButtonTemplateDirective] });
|
|
47
|
-
FloatingActionButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FloatingActionButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.FloatingActionButtonComponent] });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FloatingActionButtonModule, decorators: [{
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonModule, decorators: [{
|
|
49
49
|
type: NgModule,
|
|
50
50
|
args: [{
|
|
51
51
|
exports: [...KENDO_FLOATINGACTIONBUTTON],
|
|
@@ -11,13 +11,14 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* ([see example]({% slug templates_floatingactionbutton %}#toc-dial-item-template)).
|
|
12
12
|
*/
|
|
13
13
|
export class DialItemTemplateDirective {
|
|
14
|
+
templateRef;
|
|
14
15
|
constructor(templateRef) {
|
|
15
16
|
this.templateRef = templateRef;
|
|
16
17
|
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DialItemTemplateDirective, isStandalone: true, selector: "[kendoDialItemTemplate]", ngImport: i0 });
|
|
17
20
|
}
|
|
18
|
-
|
|
19
|
-
DialItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialItemTemplateDirective, isStandalone: true, selector: "[kendoDialItemTemplate]", ngImport: i0 });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialItemTemplateDirective, decorators: [{
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialItemTemplateDirective, decorators: [{
|
|
21
22
|
type: Directive,
|
|
22
23
|
args: [{
|
|
23
24
|
selector: '[kendoDialItemTemplate]',
|
|
@@ -11,13 +11,14 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* ([see example]({% slug templates_floatingactionbutton %}#toc-floatingactionbutton-template)).
|
|
12
12
|
*/
|
|
13
13
|
export class FloatingActionButtonTemplateDirective {
|
|
14
|
+
templateRef;
|
|
14
15
|
constructor(templateRef) {
|
|
15
16
|
this.templateRef = templateRef;
|
|
16
17
|
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FloatingActionButtonTemplateDirective, isStandalone: true, selector: "[kendoFloatingActionButtonTemplate]", ngImport: i0 });
|
|
17
20
|
}
|
|
18
|
-
|
|
19
|
-
FloatingActionButtonTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FloatingActionButtonTemplateDirective, isStandalone: true, selector: "[kendoFloatingActionButtonTemplate]", ngImport: i0 });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FloatingActionButtonTemplateDirective, decorators: [{
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FloatingActionButtonTemplateDirective, decorators: [{
|
|
21
22
|
type: Directive,
|
|
22
23
|
args: [{
|
|
23
24
|
selector: '[kendoFloatingActionButtonTemplate]',
|
|
@@ -8,9 +8,8 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export class FocusService {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
11
|
+
onFocus = new EventEmitter();
|
|
12
|
+
focusedIndex;
|
|
14
13
|
isFocused(index) {
|
|
15
14
|
return index === this.focused;
|
|
16
15
|
}
|
|
@@ -31,9 +30,9 @@ export class FocusService {
|
|
|
31
30
|
this.focusedIndex = index;
|
|
32
31
|
this.onFocus.emit(index);
|
|
33
32
|
}
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FocusService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
34
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FocusService });
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
-
FocusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusService });
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusService, decorators: [{
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FocusService, decorators: [{
|
|
38
37
|
type: Injectable
|
|
39
38
|
}] });
|
|
@@ -12,10 +12,14 @@ import * as i1 from "./focus.service";
|
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
14
|
export class FocusableDirective {
|
|
15
|
+
focusService;
|
|
16
|
+
renderer;
|
|
17
|
+
index;
|
|
18
|
+
element;
|
|
19
|
+
subs = new Subscription();
|
|
15
20
|
constructor(focusService, elementRef, renderer) {
|
|
16
21
|
this.focusService = focusService;
|
|
17
22
|
this.renderer = renderer;
|
|
18
|
-
this.subs = new Subscription();
|
|
19
23
|
this.element = elementRef.nativeElement;
|
|
20
24
|
this.subscribeEvents();
|
|
21
25
|
}
|
|
@@ -49,10 +53,10 @@ export class FocusableDirective {
|
|
|
49
53
|
}
|
|
50
54
|
}));
|
|
51
55
|
}
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FocusableDirective, deps: [{ token: i1.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
57
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FocusableDirective, isStandalone: true, selector: "[kendoButtonFocusable]", inputs: { index: "index" }, ngImport: i0 });
|
|
52
58
|
}
|
|
53
|
-
|
|
54
|
-
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusableDirective, isStandalone: true, selector: "[kendoButtonFocusable]", inputs: { index: "index" }, ngImport: i0 });
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
56
60
|
type: Directive,
|
|
57
61
|
args: [{
|
|
58
62
|
selector: '[kendoButtonFocusable]',
|
|
@@ -53,13 +53,14 @@ import * as i0 from "@angular/core";
|
|
|
53
53
|
* For more examples, refer to the article on the [DropDownButton templates](slug:itemstemplates_dropdownbutton).
|
|
54
54
|
*/
|
|
55
55
|
export class ButtonItemTemplateDirective {
|
|
56
|
+
templateRef;
|
|
56
57
|
constructor(templateRef) {
|
|
57
58
|
this.templateRef = templateRef;
|
|
58
59
|
}
|
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
61
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ButtonItemTemplateDirective, isStandalone: true, selector: "[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]", ngImport: i0 });
|
|
59
62
|
}
|
|
60
|
-
|
|
61
|
-
ButtonItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ButtonItemTemplateDirective, isStandalone: true, selector: "[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]", ngImport: i0 });
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonItemTemplateDirective, decorators: [{
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonItemTemplateDirective, decorators: [{
|
|
63
64
|
type: Directive,
|
|
64
65
|
args: [{
|
|
65
66
|
selector: '[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]',
|
|
@@ -8,9 +8,11 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export class PopupContainerService {
|
|
11
|
+
container;
|
|
12
|
+
template;
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupContainerService });
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
PopupContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupContainerService });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupContainerService, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupContainerService, decorators: [{
|
|
15
17
|
type: Injectable
|
|
16
18
|
}] });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter, ElementRef, NgZone, ChangeDetectorRef, Component, Input, Output } from '@angular/core';
|
|
5
|
+
import { EventEmitter, ElementRef, NgZone, ChangeDetectorRef, Component, Input, ViewContainerRef, Output, ViewChild, TemplateRef } from '@angular/core';
|
|
6
6
|
import { Subscription, fromEvent, merge } from 'rxjs';
|
|
7
7
|
import { filter, tap } from 'rxjs/operators';
|
|
8
8
|
import { FocusService } from './../focusable/focus.service';
|
|
@@ -18,6 +18,7 @@ import { PopupService } from '@progress/kendo-angular-popup';
|
|
|
18
18
|
import { isPresent } from '../util';
|
|
19
19
|
import { PopupContainerService } from './container.service';
|
|
20
20
|
import { MultiTabStop } from '@progress/kendo-angular-common';
|
|
21
|
+
import { ListComponent } from './list.component';
|
|
21
22
|
import * as i0 from "@angular/core";
|
|
22
23
|
import * as i1 from "./../focusable/focus.service";
|
|
23
24
|
import * as i2 from "./../navigation/navigation.service";
|
|
@@ -28,52 +29,33 @@ import * as i5 from "./container.service";
|
|
|
28
29
|
* @hidden
|
|
29
30
|
*/
|
|
30
31
|
export class ListButton extends MultiTabStop {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Fires each time the popup is about to close.
|
|
60
|
-
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
61
|
-
*/
|
|
62
|
-
this.close = new EventEmitter();
|
|
63
|
-
/**
|
|
64
|
-
* Needed by the kendoToggleButtonTabStop directive
|
|
65
|
-
*
|
|
66
|
-
* @hidden
|
|
67
|
-
*/
|
|
68
|
-
this.escape = new EventEmitter();
|
|
69
|
-
this.isClosePrevented = false;
|
|
70
|
-
validatePackage(packageMetadata);
|
|
71
|
-
this.focusService = focusService;
|
|
72
|
-
this.navigationService = navigationService;
|
|
73
|
-
this.wrapper = wrapperRef.nativeElement;
|
|
74
|
-
this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
75
|
-
this.subscribeEvents();
|
|
76
|
-
}
|
|
32
|
+
focusService;
|
|
33
|
+
navigationService;
|
|
34
|
+
wrapperRef;
|
|
35
|
+
_zone;
|
|
36
|
+
popupService;
|
|
37
|
+
elRef;
|
|
38
|
+
cdr;
|
|
39
|
+
containerService;
|
|
40
|
+
listId = guid();
|
|
41
|
+
buttonId = guid();
|
|
42
|
+
_data;
|
|
43
|
+
_open = false;
|
|
44
|
+
_disabled = false;
|
|
45
|
+
_active = false;
|
|
46
|
+
_popupSettings = { animate: true, popupClass: '' };
|
|
47
|
+
_isFocused = false;
|
|
48
|
+
_itemClick;
|
|
49
|
+
_blur;
|
|
50
|
+
wrapper;
|
|
51
|
+
subs = new Subscription();
|
|
52
|
+
direction;
|
|
53
|
+
popupRef;
|
|
54
|
+
popupSubs = new Subscription();
|
|
55
|
+
button;
|
|
56
|
+
buttonList;
|
|
57
|
+
popupTemplate;
|
|
58
|
+
container;
|
|
77
59
|
/**
|
|
78
60
|
* Sets the disabled state of the DropDownButton.
|
|
79
61
|
*/
|
|
@@ -86,6 +68,31 @@ export class ListButton extends MultiTabStop {
|
|
|
86
68
|
get disabled() {
|
|
87
69
|
return this._disabled;
|
|
88
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
73
|
+
*/
|
|
74
|
+
tabIndex = 0;
|
|
75
|
+
/**
|
|
76
|
+
* The CSS classes that will be rendered on the main button.
|
|
77
|
+
* Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
78
|
+
*/
|
|
79
|
+
buttonClass;
|
|
80
|
+
/**
|
|
81
|
+
* Fires each time the popup is about to open.
|
|
82
|
+
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
83
|
+
*/
|
|
84
|
+
open = new EventEmitter();
|
|
85
|
+
/**
|
|
86
|
+
* Fires each time the popup is about to close.
|
|
87
|
+
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
88
|
+
*/
|
|
89
|
+
close = new EventEmitter();
|
|
90
|
+
/**
|
|
91
|
+
* Needed by the kendoToggleButtonTabStop directive
|
|
92
|
+
*
|
|
93
|
+
* @hidden
|
|
94
|
+
*/
|
|
95
|
+
escape = new EventEmitter();
|
|
89
96
|
/**
|
|
90
97
|
* @hidden
|
|
91
98
|
*/
|
|
@@ -134,6 +141,24 @@ export class ListButton extends MultiTabStop {
|
|
|
134
141
|
}
|
|
135
142
|
return align;
|
|
136
143
|
}
|
|
144
|
+
isClosePrevented = false;
|
|
145
|
+
constructor(focusService, navigationService, wrapperRef, _zone, popupService, elRef, localization, cdr, containerService) {
|
|
146
|
+
super();
|
|
147
|
+
this.focusService = focusService;
|
|
148
|
+
this.navigationService = navigationService;
|
|
149
|
+
this.wrapperRef = wrapperRef;
|
|
150
|
+
this._zone = _zone;
|
|
151
|
+
this.popupService = popupService;
|
|
152
|
+
this.elRef = elRef;
|
|
153
|
+
this.cdr = cdr;
|
|
154
|
+
this.containerService = containerService;
|
|
155
|
+
validatePackage(packageMetadata);
|
|
156
|
+
this.focusService = focusService;
|
|
157
|
+
this.navigationService = navigationService;
|
|
158
|
+
this.wrapper = wrapperRef.nativeElement;
|
|
159
|
+
this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
160
|
+
this.subscribeEvents();
|
|
161
|
+
}
|
|
137
162
|
ngOnChanges(changes) {
|
|
138
163
|
if (isChanged("popupSettings", changes) && isPresent(this.popupRef)) {
|
|
139
164
|
const popup = this.popupRef.popup.instance;
|
|
@@ -394,15 +419,27 @@ export class ListButton extends MultiTabStop {
|
|
|
394
419
|
this.isClosePrevented = false;
|
|
395
420
|
}
|
|
396
421
|
}
|
|
422
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListButton, deps: [{ token: i1.FocusService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i4.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i5.PopupContainerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
423
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListButton, selector: "ng-component", inputs: { disabled: "disabled", tabIndex: "tabIndex", buttonClass: "buttonClass", popupSettings: "popupSettings" }, outputs: { open: "open", close: "close", escape: "escape" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, read: ElementRef }, { propertyName: "buttonList", first: true, predicate: ["buttonList"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
397
424
|
}
|
|
398
|
-
|
|
399
|
-
ListButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ListButton, selector: "ng-component", inputs: { disabled: "disabled", tabIndex: "tabIndex", buttonClass: "buttonClass", popupSettings: "popupSettings" }, outputs: { open: "open", close: "close", escape: "escape" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListButton, decorators: [{
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListButton, decorators: [{
|
|
401
426
|
type: Component,
|
|
402
427
|
args: [{
|
|
403
428
|
template: ''
|
|
404
429
|
}]
|
|
405
|
-
}], ctorParameters: function () { return [{ type: i1.FocusService }, { type: i2.NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.PopupService }, { type: i0.ElementRef }, { type: i4.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i5.PopupContainerService }]; }, propDecorators: {
|
|
430
|
+
}], ctorParameters: function () { return [{ type: i1.FocusService }, { type: i2.NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.PopupService }, { type: i0.ElementRef }, { type: i4.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i5.PopupContainerService }]; }, propDecorators: { button: [{
|
|
431
|
+
type: ViewChild,
|
|
432
|
+
args: ['button', { read: ElementRef }]
|
|
433
|
+
}], buttonList: [{
|
|
434
|
+
type: ViewChild,
|
|
435
|
+
args: ['buttonList']
|
|
436
|
+
}], popupTemplate: [{
|
|
437
|
+
type: ViewChild,
|
|
438
|
+
args: ['popupTemplate']
|
|
439
|
+
}], container: [{
|
|
440
|
+
type: ViewChild,
|
|
441
|
+
args: ['container', { read: ViewContainerRef }]
|
|
442
|
+
}], disabled: [{
|
|
406
443
|
type: Input
|
|
407
444
|
}], tabIndex: [{
|
|
408
445
|
type: Input
|