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