@syncfusion/ej2-angular-splitbuttons 27.1.50-ngcc → 27.1.50
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/CHANGELOG.md +270 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/drop-down-button/dropdownbutton-all.module.mjs +23 -0
- package/esm2020/src/drop-down-button/dropdownbutton.component.mjs +64 -0
- package/esm2020/src/drop-down-button/dropdownbutton.module.mjs +34 -0
- package/esm2020/src/drop-down-button/items.directive.mjs +46 -0
- package/esm2020/src/index.mjs +13 -0
- package/esm2020/src/progress-button/progressbutton-all.module.mjs +23 -0
- package/esm2020/src/progress-button/progressbutton.component.mjs +59 -0
- package/esm2020/src/progress-button/progressbutton.module.mjs +25 -0
- package/esm2020/src/split-button/items.directive.mjs +46 -0
- package/esm2020/src/split-button/splitbutton-all.module.mjs +23 -0
- package/esm2020/src/split-button/splitbutton.component.mjs +64 -0
- package/esm2020/src/split-button/splitbutton.module.mjs +34 -0
- package/esm2020/syncfusion-ej2-angular-splitbuttons.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-splitbuttons.mjs +403 -0
- package/fesm2015/syncfusion-ej2-angular-splitbuttons.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-splitbuttons.mjs +403 -0
- package/fesm2020/syncfusion-ej2-angular-splitbuttons.mjs.map +1 -0
- package/package.json +25 -12
- package/src/drop-down-button/dropdownbutton-all.module.d.ts +6 -0
- package/src/drop-down-button/dropdownbutton.component.d.ts +3 -0
- package/src/drop-down-button/dropdownbutton.module.d.ts +7 -0
- package/src/drop-down-button/items.directive.d.ts +5 -0
- package/src/progress-button/progressbutton-all.module.d.ts +6 -0
- package/src/progress-button/progressbutton.component.d.ts +3 -0
- package/src/progress-button/progressbutton.module.d.ts +6 -0
- package/src/split-button/items.directive.d.ts +5 -0
- package/src/split-button/splitbutton-all.module.d.ts +6 -0
- package/src/split-button/splitbutton.component.d.ts +3 -0
- package/src/split-button/splitbutton.module.d.ts +7 -0
- package/syncfusion-ej2-angular-splitbuttons.d.ts +5 -0
- package/@syncfusion/ej2-angular-splitbuttons.es5.js +0 -565
- package/@syncfusion/ej2-angular-splitbuttons.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-splitbuttons.js +0 -516
- package/@syncfusion/ej2-angular-splitbuttons.js.map +0 -1
- package/dist/ej2-angular-splitbuttons.umd.js +0 -603
- package/dist/ej2-angular-splitbuttons.umd.js.map +0 -1
- package/dist/ej2-angular-splitbuttons.umd.min.js +0 -11
- package/dist/ej2-angular-splitbuttons.umd.min.js.map +0 -1
- package/ej2-angular-splitbuttons.d.ts +0 -7
- package/ej2-angular-splitbuttons.metadata.json +0 -1
- package/license +0 -10
|
@@ -1,603 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: ej2-angular-splitbuttons.umd.js
|
|
3
|
-
* version : 27.1.50
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2023. 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
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-splitbuttons'), require('@angular/common')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-splitbuttons', '@angular/common'], factory) :
|
|
13
|
-
(factory((global['ej2-angular-splitbuttons'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.splitbuttons,global.ng.common));
|
|
14
|
-
}(this, (function (exports,core,ej2AngularBase,ej2Splitbuttons,common) { 'use strict';
|
|
15
|
-
|
|
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 = ['closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'items', 'locale', '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 = ['closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'items', 'locale', '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
|
-
*/
|
|
570
|
-
ProgressButtonAllModule.ctorParameters = function () { return []; };
|
|
571
|
-
|
|
572
|
-
exports.DropDownButtonItemDirective = DropDownButtonItemDirective;
|
|
573
|
-
exports.DropDownButtonItemsDirective = DropDownButtonItemsDirective;
|
|
574
|
-
exports.DropDownButtonModule = DropDownButtonModule;
|
|
575
|
-
exports.DropDownButtonAllModule = DropDownButtonAllModule;
|
|
576
|
-
exports.SplitButtonItemDirective = SplitButtonItemDirective;
|
|
577
|
-
exports.SplitButtonItemsDirective = SplitButtonItemsDirective;
|
|
578
|
-
exports.SplitButtonModule = SplitButtonModule;
|
|
579
|
-
exports.SplitButtonAllModule = SplitButtonAllModule;
|
|
580
|
-
exports.ProgressButtonModule = ProgressButtonModule;
|
|
581
|
-
exports.ProgressButtonAllModule = ProgressButtonAllModule;
|
|
582
|
-
exports.ɵa = inputs;
|
|
583
|
-
exports.ɵb = outputs$1;
|
|
584
|
-
exports.ɵe = inputs$2;
|
|
585
|
-
exports.ɵf = outputs$4;
|
|
586
|
-
exports.ɵc = inputs$1;
|
|
587
|
-
exports.ɵd = outputs$3;
|
|
588
|
-
exports.getModel = ej2Splitbuttons.getModel;
|
|
589
|
-
exports.upDownKeyHandler = ej2Splitbuttons.upDownKeyHandler;
|
|
590
|
-
exports.setBlankIconStyle = ej2Splitbuttons.setBlankIconStyle;
|
|
591
|
-
exports.Item = ej2Splitbuttons.Item;
|
|
592
|
-
exports.DropDownButton = ej2Splitbuttons.DropDownButton;
|
|
593
|
-
exports.SplitButton = ej2Splitbuttons.SplitButton;
|
|
594
|
-
exports.Deferred = ej2Splitbuttons.Deferred;
|
|
595
|
-
exports.createButtonGroup = ej2Splitbuttons.createButtonGroup;
|
|
596
|
-
exports.SpinSettings = ej2Splitbuttons.SpinSettings;
|
|
597
|
-
exports.AnimationSettings = ej2Splitbuttons.AnimationSettings;
|
|
598
|
-
exports.ProgressButton = ej2Splitbuttons.ProgressButton;
|
|
599
|
-
|
|
600
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
601
|
-
|
|
602
|
-
})));
|
|
603
|
-
//# sourceMappingURL=ej2-angular-splitbuttons.umd.js.map
|