@syncfusion/ej2-angular-splitbuttons 31.2.12-ngcc → 32.1.19-ngcc

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.
@@ -1,572 +1,563 @@
1
- /*!
2
- * filename: ej2-angular-splitbuttons.umd.js
3
- * version : 31.2.12
4
- * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  (function (global, factory) {
11
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-splitbuttons'), require('@angular/common')) :
12
3
  typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-splitbuttons', '@angular/common'], factory) :
13
4
  (factory((global['ej2-angular-splitbuttons'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.splitbuttons,global.ng.common));
14
5
  }(this, (function (exports,core,ej2AngularBase,ej2Splitbuttons,common) { 'use strict';
15
6
 
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
- return function (d, b) {
21
- extendStatics(d, b);
22
- function __() { this.constructor = d; }
23
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
- };
25
- })();
26
- var input = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
27
- var outputs = [];
28
- var DropDownButtonItemDirective = /** @class */ (function (_super) {
29
- __extends(DropDownButtonItemDirective, _super);
30
- /**
31
- * @param {?} viewContainerRef
32
- */
33
- function DropDownButtonItemDirective(viewContainerRef) {
34
- var _this = _super.call(this) || this;
35
- _this.viewContainerRef = viewContainerRef;
36
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
37
- _this.registerEvents(outputs);
38
- _this.directivePropList = input;
39
- return _this;
40
- }
41
- return DropDownButtonItemDirective;
42
- }(ej2AngularBase.ComplexBase));
43
- DropDownButtonItemDirective.decorators = [
44
- { type: core.Directive, args: [{
45
- selector: 'e-dropdownbuttonitems>e-dropdownbuttonitem',
46
- inputs: input,
47
- outputs: outputs,
48
- queries: {}
49
- },] },
50
- ];
51
- /**
52
- * @nocollapse
53
- */
54
- DropDownButtonItemDirective.ctorParameters = function () { return [
55
- { type: core.ViewContainerRef, },
56
- ]; };
57
- /**
58
- * DropDownButtonItem Array Directive
59
- */
60
- var DropDownButtonItemsDirective = /** @class */ (function (_super) {
61
- __extends(DropDownButtonItemsDirective, _super);
62
- function DropDownButtonItemsDirective() {
63
- return _super.call(this, 'items') || this;
64
- }
65
- return DropDownButtonItemsDirective;
66
- }(ej2AngularBase.ArrayBase));
67
- DropDownButtonItemsDirective.decorators = [
68
- { type: core.Directive, args: [{
69
- selector: 'ejs-dropdownbutton>e-dropdownbuttonitems',
70
- queries: {
71
- children: new core.ContentChildren(DropDownButtonItemDirective)
72
- },
73
- },] },
74
- ];
75
- /**
76
- * @nocollapse
77
- */
78
- DropDownButtonItemsDirective.ctorParameters = function () { return []; };
79
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
80
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
81
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
82
- r = Reflect.decorate(decorators, target, key, desc);
83
- else
84
- for (var i = decorators.length - 1; i >= 0; i--)
85
- if (d = decorators[i])
86
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
87
- return c > 3 && r && Object.defineProperty(target, key, r), r;
88
- };
89
- var __metadata = (this && this.__metadata) || function (k, v) {
90
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
91
- return Reflect.metadata(k, v);
92
- };
93
- var inputs = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
94
- var outputs$1 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'close', 'created', 'open', 'select'];
95
- var twoWays = [];
96
- /**
97
- * Represents the Angular DropDownButton Component.
98
- * ```html
99
- * <button ejs-dropdownbutton>DropDownButton</button>
100
- * ```
101
- */
102
- exports.DropDownButtonComponent = /** @class */ (function (_super) {
103
- __extends(DropDownButtonComponent, _super);
104
- /**
105
- * @param {?} ngEle
106
- * @param {?} srenderer
107
- * @param {?} viewContainerRef
108
- * @param {?} injector
109
- */
110
- function DropDownButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
111
- var _this = _super.call(this) || this;
112
- _this.ngEle = ngEle;
113
- _this.srenderer = srenderer;
114
- _this.viewContainerRef = viewContainerRef;
115
- _this.injector = injector;
116
- _this.tags = ['items'];
117
- _this.element = _this.ngEle.nativeElement;
118
- _this.injectedModules = _this.injectedModules || [];
119
- _this.registerEvents(outputs$1);
120
- _this.addTwoWay.call(_this, twoWays);
121
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
122
- _this.containerContext = new ej2AngularBase.ComponentBase();
123
- return _this;
124
- }
125
- /**
126
- * @return {?}
127
- */
128
- DropDownButtonComponent.prototype.ngOnInit = function () {
129
- this.containerContext.ngOnInit(this);
130
- };
131
- /**
132
- * @return {?}
133
- */
134
- DropDownButtonComponent.prototype.ngAfterViewInit = function () {
135
- this.containerContext.ngAfterViewInit(this);
136
- };
137
- /**
138
- * @return {?}
139
- */
140
- DropDownButtonComponent.prototype.ngOnDestroy = function () {
141
- this.containerContext.ngOnDestroy(this);
142
- };
143
- /**
144
- * @return {?}
145
- */
146
- DropDownButtonComponent.prototype.ngAfterContentChecked = function () {
147
- this.tagObjects[0].instance = this.childItems;
148
- this.containerContext.ngAfterContentChecked(this);
149
- };
150
- return DropDownButtonComponent;
151
- }(ej2Splitbuttons.DropDownButton));
152
- exports.DropDownButtonComponent.decorators = [
153
- { type: core.Component, args: [{
154
- selector: '[ejs-dropdownbutton]',
155
- inputs: inputs,
156
- outputs: outputs$1,
157
- template: "<ng-content ></ng-content>",
158
- changeDetection: core.ChangeDetectionStrategy.OnPush,
159
- queries: {
160
- childItems: new core.ContentChild(DropDownButtonItemsDirective)
161
- }
162
- },] },
163
- ];
164
- /**
165
- * @nocollapse
166
- */
167
- exports.DropDownButtonComponent.ctorParameters = function () { return [
168
- { type: core.ElementRef, },
169
- { type: core.Renderer2, },
170
- { type: core.ViewContainerRef, },
171
- { type: core.Injector, },
172
- ]; };
173
- exports.DropDownButtonComponent = __decorate([
174
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
175
- __metadata("design:paramtypes", [core.ElementRef,
176
- core.Renderer2,
177
- core.ViewContainerRef,
178
- core.Injector])
179
- ], exports.DropDownButtonComponent);
180
- /**
181
- * NgModule definition for the DropDownButton component.
182
- */
183
- var DropDownButtonModule = /** @class */ (function () {
184
- function DropDownButtonModule() {
185
- }
186
- return DropDownButtonModule;
187
- }());
188
- DropDownButtonModule.decorators = [
189
- { type: core.NgModule, args: [{
190
- imports: [common.CommonModule],
191
- declarations: [
192
- exports.DropDownButtonComponent,
193
- DropDownButtonItemDirective,
194
- DropDownButtonItemsDirective
195
- ],
196
- exports: [
197
- exports.DropDownButtonComponent,
198
- DropDownButtonItemDirective,
199
- DropDownButtonItemsDirective
200
- ]
201
- },] },
202
- ];
203
- /**
204
- * @nocollapse
205
- */
206
- DropDownButtonModule.ctorParameters = function () { return []; };
207
- /**
208
- * NgModule definition for the DropDownButton component with providers.
209
- */
210
- var DropDownButtonAllModule = /** @class */ (function () {
211
- function DropDownButtonAllModule() {
212
- }
213
- return DropDownButtonAllModule;
214
- }());
215
- DropDownButtonAllModule.decorators = [
216
- { type: core.NgModule, args: [{
217
- imports: [common.CommonModule, DropDownButtonModule],
218
- exports: [
219
- DropDownButtonModule
220
- ],
221
- providers: []
222
- },] },
223
- ];
224
- /**
225
- * @nocollapse
226
- */
227
- DropDownButtonAllModule.ctorParameters = function () { return []; };
228
- var input$1 = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
229
- var outputs$2 = [];
230
- var SplitButtonItemDirective = /** @class */ (function (_super) {
231
- __extends(SplitButtonItemDirective, _super);
232
- /**
233
- * @param {?} viewContainerRef
234
- */
235
- function SplitButtonItemDirective(viewContainerRef) {
236
- var _this = _super.call(this) || this;
237
- _this.viewContainerRef = viewContainerRef;
238
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
239
- _this.registerEvents(outputs$2);
240
- _this.directivePropList = input$1;
241
- return _this;
242
- }
243
- return SplitButtonItemDirective;
244
- }(ej2AngularBase.ComplexBase));
245
- SplitButtonItemDirective.decorators = [
246
- { type: core.Directive, args: [{
247
- selector: 'e-splitbuttonitems>e-splitbuttonitem',
248
- inputs: input$1,
249
- outputs: outputs$2,
250
- queries: {}
251
- },] },
252
- ];
253
- /**
254
- * @nocollapse
255
- */
256
- SplitButtonItemDirective.ctorParameters = function () { return [
257
- { type: core.ViewContainerRef, },
258
- ]; };
259
- /**
260
- * SplitButtonItem Array Directive
261
- */
262
- var SplitButtonItemsDirective = /** @class */ (function (_super) {
263
- __extends(SplitButtonItemsDirective, _super);
264
- function SplitButtonItemsDirective() {
265
- return _super.call(this, 'items') || this;
266
- }
267
- return SplitButtonItemsDirective;
268
- }(ej2AngularBase.ArrayBase));
269
- SplitButtonItemsDirective.decorators = [
270
- { type: core.Directive, args: [{
271
- selector: 'ejs-splitbutton>e-splitbuttonitems',
272
- queries: {
273
- children: new core.ContentChildren(SplitButtonItemDirective)
274
- },
275
- },] },
276
- ];
277
- /**
278
- * @nocollapse
279
- */
280
- SplitButtonItemsDirective.ctorParameters = function () { return []; };
281
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
282
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
283
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
284
- r = Reflect.decorate(decorators, target, key, desc);
285
- else
286
- for (var i = decorators.length - 1; i >= 0; i--)
287
- if (d = decorators[i])
288
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
289
- return c > 3 && r && Object.defineProperty(target, key, r), r;
290
- };
291
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
292
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
293
- return Reflect.metadata(k, v);
294
- };
295
- var inputs$1 = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
296
- var outputs$3 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'click', 'close', 'created', 'open', 'select'];
297
- var twoWays$1 = [];
298
- /**
299
- * Represents the Angular SplitButton Component.
300
- * ```html
301
- * <ejs-splitbutton content='Split Button'></ejs-splitbutton>
302
- * ```
303
- */
304
- exports.SplitButtonComponent = /** @class */ (function (_super) {
305
- __extends(SplitButtonComponent, _super);
306
- /**
307
- * @param {?} ngEle
308
- * @param {?} srenderer
309
- * @param {?} viewContainerRef
310
- * @param {?} injector
311
- */
312
- function SplitButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
313
- var _this = _super.call(this) || this;
314
- _this.ngEle = ngEle;
315
- _this.srenderer = srenderer;
316
- _this.viewContainerRef = viewContainerRef;
317
- _this.injector = injector;
318
- _this.tags = ['items'];
319
- _this.element = _this.ngEle.nativeElement;
320
- _this.injectedModules = _this.injectedModules || [];
321
- _this.registerEvents(outputs$3);
322
- _this.addTwoWay.call(_this, twoWays$1);
323
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
324
- _this.containerContext = new ej2AngularBase.ComponentBase();
325
- return _this;
326
- }
327
- /**
328
- * @return {?}
329
- */
330
- SplitButtonComponent.prototype.ngOnInit = function () {
331
- this.containerContext.ngOnInit(this);
332
- };
333
- /**
334
- * @return {?}
335
- */
336
- SplitButtonComponent.prototype.ngAfterViewInit = function () {
337
- this.containerContext.ngAfterViewInit(this);
338
- };
339
- /**
340
- * @return {?}
341
- */
342
- SplitButtonComponent.prototype.ngOnDestroy = function () {
343
- this.containerContext.ngOnDestroy(this);
344
- };
345
- /**
346
- * @return {?}
347
- */
348
- SplitButtonComponent.prototype.ngAfterContentChecked = function () {
349
- this.tagObjects[0].instance = this.childItems;
350
- this.containerContext.ngAfterContentChecked(this);
351
- };
352
- return SplitButtonComponent;
353
- }(ej2Splitbuttons.SplitButton));
354
- exports.SplitButtonComponent.decorators = [
355
- { type: core.Component, args: [{
356
- selector: 'ejs-splitbutton',
357
- inputs: inputs$1,
358
- outputs: outputs$3,
359
- template: "<ng-content ></ng-content>",
360
- changeDetection: core.ChangeDetectionStrategy.OnPush,
361
- queries: {
362
- childItems: new core.ContentChild(SplitButtonItemsDirective)
363
- }
364
- },] },
365
- ];
366
- /**
367
- * @nocollapse
368
- */
369
- exports.SplitButtonComponent.ctorParameters = function () { return [
370
- { type: core.ElementRef, },
371
- { type: core.Renderer2, },
372
- { type: core.ViewContainerRef, },
373
- { type: core.Injector, },
374
- ]; };
375
- exports.SplitButtonComponent = __decorate$1([
376
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
377
- __metadata$1("design:paramtypes", [core.ElementRef,
378
- core.Renderer2,
379
- core.ViewContainerRef,
380
- core.Injector])
381
- ], exports.SplitButtonComponent);
382
- /**
383
- * NgModule definition for the SplitButton component.
384
- */
385
- var SplitButtonModule = /** @class */ (function () {
386
- function SplitButtonModule() {
387
- }
388
- return SplitButtonModule;
389
- }());
390
- SplitButtonModule.decorators = [
391
- { type: core.NgModule, args: [{
392
- imports: [common.CommonModule],
393
- declarations: [
394
- exports.SplitButtonComponent,
395
- SplitButtonItemDirective,
396
- SplitButtonItemsDirective
397
- ],
398
- exports: [
399
- exports.SplitButtonComponent,
400
- SplitButtonItemDirective,
401
- SplitButtonItemsDirective
402
- ]
403
- },] },
404
- ];
405
- /**
406
- * @nocollapse
407
- */
408
- SplitButtonModule.ctorParameters = function () { return []; };
409
- /**
410
- * NgModule definition for the SplitButton component with providers.
411
- */
412
- var SplitButtonAllModule = /** @class */ (function () {
413
- function SplitButtonAllModule() {
414
- }
415
- return SplitButtonAllModule;
416
- }());
417
- SplitButtonAllModule.decorators = [
418
- { type: core.NgModule, args: [{
419
- imports: [common.CommonModule, SplitButtonModule],
420
- exports: [
421
- SplitButtonModule
422
- ],
423
- providers: []
424
- },] },
425
- ];
426
- /**
427
- * @nocollapse
428
- */
429
- SplitButtonAllModule.ctorParameters = function () { return []; };
430
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
431
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
432
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
433
- r = Reflect.decorate(decorators, target, key, desc);
434
- else
435
- for (var i = decorators.length - 1; i >= 0; i--)
436
- if (d = decorators[i])
437
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
438
- return c > 3 && r && Object.defineProperty(target, key, r), r;
439
- };
440
- var __metadata$2 = (this && this.__metadata) || function (k, v) {
441
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
442
- return Reflect.metadata(k, v);
443
- };
444
- var inputs$2 = ['animationSettings', 'content', 'cssClass', 'disabled', 'duration', 'enableHtmlSanitizer', 'enableProgress', 'iconCss', 'iconPosition', 'isPrimary', 'isToggle', 'spinSettings'];
445
- var outputs$4 = ['begin', 'created', 'end', 'fail', 'progress'];
446
- var twoWays$2 = [];
447
- /**
448
- * Represents the Angular ProgressButton Component.
449
- * ```html
450
- * <button ejs-progressbutton content='Progress Button'></button>
451
- * ```
452
- */
453
- exports.ProgressButtonComponent = /** @class */ (function (_super) {
454
- __extends(ProgressButtonComponent, _super);
455
- /**
456
- * @param {?} ngEle
457
- * @param {?} srenderer
458
- * @param {?} viewContainerRef
459
- * @param {?} injector
460
- */
461
- function ProgressButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
462
- var _this = _super.call(this) || this;
463
- _this.ngEle = ngEle;
464
- _this.srenderer = srenderer;
465
- _this.viewContainerRef = viewContainerRef;
466
- _this.injector = injector;
467
- _this.element = _this.ngEle.nativeElement;
468
- _this.injectedModules = _this.injectedModules || [];
469
- _this.registerEvents(outputs$4);
470
- _this.addTwoWay.call(_this, twoWays$2);
471
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
472
- _this.containerContext = new ej2AngularBase.ComponentBase();
473
- return _this;
474
- }
475
- /**
476
- * @return {?}
477
- */
478
- ProgressButtonComponent.prototype.ngOnInit = function () {
479
- this.containerContext.ngOnInit(this);
480
- };
481
- /**
482
- * @return {?}
483
- */
484
- ProgressButtonComponent.prototype.ngAfterViewInit = function () {
485
- this.containerContext.ngAfterViewInit(this);
486
- };
487
- /**
488
- * @return {?}
489
- */
490
- ProgressButtonComponent.prototype.ngOnDestroy = function () {
491
- this.containerContext.ngOnDestroy(this);
492
- };
493
- /**
494
- * @return {?}
495
- */
496
- ProgressButtonComponent.prototype.ngAfterContentChecked = function () {
497
- this.containerContext.ngAfterContentChecked(this);
498
- };
499
- return ProgressButtonComponent;
500
- }(ej2Splitbuttons.ProgressButton));
501
- exports.ProgressButtonComponent.decorators = [
502
- { type: core.Component, args: [{
503
- selector: '[ejs-progressbutton]',
504
- inputs: inputs$2,
505
- outputs: outputs$4,
506
- template: "<ng-content ></ng-content>",
507
- changeDetection: core.ChangeDetectionStrategy.OnPush,
508
- queries: {}
509
- },] },
510
- ];
511
- /**
512
- * @nocollapse
513
- */
514
- exports.ProgressButtonComponent.ctorParameters = function () { return [
515
- { type: core.ElementRef, },
516
- { type: core.Renderer2, },
517
- { type: core.ViewContainerRef, },
518
- { type: core.Injector, },
519
- ]; };
520
- exports.ProgressButtonComponent = __decorate$2([
521
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
522
- __metadata$2("design:paramtypes", [core.ElementRef,
523
- core.Renderer2,
524
- core.ViewContainerRef,
525
- core.Injector])
526
- ], exports.ProgressButtonComponent);
527
- /**
528
- * NgModule definition for the ProgressButton component.
529
- */
530
- var ProgressButtonModule = /** @class */ (function () {
531
- function ProgressButtonModule() {
532
- }
533
- return ProgressButtonModule;
534
- }());
535
- ProgressButtonModule.decorators = [
536
- { type: core.NgModule, args: [{
537
- imports: [common.CommonModule],
538
- declarations: [
539
- exports.ProgressButtonComponent
540
- ],
541
- exports: [
542
- exports.ProgressButtonComponent
543
- ]
544
- },] },
545
- ];
546
- /**
547
- * @nocollapse
548
- */
549
- ProgressButtonModule.ctorParameters = function () { return []; };
550
- /**
551
- * NgModule definition for the ProgressButton component with providers.
552
- */
553
- var ProgressButtonAllModule = /** @class */ (function () {
554
- function ProgressButtonAllModule() {
555
- }
556
- return ProgressButtonAllModule;
557
- }());
558
- ProgressButtonAllModule.decorators = [
559
- { type: core.NgModule, args: [{
560
- imports: [common.CommonModule, ProgressButtonModule],
561
- exports: [
562
- ProgressButtonModule
563
- ],
564
- providers: []
565
- },] },
566
- ];
567
- /**
568
- * @nocollapse
569
- */
7
+ var __extends = (this && this.__extends) || (function () {
8
+ var extendStatics = Object.setPrototypeOf ||
9
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11
+ return function (d, b) {
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var input = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
18
+ var outputs = [];
19
+ var DropDownButtonItemDirective = /** @class */ (function (_super) {
20
+ __extends(DropDownButtonItemDirective, _super);
21
+ /**
22
+ * @param {?} viewContainerRef
23
+ */
24
+ function DropDownButtonItemDirective(viewContainerRef) {
25
+ var _this = _super.call(this) || this;
26
+ _this.viewContainerRef = viewContainerRef;
27
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
28
+ _this.registerEvents(outputs);
29
+ _this.directivePropList = input;
30
+ return _this;
31
+ }
32
+ return DropDownButtonItemDirective;
33
+ }(ej2AngularBase.ComplexBase));
34
+ DropDownButtonItemDirective.decorators = [
35
+ { type: core.Directive, args: [{
36
+ selector: 'e-dropdownbuttonitems>e-dropdownbuttonitem',
37
+ inputs: input,
38
+ outputs: outputs,
39
+ queries: {}
40
+ },] },
41
+ ];
42
+ /**
43
+ * @nocollapse
44
+ */
45
+ DropDownButtonItemDirective.ctorParameters = function () { return [
46
+ { type: core.ViewContainerRef, },
47
+ ]; };
48
+ /**
49
+ * DropDownButtonItem Array Directive
50
+ */
51
+ var DropDownButtonItemsDirective = /** @class */ (function (_super) {
52
+ __extends(DropDownButtonItemsDirective, _super);
53
+ function DropDownButtonItemsDirective() {
54
+ return _super.call(this, 'items') || this;
55
+ }
56
+ return DropDownButtonItemsDirective;
57
+ }(ej2AngularBase.ArrayBase));
58
+ DropDownButtonItemsDirective.decorators = [
59
+ { type: core.Directive, args: [{
60
+ selector: 'ejs-dropdownbutton>e-dropdownbuttonitems',
61
+ queries: {
62
+ children: new core.ContentChildren(DropDownButtonItemDirective)
63
+ },
64
+ },] },
65
+ ];
66
+ /**
67
+ * @nocollapse
68
+ */
69
+ DropDownButtonItemsDirective.ctorParameters = function () { return []; };
70
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
71
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
72
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
73
+ r = Reflect.decorate(decorators, target, key, desc);
74
+ else
75
+ for (var i = decorators.length - 1; i >= 0; i--)
76
+ if (d = decorators[i])
77
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
78
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
79
+ };
80
+ var __metadata = (this && this.__metadata) || function (k, v) {
81
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
82
+ return Reflect.metadata(k, v);
83
+ };
84
+ var inputs = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
85
+ var outputs$1 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'close', 'created', 'open', 'select'];
86
+ var twoWays = [];
87
+ /**
88
+ * Represents the Angular DropDownButton Component.
89
+ * ```html
90
+ * <button ejs-dropdownbutton>DropDownButton</button>
91
+ * ```
92
+ */
93
+ exports.DropDownButtonComponent = /** @class */ (function (_super) {
94
+ __extends(DropDownButtonComponent, _super);
95
+ /**
96
+ * @param {?} ngEle
97
+ * @param {?} srenderer
98
+ * @param {?} viewContainerRef
99
+ * @param {?} injector
100
+ */
101
+ function DropDownButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
102
+ var _this = _super.call(this) || this;
103
+ _this.ngEle = ngEle;
104
+ _this.srenderer = srenderer;
105
+ _this.viewContainerRef = viewContainerRef;
106
+ _this.injector = injector;
107
+ _this.tags = ['items'];
108
+ _this.element = _this.ngEle.nativeElement;
109
+ _this.injectedModules = _this.injectedModules || [];
110
+ _this.registerEvents(outputs$1);
111
+ _this.addTwoWay.call(_this, twoWays);
112
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
113
+ _this.containerContext = new ej2AngularBase.ComponentBase();
114
+ return _this;
115
+ }
116
+ /**
117
+ * @return {?}
118
+ */
119
+ DropDownButtonComponent.prototype.ngOnInit = function () {
120
+ this.containerContext.ngOnInit(this);
121
+ };
122
+ /**
123
+ * @return {?}
124
+ */
125
+ DropDownButtonComponent.prototype.ngAfterViewInit = function () {
126
+ this.containerContext.ngAfterViewInit(this);
127
+ };
128
+ /**
129
+ * @return {?}
130
+ */
131
+ DropDownButtonComponent.prototype.ngOnDestroy = function () {
132
+ this.containerContext.ngOnDestroy(this);
133
+ };
134
+ /**
135
+ * @return {?}
136
+ */
137
+ DropDownButtonComponent.prototype.ngAfterContentChecked = function () {
138
+ this.tagObjects[0].instance = this.childItems;
139
+ this.containerContext.ngAfterContentChecked(this);
140
+ };
141
+ return DropDownButtonComponent;
142
+ }(ej2Splitbuttons.DropDownButton));
143
+ exports.DropDownButtonComponent.decorators = [
144
+ { type: core.Component, args: [{
145
+ selector: '[ejs-dropdownbutton]',
146
+ inputs: inputs,
147
+ outputs: outputs$1,
148
+ template: "<ng-content ></ng-content>",
149
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
150
+ queries: {
151
+ childItems: new core.ContentChild(DropDownButtonItemsDirective)
152
+ }
153
+ },] },
154
+ ];
155
+ /**
156
+ * @nocollapse
157
+ */
158
+ exports.DropDownButtonComponent.ctorParameters = function () { return [
159
+ { type: core.ElementRef, },
160
+ { type: core.Renderer2, },
161
+ { type: core.ViewContainerRef, },
162
+ { type: core.Injector, },
163
+ ]; };
164
+ exports.DropDownButtonComponent = __decorate([
165
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
166
+ __metadata("design:paramtypes", [core.ElementRef,
167
+ core.Renderer2,
168
+ core.ViewContainerRef,
169
+ core.Injector])
170
+ ], exports.DropDownButtonComponent);
171
+ /**
172
+ * NgModule definition for the DropDownButton component.
173
+ */
174
+ var DropDownButtonModule = /** @class */ (function () {
175
+ function DropDownButtonModule() {
176
+ }
177
+ return DropDownButtonModule;
178
+ }());
179
+ DropDownButtonModule.decorators = [
180
+ { type: core.NgModule, args: [{
181
+ imports: [common.CommonModule],
182
+ declarations: [
183
+ exports.DropDownButtonComponent,
184
+ DropDownButtonItemDirective,
185
+ DropDownButtonItemsDirective
186
+ ],
187
+ exports: [
188
+ exports.DropDownButtonComponent,
189
+ DropDownButtonItemDirective,
190
+ DropDownButtonItemsDirective
191
+ ]
192
+ },] },
193
+ ];
194
+ /**
195
+ * @nocollapse
196
+ */
197
+ DropDownButtonModule.ctorParameters = function () { return []; };
198
+ /**
199
+ * NgModule definition for the DropDownButton component with providers.
200
+ */
201
+ var DropDownButtonAllModule = /** @class */ (function () {
202
+ function DropDownButtonAllModule() {
203
+ }
204
+ return DropDownButtonAllModule;
205
+ }());
206
+ DropDownButtonAllModule.decorators = [
207
+ { type: core.NgModule, args: [{
208
+ imports: [common.CommonModule, DropDownButtonModule],
209
+ exports: [
210
+ DropDownButtonModule
211
+ ],
212
+ providers: []
213
+ },] },
214
+ ];
215
+ /**
216
+ * @nocollapse
217
+ */
218
+ DropDownButtonAllModule.ctorParameters = function () { return []; };
219
+ var input$1 = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
220
+ var outputs$2 = [];
221
+ var SplitButtonItemDirective = /** @class */ (function (_super) {
222
+ __extends(SplitButtonItemDirective, _super);
223
+ /**
224
+ * @param {?} viewContainerRef
225
+ */
226
+ function SplitButtonItemDirective(viewContainerRef) {
227
+ var _this = _super.call(this) || this;
228
+ _this.viewContainerRef = viewContainerRef;
229
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
230
+ _this.registerEvents(outputs$2);
231
+ _this.directivePropList = input$1;
232
+ return _this;
233
+ }
234
+ return SplitButtonItemDirective;
235
+ }(ej2AngularBase.ComplexBase));
236
+ SplitButtonItemDirective.decorators = [
237
+ { type: core.Directive, args: [{
238
+ selector: 'e-splitbuttonitems>e-splitbuttonitem',
239
+ inputs: input$1,
240
+ outputs: outputs$2,
241
+ queries: {}
242
+ },] },
243
+ ];
244
+ /**
245
+ * @nocollapse
246
+ */
247
+ SplitButtonItemDirective.ctorParameters = function () { return [
248
+ { type: core.ViewContainerRef, },
249
+ ]; };
250
+ /**
251
+ * SplitButtonItem Array Directive
252
+ */
253
+ var SplitButtonItemsDirective = /** @class */ (function (_super) {
254
+ __extends(SplitButtonItemsDirective, _super);
255
+ function SplitButtonItemsDirective() {
256
+ return _super.call(this, 'items') || this;
257
+ }
258
+ return SplitButtonItemsDirective;
259
+ }(ej2AngularBase.ArrayBase));
260
+ SplitButtonItemsDirective.decorators = [
261
+ { type: core.Directive, args: [{
262
+ selector: 'ejs-splitbutton>e-splitbuttonitems',
263
+ queries: {
264
+ children: new core.ContentChildren(SplitButtonItemDirective)
265
+ },
266
+ },] },
267
+ ];
268
+ /**
269
+ * @nocollapse
270
+ */
271
+ SplitButtonItemsDirective.ctorParameters = function () { return []; };
272
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
273
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
274
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
275
+ r = Reflect.decorate(decorators, target, key, desc);
276
+ else
277
+ for (var i = decorators.length - 1; i >= 0; i--)
278
+ if (d = decorators[i])
279
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
280
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
281
+ };
282
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
283
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
284
+ return Reflect.metadata(k, v);
285
+ };
286
+ var inputs$1 = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
287
+ var outputs$3 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'click', 'close', 'created', 'open', 'select'];
288
+ var twoWays$1 = [];
289
+ /**
290
+ * Represents the Angular SplitButton Component.
291
+ * ```html
292
+ * <ejs-splitbutton content='Split Button'></ejs-splitbutton>
293
+ * ```
294
+ */
295
+ exports.SplitButtonComponent = /** @class */ (function (_super) {
296
+ __extends(SplitButtonComponent, _super);
297
+ /**
298
+ * @param {?} ngEle
299
+ * @param {?} srenderer
300
+ * @param {?} viewContainerRef
301
+ * @param {?} injector
302
+ */
303
+ function SplitButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
304
+ var _this = _super.call(this) || this;
305
+ _this.ngEle = ngEle;
306
+ _this.srenderer = srenderer;
307
+ _this.viewContainerRef = viewContainerRef;
308
+ _this.injector = injector;
309
+ _this.tags = ['items'];
310
+ _this.element = _this.ngEle.nativeElement;
311
+ _this.injectedModules = _this.injectedModules || [];
312
+ _this.registerEvents(outputs$3);
313
+ _this.addTwoWay.call(_this, twoWays$1);
314
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
315
+ _this.containerContext = new ej2AngularBase.ComponentBase();
316
+ return _this;
317
+ }
318
+ /**
319
+ * @return {?}
320
+ */
321
+ SplitButtonComponent.prototype.ngOnInit = function () {
322
+ this.containerContext.ngOnInit(this);
323
+ };
324
+ /**
325
+ * @return {?}
326
+ */
327
+ SplitButtonComponent.prototype.ngAfterViewInit = function () {
328
+ this.containerContext.ngAfterViewInit(this);
329
+ };
330
+ /**
331
+ * @return {?}
332
+ */
333
+ SplitButtonComponent.prototype.ngOnDestroy = function () {
334
+ this.containerContext.ngOnDestroy(this);
335
+ };
336
+ /**
337
+ * @return {?}
338
+ */
339
+ SplitButtonComponent.prototype.ngAfterContentChecked = function () {
340
+ this.tagObjects[0].instance = this.childItems;
341
+ this.containerContext.ngAfterContentChecked(this);
342
+ };
343
+ return SplitButtonComponent;
344
+ }(ej2Splitbuttons.SplitButton));
345
+ exports.SplitButtonComponent.decorators = [
346
+ { type: core.Component, args: [{
347
+ selector: 'ejs-splitbutton',
348
+ inputs: inputs$1,
349
+ outputs: outputs$3,
350
+ template: "<ng-content ></ng-content>",
351
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
352
+ queries: {
353
+ childItems: new core.ContentChild(SplitButtonItemsDirective)
354
+ }
355
+ },] },
356
+ ];
357
+ /**
358
+ * @nocollapse
359
+ */
360
+ exports.SplitButtonComponent.ctorParameters = function () { return [
361
+ { type: core.ElementRef, },
362
+ { type: core.Renderer2, },
363
+ { type: core.ViewContainerRef, },
364
+ { type: core.Injector, },
365
+ ]; };
366
+ exports.SplitButtonComponent = __decorate$1([
367
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
368
+ __metadata$1("design:paramtypes", [core.ElementRef,
369
+ core.Renderer2,
370
+ core.ViewContainerRef,
371
+ core.Injector])
372
+ ], exports.SplitButtonComponent);
373
+ /**
374
+ * NgModule definition for the SplitButton component.
375
+ */
376
+ var SplitButtonModule = /** @class */ (function () {
377
+ function SplitButtonModule() {
378
+ }
379
+ return SplitButtonModule;
380
+ }());
381
+ SplitButtonModule.decorators = [
382
+ { type: core.NgModule, args: [{
383
+ imports: [common.CommonModule],
384
+ declarations: [
385
+ exports.SplitButtonComponent,
386
+ SplitButtonItemDirective,
387
+ SplitButtonItemsDirective
388
+ ],
389
+ exports: [
390
+ exports.SplitButtonComponent,
391
+ SplitButtonItemDirective,
392
+ SplitButtonItemsDirective
393
+ ]
394
+ },] },
395
+ ];
396
+ /**
397
+ * @nocollapse
398
+ */
399
+ SplitButtonModule.ctorParameters = function () { return []; };
400
+ /**
401
+ * NgModule definition for the SplitButton component with providers.
402
+ */
403
+ var SplitButtonAllModule = /** @class */ (function () {
404
+ function SplitButtonAllModule() {
405
+ }
406
+ return SplitButtonAllModule;
407
+ }());
408
+ SplitButtonAllModule.decorators = [
409
+ { type: core.NgModule, args: [{
410
+ imports: [common.CommonModule, SplitButtonModule],
411
+ exports: [
412
+ SplitButtonModule
413
+ ],
414
+ providers: []
415
+ },] },
416
+ ];
417
+ /**
418
+ * @nocollapse
419
+ */
420
+ SplitButtonAllModule.ctorParameters = function () { return []; };
421
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
422
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
423
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
424
+ r = Reflect.decorate(decorators, target, key, desc);
425
+ else
426
+ for (var i = decorators.length - 1; i >= 0; i--)
427
+ if (d = decorators[i])
428
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
429
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
430
+ };
431
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
432
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
433
+ return Reflect.metadata(k, v);
434
+ };
435
+ var inputs$2 = ['animationSettings', 'content', 'cssClass', 'disabled', 'duration', 'enableHtmlSanitizer', 'enableProgress', 'iconCss', 'iconPosition', 'isPrimary', 'isToggle', 'spinSettings'];
436
+ var outputs$4 = ['begin', 'created', 'end', 'fail', 'progress'];
437
+ var twoWays$2 = [];
438
+ /**
439
+ * Represents the Angular ProgressButton Component.
440
+ * ```html
441
+ * <button ejs-progressbutton content='Progress Button'></button>
442
+ * ```
443
+ */
444
+ exports.ProgressButtonComponent = /** @class */ (function (_super) {
445
+ __extends(ProgressButtonComponent, _super);
446
+ /**
447
+ * @param {?} ngEle
448
+ * @param {?} srenderer
449
+ * @param {?} viewContainerRef
450
+ * @param {?} injector
451
+ */
452
+ function ProgressButtonComponent(ngEle, srenderer, viewContainerRef, injector) {
453
+ var _this = _super.call(this) || this;
454
+ _this.ngEle = ngEle;
455
+ _this.srenderer = srenderer;
456
+ _this.viewContainerRef = viewContainerRef;
457
+ _this.injector = injector;
458
+ _this.element = _this.ngEle.nativeElement;
459
+ _this.injectedModules = _this.injectedModules || [];
460
+ _this.registerEvents(outputs$4);
461
+ _this.addTwoWay.call(_this, twoWays$2);
462
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
463
+ _this.containerContext = new ej2AngularBase.ComponentBase();
464
+ return _this;
465
+ }
466
+ /**
467
+ * @return {?}
468
+ */
469
+ ProgressButtonComponent.prototype.ngOnInit = function () {
470
+ this.containerContext.ngOnInit(this);
471
+ };
472
+ /**
473
+ * @return {?}
474
+ */
475
+ ProgressButtonComponent.prototype.ngAfterViewInit = function () {
476
+ this.containerContext.ngAfterViewInit(this);
477
+ };
478
+ /**
479
+ * @return {?}
480
+ */
481
+ ProgressButtonComponent.prototype.ngOnDestroy = function () {
482
+ this.containerContext.ngOnDestroy(this);
483
+ };
484
+ /**
485
+ * @return {?}
486
+ */
487
+ ProgressButtonComponent.prototype.ngAfterContentChecked = function () {
488
+ this.containerContext.ngAfterContentChecked(this);
489
+ };
490
+ return ProgressButtonComponent;
491
+ }(ej2Splitbuttons.ProgressButton));
492
+ exports.ProgressButtonComponent.decorators = [
493
+ { type: core.Component, args: [{
494
+ selector: '[ejs-progressbutton]',
495
+ inputs: inputs$2,
496
+ outputs: outputs$4,
497
+ template: "<ng-content ></ng-content>",
498
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
499
+ queries: {}
500
+ },] },
501
+ ];
502
+ /**
503
+ * @nocollapse
504
+ */
505
+ exports.ProgressButtonComponent.ctorParameters = function () { return [
506
+ { type: core.ElementRef, },
507
+ { type: core.Renderer2, },
508
+ { type: core.ViewContainerRef, },
509
+ { type: core.Injector, },
510
+ ]; };
511
+ exports.ProgressButtonComponent = __decorate$2([
512
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
513
+ __metadata$2("design:paramtypes", [core.ElementRef,
514
+ core.Renderer2,
515
+ core.ViewContainerRef,
516
+ core.Injector])
517
+ ], exports.ProgressButtonComponent);
518
+ /**
519
+ * NgModule definition for the ProgressButton component.
520
+ */
521
+ var ProgressButtonModule = /** @class */ (function () {
522
+ function ProgressButtonModule() {
523
+ }
524
+ return ProgressButtonModule;
525
+ }());
526
+ ProgressButtonModule.decorators = [
527
+ { type: core.NgModule, args: [{
528
+ imports: [common.CommonModule],
529
+ declarations: [
530
+ exports.ProgressButtonComponent
531
+ ],
532
+ exports: [
533
+ exports.ProgressButtonComponent
534
+ ]
535
+ },] },
536
+ ];
537
+ /**
538
+ * @nocollapse
539
+ */
540
+ ProgressButtonModule.ctorParameters = function () { return []; };
541
+ /**
542
+ * NgModule definition for the ProgressButton component with providers.
543
+ */
544
+ var ProgressButtonAllModule = /** @class */ (function () {
545
+ function ProgressButtonAllModule() {
546
+ }
547
+ return ProgressButtonAllModule;
548
+ }());
549
+ ProgressButtonAllModule.decorators = [
550
+ { type: core.NgModule, args: [{
551
+ imports: [common.CommonModule, ProgressButtonModule],
552
+ exports: [
553
+ ProgressButtonModule
554
+ ],
555
+ providers: []
556
+ },] },
557
+ ];
558
+ /**
559
+ * @nocollapse
560
+ */
570
561
  ProgressButtonAllModule.ctorParameters = function () { return []; };
571
562
 
572
563
  exports.DropDownButtonItemDirective = DropDownButtonItemDirective;