@syncfusion/ej2-angular-splitbuttons 30.2.4-ngcc → 30.2.4
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 +285 -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 +20 -7
- package/public_api.d.ts +1 -1
- package/src/drop-down-button/dropdownbutton-all.module.d.ts +11 -5
- package/src/drop-down-button/dropdownbutton.component.d.ts +40 -37
- package/src/drop-down-button/dropdownbutton.module.d.ts +12 -5
- package/src/drop-down-button/items.directive.d.ts +50 -45
- package/src/index.d.ts +12 -12
- package/src/progress-button/progressbutton-all.module.d.ts +11 -5
- package/src/progress-button/progressbutton.component.d.ts +35 -32
- package/src/progress-button/progressbutton.module.d.ts +11 -5
- package/src/split-button/items.directive.d.ts +50 -45
- package/src/split-button/splitbutton-all.module.d.ts +11 -5
- package/src/split-button/splitbutton.component.d.ts +41 -38
- package/src/split-button/splitbutton.module.d.ts +12 -5
- 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/LICENSE +0 -10
- package/dist/ej2-angular-splitbuttons.umd.js +0 -604
- 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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Directive, ContentChildren } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
let input = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
|
|
5
|
+
let outputs = [];
|
|
6
|
+
export class SplitButtonItemDirective extends ComplexBase {
|
|
7
|
+
constructor(viewContainerRef) {
|
|
8
|
+
super();
|
|
9
|
+
this.viewContainerRef = viewContainerRef;
|
|
10
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
11
|
+
this.registerEvents(outputs);
|
|
12
|
+
this.directivePropList = input;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
SplitButtonItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
SplitButtonItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: SplitButtonItemDirective, selector: "e-splitbuttonitems>e-splitbuttonitem", inputs: { disabled: "disabled", iconCss: "iconCss", id: "id", separator: "separator", text: "text", url: "url" }, usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: 'e-splitbuttonitems>e-splitbuttonitem',
|
|
21
|
+
inputs: input,
|
|
22
|
+
outputs: outputs,
|
|
23
|
+
queries: {}
|
|
24
|
+
}]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
26
|
+
/**
|
|
27
|
+
* SplitButtonItem Array Directive
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
export class SplitButtonItemsDirective extends ArrayBase {
|
|
31
|
+
constructor() {
|
|
32
|
+
super('items');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
SplitButtonItemsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
SplitButtonItemsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: SplitButtonItemsDirective, selector: "ejs-splitbutton>e-splitbuttonitems", queries: [{ propertyName: "children", predicate: SplitButtonItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemsDirective, decorators: [{
|
|
38
|
+
type: Directive,
|
|
39
|
+
args: [{
|
|
40
|
+
selector: 'ejs-splitbutton>e-splitbuttonitems',
|
|
41
|
+
queries: {
|
|
42
|
+
children: new ContentChildren(SplitButtonItemDirective)
|
|
43
|
+
},
|
|
44
|
+
}]
|
|
45
|
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WNpZmllcyB1cmwgZm9yIGl0ZW0gdGhhdCBjcmVhdGVzIHRoZSBhbmNob3IgbGluayB0byBuYXZpZ2F0ZSB0byB0aGUgdXJsIHByb3ZpZGVkLlxuICAgICAqIEBkZWZhdWx0ICcnXG4gICAgICovXG4gICAgcHVibGljIHVybDogYW55O1xuXG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSB2aWV3Q29udGFpbmVyUmVmOlZpZXdDb250YWluZXJSZWYpIHtcbiAgICAgICAgc3VwZXIoKTtcbiAgICAgICAgc2V0VmFsdWUoJ2N1cnJlbnRJbnN0YW5jZScsIHRoaXMsIHRoaXMudmlld0NvbnRhaW5lclJlZik7XG4gICAgICAgIHRoaXMucmVnaXN0ZXJFdmVudHMob3V0cHV0cyk7XG4gICAgICAgIHRoaXMuZGlyZWN0aXZlUHJvcExpc3QgPSBpbnB1dDtcbiAgICB9XG59XG5cbi8qKlxuICogU3BsaXRCdXR0b25JdGVtIEFycmF5IERpcmVjdGl2ZVxuICogQHByaXZhdGVcbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdlanMtc3BsaXRidXR0b24+ZS1zcGxpdGJ1dHRvbml0ZW1zJyxcbiAgICBxdWVyaWVzOiB7XG4gICAgICAgIGNoaWxkcmVuOiBuZXcgQ29udGVudENoaWxkcmVuKFNwbGl0QnV0dG9uSXRlbURpcmVjdGl2ZSlcbiAgICB9LFxufSlcbmV4cG9ydCBjbGFzcyBTcGxpdEJ1dHRvbkl0ZW1zRGlyZWN0aXZlIGV4dGVuZHMgQXJyYXlCYXNlPFNwbGl0QnV0dG9uSXRlbXNEaXJlY3RpdmU+IHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgICAgc3VwZXIoJ2l0ZW1zJyk7XG4gICAgfVxufSJdfQ==
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { SplitButtonModule } from './splitbutton.module';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* NgModule definition for the SplitButton component with providers.
|
|
7
|
+
*/
|
|
8
|
+
export class SplitButtonAllModule {
|
|
9
|
+
}
|
|
10
|
+
SplitButtonAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
SplitButtonAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, imports: [CommonModule, SplitButtonModule], exports: [SplitButtonModule] });
|
|
12
|
+
SplitButtonAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, providers: [], imports: [[CommonModule, SplitButtonModule], SplitButtonModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [CommonModule, SplitButtonModule],
|
|
17
|
+
exports: [
|
|
18
|
+
SplitButtonModule
|
|
19
|
+
],
|
|
20
|
+
providers: []
|
|
21
|
+
}]
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BsaXRidXR0b24tYWxsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zcGxpdC1idXR0b24vc3BsaXRidXR0b24tYWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN4RCxPQUFPLEVB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CB3aXRoIHByb3ZpZGVycy5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBTcGxpdEJ1dHRvbk1vZHVsZV0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBTcGxpdEJ1dHRvbk1vZHVsZVxuICAgIF0sXG4gICAgcHJvdmlkZXJzOltcbiAgICAgICAgXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBTcGxpdEJ1dHRvbkFsbE1vZHVsZSB7IH0iXX0=
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Component, ChangeDetectionStrategy, ContentChild } from '@angular/core';
|
|
3
|
+
import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
|
+
import { SplitButton } from '@syncfusion/ej2-splitbuttons';
|
|
5
|
+
import { SplitButtonItemsDirective } from './items.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export const inputs = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
|
|
8
|
+
export const outputs = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'click', 'close', 'created', 'open', 'select'];
|
|
9
|
+
export const twoWays = [];
|
|
10
|
+
/**
|
|
11
|
+
* Represents the Angular SplitButton Component.
|
|
12
|
+
* ```html
|
|
13
|
+
* <ejs-splitbutton content='Split Button'></ejs-splitbutton>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
let SplitButtonComponent = class SplitButtonComponent extends SplitButton {
|
|
17
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
18
|
+
super();
|
|
19
|
+
this.ngEle = ngEle;
|
|
20
|
+
this.srenderer = srenderer;
|
|
21
|
+
this.viewContainerRef = viewContainerRef;
|
|
22
|
+
this.injector = injector;
|
|
23
|
+
this.tags = ['items'];
|
|
24
|
+
this.element = this.ngEle.nativeElement;
|
|
25
|
+
this.injectedModules = this.injectedModules || [];
|
|
26
|
+
this.registerEvents(outputs);
|
|
27
|
+
this.addTwoWay.call(this, twoWays);
|
|
28
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
29
|
+
this.containerContext = new ComponentBase();
|
|
30
|
+
}
|
|
31
|
+
ngOnInit() {
|
|
32
|
+
this.containerContext.ngOnInit(this);
|
|
33
|
+
}
|
|
34
|
+
ngAfterViewInit() {
|
|
35
|
+
this.containerContext.ngAfterViewInit(this);
|
|
36
|
+
}
|
|
37
|
+
ngOnDestroy() {
|
|
38
|
+
this.containerContext.ngOnDestroy(this);
|
|
39
|
+
}
|
|
40
|
+
ngAfterContentChecked() {
|
|
41
|
+
this.tagObjects[0].instance = this.childItems;
|
|
42
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
SplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SplitButtonComponent, selector: "ejs-splitbutton", inputs: { 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" }, outputs: { beforeClose: "beforeClose", beforeItemRender: "beforeItemRender", beforeOpen: "beforeOpen", click: "click", close: "close", created: "created", open: "open", select: "select" }, queries: [{ propertyName: "childItems", first: true, predicate: SplitButtonItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
+
SplitButtonComponent = __decorate([
|
|
48
|
+
ComponentMixins([ComponentBase])
|
|
49
|
+
], SplitButtonComponent);
|
|
50
|
+
export { SplitButtonComponent };
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{
|
|
54
|
+
selector: 'ejs-splitbutton',
|
|
55
|
+
inputs: inputs,
|
|
56
|
+
outputs: outputs,
|
|
57
|
+
template: `<ng-content ></ng-content>`,
|
|
58
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
+
queries: {
|
|
60
|
+
childItems: new ContentChild(SplitButtonItemsDirective)
|
|
61
|
+
}
|
|
62
|
+
}]
|
|
63
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BsaXRidXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3NwbGl0LWJ1dHRvbi9zcGxpdGJ1dHRvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXFELHVCQUF1QixFQUE0QixZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUosT0FBTyxFQUFFLGFBQWEsRUFBRSxlQUFlLEVBQXVELFFBQVEsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQz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gICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0ICA9IG5ldyBDb21wb25lbnRCYXNlKCk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25Jbml0KCkge1xuICAgICAgICB0aGlzLmNvbnRhaW5lckNvbnRleHQubmdPbkluaXQodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0Lm5nQWZ0ZXJWaWV3SW5pdCh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29udGFpbmVyQ29udGV4dC5uZ09uRGVzdHJveSh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlckNvbnRlbnRDaGVja2VkKCk6IHZvaWQge1xuICAgICAgICB0aGlzLnRhZ09iamVjdHNbMF0uaW5zdGFuY2UgPSB0aGlzLmNoaWxkSXRlbXM7XG4gICAgICAgIHRoaXMuY29udGFpbmVyQ29udGV4dC5uZ0FmdGVyQ29udGVudENoZWNrZWQodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIHJlZ2lzdGVyRXZlbnRzOiAoZXZlbnRMaXN0OiBzdHJpbmdbXSkgPT4gdm9pZDtcbiAgICBwdWJsaWMgYWRkVHdvV2F5OiAocHJvcExpc3Q6IHN0cmluZ1tdKSA9PiB2b2lkO1xufVxuXG4iXX0=
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { SplitButtonItemDirective, SplitButtonItemsDirective } from './items.directive';
|
|
4
|
+
import { SplitButtonComponent } from './splitbutton.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* NgModule definition for the SplitButton component.
|
|
8
|
+
*/
|
|
9
|
+
export class SplitButtonModule {
|
|
10
|
+
}
|
|
11
|
+
SplitButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
SplitButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, declarations: [SplitButtonComponent,
|
|
13
|
+
SplitButtonItemDirective,
|
|
14
|
+
SplitButtonItemsDirective], imports: [CommonModule], exports: [SplitButtonComponent,
|
|
15
|
+
SplitButtonItemDirective,
|
|
16
|
+
SplitButtonItemsDirective] });
|
|
17
|
+
SplitButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, imports: [[CommonModule]] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, decorators: [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
imports: [CommonModule],
|
|
22
|
+
declarations: [
|
|
23
|
+
SplitButtonComponent,
|
|
24
|
+
SplitButtonItemDirective,
|
|
25
|
+
SplitButtonItemsDirective
|
|
26
|
+
],
|
|
27
|
+
exports: [
|
|
28
|
+
SplitButtonComponent,
|
|
29
|
+
SplitButtonItemDirective,
|
|
30
|
+
SplitButtonItemsDirective
|
|
31
|
+
]
|
|
32
|
+
}]
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BsaXRidXR0b24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3NwbGl0LWJ1dHRvbi9zcGxpdGJ1dHRvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT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25lbnQgfSBmcm9tICcuL3NwbGl0YnV0dG9uLmNvbXBvbmVudCc7XG5cbi8qKlxuICogTmdNb2R1bGUgZGVmaW5pdGlvbiBmb3IgdGhlIFNwbGl0QnV0dG9uIGNvbXBvbmVudC5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgU3BsaXRCdXR0b25Db21wb25lbnQsXG4gICAgICAgIFNwbGl0QnV0dG9uSXRlbURpcmVjdGl2ZSxcbiAgICAgICAgU3BsaXRCdXR0b25JdGVtc0RpcmVjdGl2ZVxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBTcGxpdEJ1dHRvbkNvbXBvbmVudCxcbiAgICAgICAgU3BsaXRCdXR0b25JdGVtRGlyZWN0aXZlLFxuICAgICAgICBTcGxpdEJ1dHRvbkl0ZW1zRGlyZWN0aXZlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBTcGxpdEJ1dHRvbk1vZHVsZSB7IH0iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1zcGxpdGJ1dHRvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zeW5jZnVzaW9uLWVqMi1hbmd1bGFyLXNwbGl0YnV0dG9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, ContentChildren, Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
3
|
+
import { ComplexBase, setValue, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
4
|
+
import { __decorate } from 'tslib';
|
|
5
|
+
import { DropDownButton, SplitButton, ProgressButton } from '@syncfusion/ej2-splitbuttons';
|
|
6
|
+
export * from '@syncfusion/ej2-splitbuttons';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
let input$1 = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
|
|
10
|
+
let outputs$4 = [];
|
|
11
|
+
class DropDownButtonItemDirective extends ComplexBase {
|
|
12
|
+
constructor(viewContainerRef) {
|
|
13
|
+
super();
|
|
14
|
+
this.viewContainerRef = viewContainerRef;
|
|
15
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
16
|
+
this.registerEvents(outputs$4);
|
|
17
|
+
this.directivePropList = input$1;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
DropDownButtonItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonItemDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
DropDownButtonItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DropDownButtonItemDirective, selector: "e-dropdownbuttonitems>e-dropdownbuttonitem", inputs: { disabled: "disabled", iconCss: "iconCss", id: "id", separator: "separator", text: "text", url: "url" }, usesInheritance: true, ngImport: i0 });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonItemDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: 'e-dropdownbuttonitems>e-dropdownbuttonitem',
|
|
26
|
+
inputs: input$1,
|
|
27
|
+
outputs: outputs$4,
|
|
28
|
+
queries: {}
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
31
|
+
/**
|
|
32
|
+
* DropDownButtonItem Array Directive
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
class DropDownButtonItemsDirective extends ArrayBase {
|
|
36
|
+
constructor() {
|
|
37
|
+
super('items');
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
DropDownButtonItemsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
DropDownButtonItemsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DropDownButtonItemsDirective, selector: "ejs-dropdownbutton>e-dropdownbuttonitems", queries: [{ propertyName: "children", predicate: DropDownButtonItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonItemsDirective, decorators: [{
|
|
43
|
+
type: Directive,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: 'ejs-dropdownbutton>e-dropdownbuttonitems',
|
|
46
|
+
queries: {
|
|
47
|
+
children: new ContentChildren(DropDownButtonItemDirective)
|
|
48
|
+
},
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return []; } });
|
|
51
|
+
|
|
52
|
+
const inputs$2 = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
|
|
53
|
+
const outputs$3 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'close', 'created', 'open', 'select'];
|
|
54
|
+
const twoWays$2 = [];
|
|
55
|
+
/**
|
|
56
|
+
* Represents the Angular DropDownButton Component.
|
|
57
|
+
* ```html
|
|
58
|
+
* <button ejs-dropdownbutton>DropDownButton</button>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
let DropDownButtonComponent = class DropDownButtonComponent extends DropDownButton {
|
|
62
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
63
|
+
super();
|
|
64
|
+
this.ngEle = ngEle;
|
|
65
|
+
this.srenderer = srenderer;
|
|
66
|
+
this.viewContainerRef = viewContainerRef;
|
|
67
|
+
this.injector = injector;
|
|
68
|
+
this.tags = ['items'];
|
|
69
|
+
this.element = this.ngEle.nativeElement;
|
|
70
|
+
this.injectedModules = this.injectedModules || [];
|
|
71
|
+
this.registerEvents(outputs$3);
|
|
72
|
+
this.addTwoWay.call(this, twoWays$2);
|
|
73
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
74
|
+
this.containerContext = new ComponentBase();
|
|
75
|
+
}
|
|
76
|
+
ngOnInit() {
|
|
77
|
+
this.containerContext.ngOnInit(this);
|
|
78
|
+
}
|
|
79
|
+
ngAfterViewInit() {
|
|
80
|
+
this.containerContext.ngAfterViewInit(this);
|
|
81
|
+
}
|
|
82
|
+
ngOnDestroy() {
|
|
83
|
+
this.containerContext.ngOnDestroy(this);
|
|
84
|
+
}
|
|
85
|
+
ngAfterContentChecked() {
|
|
86
|
+
this.tagObjects[0].instance = this.childItems;
|
|
87
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
DropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
+
DropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DropDownButtonComponent, selector: "[ejs-dropdownbutton]", inputs: { 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" }, outputs: { beforeClose: "beforeClose", beforeItemRender: "beforeItemRender", beforeOpen: "beforeOpen", close: "close", created: "created", open: "open", select: "select" }, queries: [{ propertyName: "childItems", first: true, predicate: DropDownButtonItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
92
|
+
DropDownButtonComponent = __decorate([
|
|
93
|
+
ComponentMixins([ComponentBase])
|
|
94
|
+
], DropDownButtonComponent);
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
96
|
+
type: Component,
|
|
97
|
+
args: [{
|
|
98
|
+
selector: '[ejs-dropdownbutton]',
|
|
99
|
+
inputs: inputs$2,
|
|
100
|
+
outputs: outputs$3,
|
|
101
|
+
template: `<ng-content ></ng-content>`,
|
|
102
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
103
|
+
queries: {
|
|
104
|
+
childItems: new ContentChild(DropDownButtonItemsDirective)
|
|
105
|
+
}
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* NgModule definition for the DropDownButton component.
|
|
111
|
+
*/
|
|
112
|
+
class DropDownButtonModule {
|
|
113
|
+
}
|
|
114
|
+
DropDownButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
115
|
+
DropDownButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonModule, declarations: [DropDownButtonComponent,
|
|
116
|
+
DropDownButtonItemDirective,
|
|
117
|
+
DropDownButtonItemsDirective], imports: [CommonModule], exports: [DropDownButtonComponent,
|
|
118
|
+
DropDownButtonItemDirective,
|
|
119
|
+
DropDownButtonItemsDirective] });
|
|
120
|
+
DropDownButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonModule, imports: [[CommonModule]] });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonModule, decorators: [{
|
|
122
|
+
type: NgModule,
|
|
123
|
+
args: [{
|
|
124
|
+
imports: [CommonModule],
|
|
125
|
+
declarations: [
|
|
126
|
+
DropDownButtonComponent,
|
|
127
|
+
DropDownButtonItemDirective,
|
|
128
|
+
DropDownButtonItemsDirective
|
|
129
|
+
],
|
|
130
|
+
exports: [
|
|
131
|
+
DropDownButtonComponent,
|
|
132
|
+
DropDownButtonItemDirective,
|
|
133
|
+
DropDownButtonItemsDirective
|
|
134
|
+
]
|
|
135
|
+
}]
|
|
136
|
+
}] });
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* NgModule definition for the DropDownButton component with providers.
|
|
140
|
+
*/
|
|
141
|
+
class DropDownButtonAllModule {
|
|
142
|
+
}
|
|
143
|
+
DropDownButtonAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
144
|
+
DropDownButtonAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonAllModule, imports: [CommonModule, DropDownButtonModule], exports: [DropDownButtonModule] });
|
|
145
|
+
DropDownButtonAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonAllModule, providers: [], imports: [[CommonModule, DropDownButtonModule], DropDownButtonModule] });
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownButtonAllModule, decorators: [{
|
|
147
|
+
type: NgModule,
|
|
148
|
+
args: [{
|
|
149
|
+
imports: [CommonModule, DropDownButtonModule],
|
|
150
|
+
exports: [
|
|
151
|
+
DropDownButtonModule
|
|
152
|
+
],
|
|
153
|
+
providers: []
|
|
154
|
+
}]
|
|
155
|
+
}] });
|
|
156
|
+
|
|
157
|
+
let input = ['disabled', 'iconCss', 'id', 'separator', 'text', 'url'];
|
|
158
|
+
let outputs$2 = [];
|
|
159
|
+
class SplitButtonItemDirective extends ComplexBase {
|
|
160
|
+
constructor(viewContainerRef) {
|
|
161
|
+
super();
|
|
162
|
+
this.viewContainerRef = viewContainerRef;
|
|
163
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
164
|
+
this.registerEvents(outputs$2);
|
|
165
|
+
this.directivePropList = input;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
SplitButtonItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
169
|
+
SplitButtonItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: SplitButtonItemDirective, selector: "e-splitbuttonitems>e-splitbuttonitem", inputs: { disabled: "disabled", iconCss: "iconCss", id: "id", separator: "separator", text: "text", url: "url" }, usesInheritance: true, ngImport: i0 });
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemDirective, decorators: [{
|
|
171
|
+
type: Directive,
|
|
172
|
+
args: [{
|
|
173
|
+
selector: 'e-splitbuttonitems>e-splitbuttonitem',
|
|
174
|
+
inputs: input,
|
|
175
|
+
outputs: outputs$2,
|
|
176
|
+
queries: {}
|
|
177
|
+
}]
|
|
178
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
179
|
+
/**
|
|
180
|
+
* SplitButtonItem Array Directive
|
|
181
|
+
* @private
|
|
182
|
+
*/
|
|
183
|
+
class SplitButtonItemsDirective extends ArrayBase {
|
|
184
|
+
constructor() {
|
|
185
|
+
super('items');
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
SplitButtonItemsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
189
|
+
SplitButtonItemsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: SplitButtonItemsDirective, selector: "ejs-splitbutton>e-splitbuttonitems", queries: [{ propertyName: "children", predicate: SplitButtonItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonItemsDirective, decorators: [{
|
|
191
|
+
type: Directive,
|
|
192
|
+
args: [{
|
|
193
|
+
selector: 'ejs-splitbutton>e-splitbuttonitems',
|
|
194
|
+
queries: {
|
|
195
|
+
children: new ContentChildren(SplitButtonItemDirective)
|
|
196
|
+
},
|
|
197
|
+
}]
|
|
198
|
+
}], ctorParameters: function () { return []; } });
|
|
199
|
+
|
|
200
|
+
const inputs$1 = ['animationSettings', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'itemTemplate', 'items', 'locale', 'popupWidth', 'target'];
|
|
201
|
+
const outputs$1 = ['beforeClose', 'beforeItemRender', 'beforeOpen', 'click', 'close', 'created', 'open', 'select'];
|
|
202
|
+
const twoWays$1 = [];
|
|
203
|
+
/**
|
|
204
|
+
* Represents the Angular SplitButton Component.
|
|
205
|
+
* ```html
|
|
206
|
+
* <ejs-splitbutton content='Split Button'></ejs-splitbutton>
|
|
207
|
+
* ```
|
|
208
|
+
*/
|
|
209
|
+
let SplitButtonComponent = class SplitButtonComponent extends SplitButton {
|
|
210
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
211
|
+
super();
|
|
212
|
+
this.ngEle = ngEle;
|
|
213
|
+
this.srenderer = srenderer;
|
|
214
|
+
this.viewContainerRef = viewContainerRef;
|
|
215
|
+
this.injector = injector;
|
|
216
|
+
this.tags = ['items'];
|
|
217
|
+
this.element = this.ngEle.nativeElement;
|
|
218
|
+
this.injectedModules = this.injectedModules || [];
|
|
219
|
+
this.registerEvents(outputs$1);
|
|
220
|
+
this.addTwoWay.call(this, twoWays$1);
|
|
221
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
222
|
+
this.containerContext = new ComponentBase();
|
|
223
|
+
}
|
|
224
|
+
ngOnInit() {
|
|
225
|
+
this.containerContext.ngOnInit(this);
|
|
226
|
+
}
|
|
227
|
+
ngAfterViewInit() {
|
|
228
|
+
this.containerContext.ngAfterViewInit(this);
|
|
229
|
+
}
|
|
230
|
+
ngOnDestroy() {
|
|
231
|
+
this.containerContext.ngOnDestroy(this);
|
|
232
|
+
}
|
|
233
|
+
ngAfterContentChecked() {
|
|
234
|
+
this.tagObjects[0].instance = this.childItems;
|
|
235
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
SplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
239
|
+
SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SplitButtonComponent, selector: "ejs-splitbutton", inputs: { 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" }, outputs: { beforeClose: "beforeClose", beforeItemRender: "beforeItemRender", beforeOpen: "beforeOpen", click: "click", close: "close", created: "created", open: "open", select: "select" }, queries: [{ propertyName: "childItems", first: true, predicate: SplitButtonItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
240
|
+
SplitButtonComponent = __decorate([
|
|
241
|
+
ComponentMixins([ComponentBase])
|
|
242
|
+
], SplitButtonComponent);
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
244
|
+
type: Component,
|
|
245
|
+
args: [{
|
|
246
|
+
selector: 'ejs-splitbutton',
|
|
247
|
+
inputs: inputs$1,
|
|
248
|
+
outputs: outputs$1,
|
|
249
|
+
template: `<ng-content ></ng-content>`,
|
|
250
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
251
|
+
queries: {
|
|
252
|
+
childItems: new ContentChild(SplitButtonItemsDirective)
|
|
253
|
+
}
|
|
254
|
+
}]
|
|
255
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* NgModule definition for the SplitButton component.
|
|
259
|
+
*/
|
|
260
|
+
class SplitButtonModule {
|
|
261
|
+
}
|
|
262
|
+
SplitButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
263
|
+
SplitButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, declarations: [SplitButtonComponent,
|
|
264
|
+
SplitButtonItemDirective,
|
|
265
|
+
SplitButtonItemsDirective], imports: [CommonModule], exports: [SplitButtonComponent,
|
|
266
|
+
SplitButtonItemDirective,
|
|
267
|
+
SplitButtonItemsDirective] });
|
|
268
|
+
SplitButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, imports: [[CommonModule]] });
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonModule, decorators: [{
|
|
270
|
+
type: NgModule,
|
|
271
|
+
args: [{
|
|
272
|
+
imports: [CommonModule],
|
|
273
|
+
declarations: [
|
|
274
|
+
SplitButtonComponent,
|
|
275
|
+
SplitButtonItemDirective,
|
|
276
|
+
SplitButtonItemsDirective
|
|
277
|
+
],
|
|
278
|
+
exports: [
|
|
279
|
+
SplitButtonComponent,
|
|
280
|
+
SplitButtonItemDirective,
|
|
281
|
+
SplitButtonItemsDirective
|
|
282
|
+
]
|
|
283
|
+
}]
|
|
284
|
+
}] });
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* NgModule definition for the SplitButton component with providers.
|
|
288
|
+
*/
|
|
289
|
+
class SplitButtonAllModule {
|
|
290
|
+
}
|
|
291
|
+
SplitButtonAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
292
|
+
SplitButtonAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, imports: [CommonModule, SplitButtonModule], exports: [SplitButtonModule] });
|
|
293
|
+
SplitButtonAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, providers: [], imports: [[CommonModule, SplitButtonModule], SplitButtonModule] });
|
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SplitButtonAllModule, decorators: [{
|
|
295
|
+
type: NgModule,
|
|
296
|
+
args: [{
|
|
297
|
+
imports: [CommonModule, SplitButtonModule],
|
|
298
|
+
exports: [
|
|
299
|
+
SplitButtonModule
|
|
300
|
+
],
|
|
301
|
+
providers: []
|
|
302
|
+
}]
|
|
303
|
+
}] });
|
|
304
|
+
|
|
305
|
+
const inputs = ['animationSettings', 'content', 'cssClass', 'disabled', 'duration', 'enableHtmlSanitizer', 'enableProgress', 'iconCss', 'iconPosition', 'isPrimary', 'isToggle', 'spinSettings'];
|
|
306
|
+
const outputs = ['begin', 'created', 'end', 'fail', 'progress'];
|
|
307
|
+
const twoWays = [];
|
|
308
|
+
/**
|
|
309
|
+
* Represents the Angular ProgressButton Component.
|
|
310
|
+
* ```html
|
|
311
|
+
* <button ejs-progressbutton content='Progress Button'></button>
|
|
312
|
+
* ```
|
|
313
|
+
*/
|
|
314
|
+
let ProgressButtonComponent = class ProgressButtonComponent extends ProgressButton {
|
|
315
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
316
|
+
super();
|
|
317
|
+
this.ngEle = ngEle;
|
|
318
|
+
this.srenderer = srenderer;
|
|
319
|
+
this.viewContainerRef = viewContainerRef;
|
|
320
|
+
this.injector = injector;
|
|
321
|
+
this.element = this.ngEle.nativeElement;
|
|
322
|
+
this.injectedModules = this.injectedModules || [];
|
|
323
|
+
this.registerEvents(outputs);
|
|
324
|
+
this.addTwoWay.call(this, twoWays);
|
|
325
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
326
|
+
this.containerContext = new ComponentBase();
|
|
327
|
+
}
|
|
328
|
+
ngOnInit() {
|
|
329
|
+
this.containerContext.ngOnInit(this);
|
|
330
|
+
}
|
|
331
|
+
ngAfterViewInit() {
|
|
332
|
+
this.containerContext.ngAfterViewInit(this);
|
|
333
|
+
}
|
|
334
|
+
ngOnDestroy() {
|
|
335
|
+
this.containerContext.ngOnDestroy(this);
|
|
336
|
+
}
|
|
337
|
+
ngAfterContentChecked() {
|
|
338
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
ProgressButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
342
|
+
ProgressButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ProgressButtonComponent, selector: "[ejs-progressbutton]", inputs: { animationSettings: "animationSettings", content: "content", cssClass: "cssClass", disabled: "disabled", duration: "duration", enableHtmlSanitizer: "enableHtmlSanitizer", enableProgress: "enableProgress", iconCss: "iconCss", iconPosition: "iconPosition", isPrimary: "isPrimary", isToggle: "isToggle", spinSettings: "spinSettings" }, outputs: { begin: "begin", created: "created", end: "end", fail: "fail", progress: "progress" }, usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
343
|
+
ProgressButtonComponent = __decorate([
|
|
344
|
+
ComponentMixins([ComponentBase])
|
|
345
|
+
], ProgressButtonComponent);
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonComponent, decorators: [{
|
|
347
|
+
type: Component,
|
|
348
|
+
args: [{
|
|
349
|
+
selector: '[ejs-progressbutton]',
|
|
350
|
+
inputs: inputs,
|
|
351
|
+
outputs: outputs,
|
|
352
|
+
template: `<ng-content ></ng-content>`,
|
|
353
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
354
|
+
queries: {}
|
|
355
|
+
}]
|
|
356
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* NgModule definition for the ProgressButton component.
|
|
360
|
+
*/
|
|
361
|
+
class ProgressButtonModule {
|
|
362
|
+
}
|
|
363
|
+
ProgressButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
364
|
+
ProgressButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonModule, declarations: [ProgressButtonComponent], imports: [CommonModule], exports: [ProgressButtonComponent] });
|
|
365
|
+
ProgressButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonModule, imports: [[CommonModule]] });
|
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonModule, decorators: [{
|
|
367
|
+
type: NgModule,
|
|
368
|
+
args: [{
|
|
369
|
+
imports: [CommonModule],
|
|
370
|
+
declarations: [
|
|
371
|
+
ProgressButtonComponent
|
|
372
|
+
],
|
|
373
|
+
exports: [
|
|
374
|
+
ProgressButtonComponent
|
|
375
|
+
]
|
|
376
|
+
}]
|
|
377
|
+
}] });
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* NgModule definition for the ProgressButton component with providers.
|
|
381
|
+
*/
|
|
382
|
+
class ProgressButtonAllModule {
|
|
383
|
+
}
|
|
384
|
+
ProgressButtonAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
385
|
+
ProgressButtonAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonAllModule, imports: [CommonModule, ProgressButtonModule], exports: [ProgressButtonModule] });
|
|
386
|
+
ProgressButtonAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonAllModule, providers: [], imports: [[CommonModule, ProgressButtonModule], ProgressButtonModule] });
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ProgressButtonAllModule, decorators: [{
|
|
388
|
+
type: NgModule,
|
|
389
|
+
args: [{
|
|
390
|
+
imports: [CommonModule, ProgressButtonModule],
|
|
391
|
+
exports: [
|
|
392
|
+
ProgressButtonModule
|
|
393
|
+
],
|
|
394
|
+
providers: []
|
|
395
|
+
}]
|
|
396
|
+
}] });
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Generated bundle index. Do not edit.
|
|
400
|
+
*/
|
|
401
|
+
|
|
402
|
+
export { DropDownButtonAllModule, DropDownButtonComponent, DropDownButtonItemDirective, DropDownButtonItemsDirective, DropDownButtonModule, ProgressButtonAllModule, ProgressButtonComponent, ProgressButtonModule, SplitButtonAllModule, SplitButtonComponent, SplitButtonItemDirective, SplitButtonItemsDirective, SplitButtonModule };
|
|
403
|
+
//# sourceMappingURL=syncfusion-ej2-angular-splitbuttons.mjs.map
|