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