@syncfusion/ej2-angular-ribbon 23.1.41-ngcc → 23.1.41
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/esm2020/public_api.mjs +3 -0
- package/esm2020/src/index.mjs +9 -0
- package/esm2020/src/ribbon/collections.directive.mjs +70 -0
- package/esm2020/src/ribbon/groups.directive.mjs +66 -0
- package/esm2020/src/ribbon/items.directive.mjs +78 -0
- package/esm2020/src/ribbon/ribbon-all.module.mjs +53 -0
- package/esm2020/src/ribbon/ribbon.component.mjs +134 -0
- package/esm2020/src/ribbon/ribbon.module.mjs +61 -0
- package/esm2020/src/ribbon/tabs.directive.mjs +62 -0
- package/esm2020/syncfusion-ej2-angular-ribbon.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-ribbon.mjs +502 -0
- package/fesm2015/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-ribbon.mjs +502 -0
- package/fesm2020/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
- package/package.json +26 -12
- package/src/ribbon/collections.directive.d.ts +5 -0
- package/src/ribbon/groups.directive.d.ts +5 -0
- package/src/ribbon/items.directive.d.ts +5 -0
- package/src/ribbon/ribbon-all.module.d.ts +6 -0
- package/src/ribbon/ribbon.component.d.ts +3 -0
- package/src/ribbon/ribbon.module.d.ts +10 -0
- package/src/ribbon/tabs.directive.d.ts +5 -0
- package/styles/material3-dark.scss +1 -0
- package/styles/material3.scss +1 -0
- package/styles/ribbon/_all.scss +2 -0
- package/styles/ribbon/_bootstrap-dark-definition.scss +275 -0
- package/styles/ribbon/_bootstrap-definition.scss +275 -0
- package/styles/ribbon/_bootstrap4-definition.scss +275 -0
- package/styles/ribbon/_bootstrap5-dark-definition.scss +1 -0
- package/styles/ribbon/_bootstrap5-definition.scss +275 -0
- package/styles/ribbon/_fabric-dark-definition.scss +275 -0
- package/styles/ribbon/_fabric-definition.scss +275 -0
- package/styles/ribbon/_fluent-dark-definition.scss +1 -0
- package/styles/ribbon/_fluent-definition.scss +275 -0
- package/styles/ribbon/_fusionnew-definition.scss +275 -0
- package/styles/ribbon/_highcontrast-definition.scss +275 -0
- package/styles/ribbon/_highcontrast-light-definition.scss +275 -0
- package/styles/ribbon/_layout.scss +1402 -0
- package/styles/ribbon/_material-dark-definition.scss +275 -0
- package/styles/ribbon/_material-definition.scss +275 -0
- package/styles/ribbon/_material3-dark-definition.scss +1 -0
- package/styles/ribbon/_material3-definition.scss +276 -0
- package/styles/ribbon/_tailwind-dark-definition.scss +1 -0
- package/styles/ribbon/_tailwind-definition.scss +275 -0
- package/styles/ribbon/_theme.scss +486 -0
- package/styles/ribbon/bootstrap-dark.scss +18 -1
- package/styles/ribbon/bootstrap.scss +18 -1
- package/styles/ribbon/bootstrap4.scss +18 -1
- package/styles/ribbon/bootstrap5-dark.scss +18 -1
- package/styles/ribbon/bootstrap5.scss +18 -1
- package/styles/ribbon/fabric-dark.scss +18 -1
- package/styles/ribbon/fabric.scss +18 -1
- package/styles/ribbon/fluent-dark.scss +18 -1
- package/styles/ribbon/fluent.scss +18 -1
- package/styles/ribbon/highcontrast-light.scss +17 -1
- package/styles/ribbon/highcontrast.scss +18 -1
- package/styles/ribbon/icons/_bootstrap-dark.scss +9 -0
- package/styles/ribbon/icons/_bootstrap.scss +9 -0
- package/styles/ribbon/icons/_bootstrap4.scss +9 -0
- package/styles/ribbon/icons/_bootstrap5-dark.scss +1 -0
- package/styles/ribbon/icons/_bootstrap5.scss +9 -0
- package/styles/ribbon/icons/_fabric-dark.scss +9 -0
- package/styles/ribbon/icons/_fabric.scss +9 -0
- package/styles/ribbon/icons/_fluent-dark.scss +1 -0
- package/styles/ribbon/icons/_fluent.scss +9 -0
- package/styles/ribbon/icons/_fusionnew.scss +9 -0
- package/styles/ribbon/icons/_highcontrast.scss +9 -0
- package/styles/ribbon/icons/_material-dark.scss +9 -0
- package/styles/ribbon/icons/_material.scss +9 -0
- package/styles/ribbon/icons/_material3-dark.scss +1 -0
- package/styles/ribbon/icons/_material3.scss +9 -0
- package/styles/ribbon/icons/_tailwind-dark.scss +9 -0
- package/styles/ribbon/icons/_tailwind.scss +9 -0
- package/styles/ribbon/material-dark.scss +18 -1
- package/styles/ribbon/material.scss +18 -1
- package/styles/ribbon/material3-dark.scss +18 -1
- package/styles/ribbon/material3.scss +18 -1
- package/styles/ribbon/tailwind-dark.scss +18 -1
- package/styles/ribbon/tailwind.scss +18 -1
- package/syncfusion-ej2-angular-ribbon.d.ts +5 -0
- package/@syncfusion/ej2-angular-ribbon.es5.js +0 -584
- package/@syncfusion/ej2-angular-ribbon.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-ribbon.js +0 -544
- package/@syncfusion/ej2-angular-ribbon.js.map +0 -1
- package/CHANGELOG.md +0 -33
- package/dist/ej2-angular-ribbon.umd.js +0 -758
- package/dist/ej2-angular-ribbon.umd.js.map +0 -1
- package/dist/ej2-angular-ribbon.umd.min.js +0 -11
- package/dist/ej2-angular-ribbon.umd.min.js.map +0 -1
- package/ej2-angular-ribbon.d.ts +0 -5
- package/ej2-angular-ribbon.metadata.json +0 -1
- package/postinstall/tagchange.js +0 -18
- package/schematics/collection.json +0 -10
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -9
- package/schematics/ng-add/index.ts +0 -10
- package/schematics/ng-add/schema.d.ts +0 -13
- package/schematics/ng-add/schema.js +0 -2
- package/schematics/ng-add/schema.json +0 -34
- package/schematics/ng-add/schema.ts +0 -30
- package/schematics/tsconfig.json +0 -25
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
- package/schematics/utils/lib-details.ts +0 -4
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { RibbonGroupsDirective } from './groups.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
let input = ['cssClass', 'groups', 'header', 'id'];
|
|
6
|
+
let outputs = [];
|
|
7
|
+
/**
|
|
8
|
+
* `e-ribbon-tab` directive represent a tab of the Angular Ribbon.
|
|
9
|
+
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
10
|
+
* ```html
|
|
11
|
+
* <ejs-ribbon>
|
|
12
|
+
* <e-ribbon-tabs>
|
|
13
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
14
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
15
|
+
* </e-ribbon-tabs>
|
|
16
|
+
* </ejs-ribbon>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export class RibbonTabDirective extends ComplexBase {
|
|
20
|
+
constructor(viewContainerRef) {
|
|
21
|
+
super();
|
|
22
|
+
this.viewContainerRef = viewContainerRef;
|
|
23
|
+
this.tags = ['groups'];
|
|
24
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
25
|
+
this.registerEvents(outputs);
|
|
26
|
+
this.directivePropList = input;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
RibbonTabDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
+
RibbonTabDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonTabDirective, selector: "e-ribbon-tab", inputs: { cssClass: "cssClass", groups: "groups", header: "header", id: "id" }, queries: [{ propertyName: "childGroups", first: true, predicate: RibbonGroupsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabDirective, decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{
|
|
34
|
+
selector: 'e-ribbon-tab',
|
|
35
|
+
inputs: input,
|
|
36
|
+
outputs: outputs,
|
|
37
|
+
queries: {
|
|
38
|
+
childGroups: new ContentChild(RibbonGroupsDirective)
|
|
39
|
+
}
|
|
40
|
+
}]
|
|
41
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
42
|
+
/**
|
|
43
|
+
* RibbonTab Array Directive
|
|
44
|
+
* @private
|
|
45
|
+
*/
|
|
46
|
+
export class RibbonTabsDirective extends ArrayBase {
|
|
47
|
+
constructor() {
|
|
48
|
+
super('tabs');
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
RibbonTabsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
52
|
+
RibbonTabsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonTabsDirective, selector: "e-ribbon-tabs", queries: [{ propertyName: "children", predicate: RibbonTabDirective }], usesInheritance: true, ngImport: i0 });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabsDirective, decorators: [{
|
|
54
|
+
type: Directive,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: 'e-ribbon-tabs',
|
|
57
|
+
queries: {
|
|
58
|
+
children: new ContentChildren(RibbonTabDirective)
|
|
59
|
+
},
|
|
60
|
+
}]
|
|
61
|
+
}], ctorParameters: function () { return []; } });
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmliYm9uL3RhYnMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBL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bnQgb2YgdGFiIGhlYWRlci5cbiAgICAgKiBAZGVmYXVsdCAnJ1xuICAgICAqL1xuICAgIHB1YmxpYyBoZWFkZXI6IGFueTtcbiAgICAvKiogXG4gICAgICogRGVmaW5lcyBhIHVuaXF1ZSBpZGVudGlmaWVyIGZvciB0aGUgdGFiLlxuICAgICAqIEBkZWZhdWx0ICcnXG4gICAgICovXG4gICAgcHVibGljIGlkOiBhbnk7XG5cbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIHZpZXdDb250YWluZXJSZWY6Vmlld0NvbnRhaW5lclJlZikge1xuICAgICAgICBzdXBlcigpO1xuICAgICAgICBzZXRWYWx1ZSgnY3VycmVudEluc3RhbmNlJywgdGhpcywgdGhpcy52aWV3Q29udGFpbmVyUmVmKTtcbiAgICAgICAgdGhpcy5yZWdpc3RlckV2ZW50cyhvdXRwdXRzKTtcbiAgICAgICAgdGhpcy5kaXJlY3RpdmVQcm9wTGlzdCA9IGlucHV0O1xuICAgIH1cbn1cblxuLyoqXG4gKiBSaWJib25UYWIgQXJyYXkgRGlyZWN0aXZlXG4gKiBAcHJpdmF0ZVxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ2UtcmliYm9uLXRhYnMnLFxuICAgIHF1ZXJpZXM6IHtcbiAgICAgICAgY2hpbGRyZW46IG5ldyBDb250ZW50Q2hpbGRyZW4oUmliYm9uVGFiRGlyZWN0aXZlKVxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFJpYmJvblRhYnNEaXJlY3RpdmUgZXh0ZW5kcyBBcnJheUJhc2U8UmliYm9uVGFic0RpcmVjdGl2ZT4ge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcigndGFicycpO1xuICAgIH1cbn0iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1yaWJib24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zeW5jZnVzaW9uLWVqMi1hbmd1bGFyLXJpYmJvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19
|
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Directive, ContentChild, ContentChildren, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
+
import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
+
import { Ribbon, RibbonButton, RibbonDropDown, RibbonSplitButton, RibbonCheckBox, RibbonColorPicker, RibbonComboBox, RibbonGroupButton, RibbonFileMenu, RibbonBackstage } from '@syncfusion/ej2-ribbon';
|
|
6
|
+
export * from '@syncfusion/ej2-ribbon';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
let input$3 = ['activeSize', 'allowedSizes', 'buttonSettings', 'checkBoxSettings', 'colorPickerSettings', 'comboBoxSettings', 'cssClass', 'disabled', 'displayOptions', 'dropDownSettings', 'groupButtonSettings', 'id', 'itemTemplate', 'ribbonTooltipSettings', 'splitButtonSettings', 'type'];
|
|
10
|
+
let outputs$4 = [];
|
|
11
|
+
/**
|
|
12
|
+
* `e-ribbon-item` directive represent a item in the Angular Ribbon.
|
|
13
|
+
* ```html
|
|
14
|
+
* <ejs-ribbon>
|
|
15
|
+
* <e-ribbon-tabs>
|
|
16
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
17
|
+
* <e-ribbon-tab>
|
|
18
|
+
* <e-ribbon-groups>
|
|
19
|
+
* <e-ribbon-group>
|
|
20
|
+
* <e-ribbon-collections>
|
|
21
|
+
* <e-ribbon-collection>
|
|
22
|
+
* <e-ribbon-items>
|
|
23
|
+
* <e-ribbon-item></e-ribbon-item>
|
|
24
|
+
* <e-ribbon-item></e-ribbon-item>
|
|
25
|
+
* </e-ribbon-items>
|
|
26
|
+
* </e-ribbon-collection>
|
|
27
|
+
* </e-ribbon-collections>
|
|
28
|
+
* </e-ribbon-group>
|
|
29
|
+
* </e-ribbon-groups>
|
|
30
|
+
* </e-ribbon-tab>
|
|
31
|
+
* </e-ribbon-tabs>
|
|
32
|
+
* </ejs-ribbon>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class RibbonItemDirective extends ComplexBase {
|
|
36
|
+
constructor(viewContainerRef) {
|
|
37
|
+
super();
|
|
38
|
+
this.viewContainerRef = viewContainerRef;
|
|
39
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
40
|
+
this.registerEvents(outputs$4);
|
|
41
|
+
this.directivePropList = input$3;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
RibbonItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonItemDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
+
RibbonItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonItemDirective, selector: "e-ribbon-item", inputs: { activeSize: "activeSize", allowedSizes: "allowedSizes", buttonSettings: "buttonSettings", checkBoxSettings: "checkBoxSettings", colorPickerSettings: "colorPickerSettings", comboBoxSettings: "comboBoxSettings", cssClass: "cssClass", disabled: "disabled", displayOptions: "displayOptions", dropDownSettings: "dropDownSettings", groupButtonSettings: "groupButtonSettings", id: "id", itemTemplate: "itemTemplate", ribbonTooltipSettings: "ribbonTooltipSettings", splitButtonSettings: "splitButtonSettings", type: "type" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
46
|
+
__decorate([
|
|
47
|
+
Template()
|
|
48
|
+
], RibbonItemDirective.prototype, "itemTemplate", void 0);
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonItemDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'e-ribbon-item',
|
|
53
|
+
inputs: input$3,
|
|
54
|
+
outputs: outputs$4,
|
|
55
|
+
queries: {}
|
|
56
|
+
}]
|
|
57
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { itemTemplate: [{
|
|
58
|
+
type: ContentChild,
|
|
59
|
+
args: ['itemTemplate']
|
|
60
|
+
}] } });
|
|
61
|
+
/**
|
|
62
|
+
* RibbonItem Array Directive
|
|
63
|
+
* @private
|
|
64
|
+
*/
|
|
65
|
+
class RibbonItemsDirective extends ArrayBase {
|
|
66
|
+
constructor() {
|
|
67
|
+
super('items');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
RibbonItemsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
71
|
+
RibbonItemsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonItemsDirective, selector: "e-ribbon-items", queries: [{ propertyName: "children", predicate: RibbonItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonItemsDirective, decorators: [{
|
|
73
|
+
type: Directive,
|
|
74
|
+
args: [{
|
|
75
|
+
selector: 'e-ribbon-items',
|
|
76
|
+
queries: {
|
|
77
|
+
children: new ContentChildren(RibbonItemDirective)
|
|
78
|
+
},
|
|
79
|
+
}]
|
|
80
|
+
}], ctorParameters: function () { return []; } });
|
|
81
|
+
|
|
82
|
+
let input$2 = ['cssClass', 'id', 'items'];
|
|
83
|
+
let outputs$3 = [];
|
|
84
|
+
/**
|
|
85
|
+
* `e-ribbon-collection` directive represent a collection in the Angular Ribbon.
|
|
86
|
+
* ```html
|
|
87
|
+
* <ejs-ribbon>
|
|
88
|
+
* <e-ribbon-tabs>
|
|
89
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
90
|
+
* <e-ribbon-tab>
|
|
91
|
+
* <e-ribbon-groups>
|
|
92
|
+
* <e-ribbon-group>
|
|
93
|
+
* <e-ribbon-collections>
|
|
94
|
+
* <e-ribbon-collection></e-ribbon-collection>
|
|
95
|
+
* <e-ribbon-collection></e-ribbon-collection>
|
|
96
|
+
* </e-ribbon-collections>
|
|
97
|
+
* </e-ribbon-group>
|
|
98
|
+
* </e-ribbon-groups>
|
|
99
|
+
* </e-ribbon-tab>
|
|
100
|
+
* </e-ribbon-tabs>
|
|
101
|
+
* </ejs-ribbon>
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
class RibbonCollectionDirective extends ComplexBase {
|
|
105
|
+
constructor(viewContainerRef) {
|
|
106
|
+
super();
|
|
107
|
+
this.viewContainerRef = viewContainerRef;
|
|
108
|
+
this.tags = ['items'];
|
|
109
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
110
|
+
this.registerEvents(outputs$3);
|
|
111
|
+
this.directivePropList = input$2;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
RibbonCollectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
115
|
+
RibbonCollectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonCollectionDirective, selector: "e-ribbon-collection", inputs: { cssClass: "cssClass", id: "id", items: "items" }, queries: [{ propertyName: "childItems", first: true, predicate: RibbonItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionDirective, decorators: [{
|
|
117
|
+
type: Directive,
|
|
118
|
+
args: [{
|
|
119
|
+
selector: 'e-ribbon-collection',
|
|
120
|
+
inputs: input$2,
|
|
121
|
+
outputs: outputs$3,
|
|
122
|
+
queries: {
|
|
123
|
+
childItems: new ContentChild(RibbonItemsDirective)
|
|
124
|
+
}
|
|
125
|
+
}]
|
|
126
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
127
|
+
/**
|
|
128
|
+
* RibbonCollection Array Directive
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
class RibbonCollectionsDirective extends ArrayBase {
|
|
132
|
+
constructor() {
|
|
133
|
+
super('collections');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
RibbonCollectionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
137
|
+
RibbonCollectionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonCollectionsDirective, selector: "e-ribbon-collections", queries: [{ propertyName: "children", predicate: RibbonCollectionDirective }], usesInheritance: true, ngImport: i0 });
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionsDirective, decorators: [{
|
|
139
|
+
type: Directive,
|
|
140
|
+
args: [{
|
|
141
|
+
selector: 'e-ribbon-collections',
|
|
142
|
+
queries: {
|
|
143
|
+
children: new ContentChildren(RibbonCollectionDirective)
|
|
144
|
+
},
|
|
145
|
+
}]
|
|
146
|
+
}], ctorParameters: function () { return []; } });
|
|
147
|
+
|
|
148
|
+
let input$1 = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'orientation', 'priority', 'showLauncherIcon'];
|
|
149
|
+
let outputs$2 = [];
|
|
150
|
+
/**
|
|
151
|
+
* `e-ribbon-group` directive represent a group in the Angular Ribbon.
|
|
152
|
+
* ```html
|
|
153
|
+
* <ejs-ribbon>
|
|
154
|
+
* <e-ribbon-tabs>
|
|
155
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
156
|
+
* <e-ribbon-tab>
|
|
157
|
+
* <e-ribbon-groups>
|
|
158
|
+
* <e-ribbon-group></e-ribbon-group>
|
|
159
|
+
* <e-ribbon-group></e-ribbon-group>
|
|
160
|
+
* </e-ribbon-groups>
|
|
161
|
+
* </e-ribbon-tab>
|
|
162
|
+
* </e-ribbon-tabs>
|
|
163
|
+
* </ejs-ribbon>
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
class RibbonGroupDirective extends ComplexBase {
|
|
167
|
+
constructor(viewContainerRef) {
|
|
168
|
+
super();
|
|
169
|
+
this.viewContainerRef = viewContainerRef;
|
|
170
|
+
this.tags = ['collections'];
|
|
171
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
172
|
+
this.registerEvents(outputs$2);
|
|
173
|
+
this.directivePropList = input$1;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
RibbonGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
177
|
+
RibbonGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonGroupDirective, selector: "e-ribbon-group", inputs: { collections: "collections", cssClass: "cssClass", enableGroupOverflow: "enableGroupOverflow", groupIconCss: "groupIconCss", header: "header", id: "id", isCollapsed: "isCollapsed", isCollapsible: "isCollapsible", orientation: "orientation", priority: "priority", showLauncherIcon: "showLauncherIcon" }, queries: [{ propertyName: "childCollections", first: true, predicate: RibbonCollectionsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupDirective, decorators: [{
|
|
179
|
+
type: Directive,
|
|
180
|
+
args: [{
|
|
181
|
+
selector: 'e-ribbon-group',
|
|
182
|
+
inputs: input$1,
|
|
183
|
+
outputs: outputs$2,
|
|
184
|
+
queries: {
|
|
185
|
+
childCollections: new ContentChild(RibbonCollectionsDirective)
|
|
186
|
+
}
|
|
187
|
+
}]
|
|
188
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
189
|
+
/**
|
|
190
|
+
* RibbonGroup Array Directive
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
class RibbonGroupsDirective extends ArrayBase {
|
|
194
|
+
constructor() {
|
|
195
|
+
super('groups');
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
RibbonGroupsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
199
|
+
RibbonGroupsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonGroupsDirective, selector: "e-ribbon-groups", queries: [{ propertyName: "children", predicate: RibbonGroupDirective }], usesInheritance: true, ngImport: i0 });
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupsDirective, decorators: [{
|
|
201
|
+
type: Directive,
|
|
202
|
+
args: [{
|
|
203
|
+
selector: 'e-ribbon-groups',
|
|
204
|
+
queries: {
|
|
205
|
+
children: new ContentChildren(RibbonGroupDirective)
|
|
206
|
+
},
|
|
207
|
+
}]
|
|
208
|
+
}], ctorParameters: function () { return []; } });
|
|
209
|
+
|
|
210
|
+
let input = ['cssClass', 'groups', 'header', 'id'];
|
|
211
|
+
let outputs$1 = [];
|
|
212
|
+
/**
|
|
213
|
+
* `e-ribbon-tab` directive represent a tab of the Angular Ribbon.
|
|
214
|
+
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
215
|
+
* ```html
|
|
216
|
+
* <ejs-ribbon>
|
|
217
|
+
* <e-ribbon-tabs>
|
|
218
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
219
|
+
* <e-ribbon-tab></e-ribbon-tab>
|
|
220
|
+
* </e-ribbon-tabs>
|
|
221
|
+
* </ejs-ribbon>
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
class RibbonTabDirective extends ComplexBase {
|
|
225
|
+
constructor(viewContainerRef) {
|
|
226
|
+
super();
|
|
227
|
+
this.viewContainerRef = viewContainerRef;
|
|
228
|
+
this.tags = ['groups'];
|
|
229
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
230
|
+
this.registerEvents(outputs$1);
|
|
231
|
+
this.directivePropList = input;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
RibbonTabDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
235
|
+
RibbonTabDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonTabDirective, selector: "e-ribbon-tab", inputs: { cssClass: "cssClass", groups: "groups", header: "header", id: "id" }, queries: [{ propertyName: "childGroups", first: true, predicate: RibbonGroupsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabDirective, decorators: [{
|
|
237
|
+
type: Directive,
|
|
238
|
+
args: [{
|
|
239
|
+
selector: 'e-ribbon-tab',
|
|
240
|
+
inputs: input,
|
|
241
|
+
outputs: outputs$1,
|
|
242
|
+
queries: {
|
|
243
|
+
childGroups: new ContentChild(RibbonGroupsDirective)
|
|
244
|
+
}
|
|
245
|
+
}]
|
|
246
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
247
|
+
/**
|
|
248
|
+
* RibbonTab Array Directive
|
|
249
|
+
* @private
|
|
250
|
+
*/
|
|
251
|
+
class RibbonTabsDirective extends ArrayBase {
|
|
252
|
+
constructor() {
|
|
253
|
+
super('tabs');
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
RibbonTabsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
257
|
+
RibbonTabsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonTabsDirective, selector: "e-ribbon-tabs", queries: [{ propertyName: "children", predicate: RibbonTabDirective }], usesInheritance: true, ngImport: i0 });
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonTabsDirective, decorators: [{
|
|
259
|
+
type: Directive,
|
|
260
|
+
args: [{
|
|
261
|
+
selector: 'e-ribbon-tabs',
|
|
262
|
+
queries: {
|
|
263
|
+
children: new ContentChildren(RibbonTabDirective)
|
|
264
|
+
},
|
|
265
|
+
}]
|
|
266
|
+
}], ctorParameters: function () { return []; } });
|
|
267
|
+
|
|
268
|
+
const inputs = ['activeLayout', 'backStageMenu', 'cssClass', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'hideLayoutSwitcher', 'isMinimized', 'launcherIconCss', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width'];
|
|
269
|
+
const outputs = ['created', 'launcherIconClick', 'ribbonCollapsing', 'ribbonExpanding', 'tabSelected', 'tabSelecting'];
|
|
270
|
+
const twoWays = [''];
|
|
271
|
+
/**
|
|
272
|
+
* Represents the Essential JS 2 Angular Ribbon Component.
|
|
273
|
+
* ```html
|
|
274
|
+
* <ejs-ribbon></ejs-ribbon>
|
|
275
|
+
* ```
|
|
276
|
+
*/
|
|
277
|
+
let RibbonComponent = class RibbonComponent extends Ribbon {
|
|
278
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
279
|
+
super();
|
|
280
|
+
this.ngEle = ngEle;
|
|
281
|
+
this.srenderer = srenderer;
|
|
282
|
+
this.viewContainerRef = viewContainerRef;
|
|
283
|
+
this.injector = injector;
|
|
284
|
+
this.tags = ['tabs'];
|
|
285
|
+
this.element = this.ngEle.nativeElement;
|
|
286
|
+
this.injectedModules = this.injectedModules || [];
|
|
287
|
+
try {
|
|
288
|
+
let mod = this.injector.get('RibbonRibbonButton');
|
|
289
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
290
|
+
this.injectedModules.push(mod);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
catch (_a) { }
|
|
294
|
+
try {
|
|
295
|
+
let mod = this.injector.get('RibbonRibbonDropDown');
|
|
296
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
297
|
+
this.injectedModules.push(mod);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
catch (_b) { }
|
|
301
|
+
try {
|
|
302
|
+
let mod = this.injector.get('RibbonRibbonSplitButton');
|
|
303
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
304
|
+
this.injectedModules.push(mod);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
catch (_c) { }
|
|
308
|
+
try {
|
|
309
|
+
let mod = this.injector.get('RibbonRibbonCheckBox');
|
|
310
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
311
|
+
this.injectedModules.push(mod);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
catch (_d) { }
|
|
315
|
+
try {
|
|
316
|
+
let mod = this.injector.get('RibbonRibbonColorPicker');
|
|
317
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
318
|
+
this.injectedModules.push(mod);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
catch (_e) { }
|
|
322
|
+
try {
|
|
323
|
+
let mod = this.injector.get('RibbonRibbonComboBox');
|
|
324
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
325
|
+
this.injectedModules.push(mod);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
catch (_f) { }
|
|
329
|
+
try {
|
|
330
|
+
let mod = this.injector.get('RibbonRibbonGroupButton');
|
|
331
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
332
|
+
this.injectedModules.push(mod);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
catch (_g) { }
|
|
336
|
+
try {
|
|
337
|
+
let mod = this.injector.get('RibbonRibbonFileMenu');
|
|
338
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
339
|
+
this.injectedModules.push(mod);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
catch (_h) { }
|
|
343
|
+
try {
|
|
344
|
+
let mod = this.injector.get('RibbonRibbonBackstage');
|
|
345
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
346
|
+
this.injectedModules.push(mod);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
catch (_j) { }
|
|
350
|
+
this.registerEvents(outputs);
|
|
351
|
+
this.addTwoWay.call(this, twoWays);
|
|
352
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
353
|
+
this.containerContext = new ComponentBase();
|
|
354
|
+
}
|
|
355
|
+
ngOnInit() {
|
|
356
|
+
this.containerContext.ngOnInit(this);
|
|
357
|
+
}
|
|
358
|
+
ngAfterViewInit() {
|
|
359
|
+
this.containerContext.ngAfterViewInit(this);
|
|
360
|
+
}
|
|
361
|
+
ngOnDestroy() {
|
|
362
|
+
this.containerContext.ngOnDestroy(this);
|
|
363
|
+
}
|
|
364
|
+
ngAfterContentChecked() {
|
|
365
|
+
this.tagObjects[0].instance = this.childTabs;
|
|
366
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
RibbonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
370
|
+
RibbonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: RibbonComponent, selector: "ejs-ribbon", inputs: { activeLayout: "activeLayout", backStageMenu: "backStageMenu", cssClass: "cssClass", enablePersistence: "enablePersistence", enableRtl: "enableRtl", fileMenu: "fileMenu", helpPaneTemplate: "helpPaneTemplate", hideLayoutSwitcher: "hideLayoutSwitcher", isMinimized: "isMinimized", launcherIconCss: "launcherIconCss", locale: "locale", selectedTab: "selectedTab", tabAnimation: "tabAnimation", tabs: "tabs", width: "width" }, outputs: { created: "created", launcherIconClick: "launcherIconClick", ribbonCollapsing: "ribbonCollapsing", ribbonExpanding: "ribbonExpanding", tabSelected: "tabSelected", tabSelecting: "tabSelecting" }, queries: [{ propertyName: "helpPaneTemplate", first: true, predicate: ["helpPaneTemplate"], descendants: true }, { propertyName: "childTabs", first: true, predicate: RibbonTabsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content select='div'></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
371
|
+
__decorate([
|
|
372
|
+
Template()
|
|
373
|
+
], RibbonComponent.prototype, "helpPaneTemplate", void 0);
|
|
374
|
+
RibbonComponent = __decorate([
|
|
375
|
+
ComponentMixins([ComponentBase])
|
|
376
|
+
], RibbonComponent);
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonComponent, decorators: [{
|
|
378
|
+
type: Component,
|
|
379
|
+
args: [{
|
|
380
|
+
selector: 'ejs-ribbon',
|
|
381
|
+
inputs: inputs,
|
|
382
|
+
outputs: outputs,
|
|
383
|
+
template: `<ng-content select='div'></ng-content>`,
|
|
384
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
385
|
+
queries: {
|
|
386
|
+
childTabs: new ContentChild(RibbonTabsDirective)
|
|
387
|
+
}
|
|
388
|
+
}]
|
|
389
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { helpPaneTemplate: [{
|
|
390
|
+
type: ContentChild,
|
|
391
|
+
args: ['helpPaneTemplate']
|
|
392
|
+
}] } });
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* NgModule definition for the Ribbon component.
|
|
396
|
+
*/
|
|
397
|
+
class RibbonModule {
|
|
398
|
+
}
|
|
399
|
+
RibbonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
400
|
+
RibbonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonModule, declarations: [RibbonComponent,
|
|
401
|
+
RibbonItemDirective,
|
|
402
|
+
RibbonItemsDirective,
|
|
403
|
+
RibbonCollectionDirective,
|
|
404
|
+
RibbonCollectionsDirective,
|
|
405
|
+
RibbonGroupDirective,
|
|
406
|
+
RibbonGroupsDirective,
|
|
407
|
+
RibbonTabDirective,
|
|
408
|
+
RibbonTabsDirective], imports: [CommonModule], exports: [RibbonComponent,
|
|
409
|
+
RibbonItemDirective,
|
|
410
|
+
RibbonItemsDirective,
|
|
411
|
+
RibbonCollectionDirective,
|
|
412
|
+
RibbonCollectionsDirective,
|
|
413
|
+
RibbonGroupDirective,
|
|
414
|
+
RibbonGroupsDirective,
|
|
415
|
+
RibbonTabDirective,
|
|
416
|
+
RibbonTabsDirective] });
|
|
417
|
+
RibbonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonModule, imports: [[CommonModule]] });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonModule, decorators: [{
|
|
419
|
+
type: NgModule,
|
|
420
|
+
args: [{
|
|
421
|
+
imports: [CommonModule],
|
|
422
|
+
declarations: [
|
|
423
|
+
RibbonComponent,
|
|
424
|
+
RibbonItemDirective,
|
|
425
|
+
RibbonItemsDirective,
|
|
426
|
+
RibbonCollectionDirective,
|
|
427
|
+
RibbonCollectionsDirective,
|
|
428
|
+
RibbonGroupDirective,
|
|
429
|
+
RibbonGroupsDirective,
|
|
430
|
+
RibbonTabDirective,
|
|
431
|
+
RibbonTabsDirective
|
|
432
|
+
],
|
|
433
|
+
exports: [
|
|
434
|
+
RibbonComponent,
|
|
435
|
+
RibbonItemDirective,
|
|
436
|
+
RibbonItemsDirective,
|
|
437
|
+
RibbonCollectionDirective,
|
|
438
|
+
RibbonCollectionsDirective,
|
|
439
|
+
RibbonGroupDirective,
|
|
440
|
+
RibbonGroupsDirective,
|
|
441
|
+
RibbonTabDirective,
|
|
442
|
+
RibbonTabsDirective
|
|
443
|
+
]
|
|
444
|
+
}]
|
|
445
|
+
}] });
|
|
446
|
+
|
|
447
|
+
const RibbonButtonService = { provide: 'RibbonRibbonButton', useValue: RibbonButton };
|
|
448
|
+
const RibbonDropDownService = { provide: 'RibbonRibbonDropDown', useValue: RibbonDropDown };
|
|
449
|
+
const RibbonSplitButtonService = { provide: 'RibbonRibbonSplitButton', useValue: RibbonSplitButton };
|
|
450
|
+
const RibbonCheckBoxService = { provide: 'RibbonRibbonCheckBox', useValue: RibbonCheckBox };
|
|
451
|
+
const RibbonColorPickerService = { provide: 'RibbonRibbonColorPicker', useValue: RibbonColorPicker };
|
|
452
|
+
const RibbonComboBoxService = { provide: 'RibbonRibbonComboBox', useValue: RibbonComboBox };
|
|
453
|
+
const RibbonGroupButtonService = { provide: 'RibbonRibbonGroupButton', useValue: RibbonGroupButton };
|
|
454
|
+
const RibbonFileMenuService = { provide: 'RibbonRibbonFileMenu', useValue: RibbonFileMenu };
|
|
455
|
+
const RibbonBackstageService = { provide: 'RibbonRibbonBackstage', useValue: RibbonBackstage };
|
|
456
|
+
/**
|
|
457
|
+
* NgModule definition for the Ribbon component with providers.
|
|
458
|
+
*/
|
|
459
|
+
class RibbonAllModule {
|
|
460
|
+
}
|
|
461
|
+
RibbonAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
462
|
+
RibbonAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonAllModule, imports: [CommonModule, RibbonModule], exports: [RibbonModule] });
|
|
463
|
+
RibbonAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonAllModule, providers: [
|
|
464
|
+
RibbonButtonService,
|
|
465
|
+
RibbonDropDownService,
|
|
466
|
+
RibbonSplitButtonService,
|
|
467
|
+
RibbonCheckBoxService,
|
|
468
|
+
RibbonColorPickerService,
|
|
469
|
+
RibbonComboBoxService,
|
|
470
|
+
RibbonGroupButtonService,
|
|
471
|
+
RibbonFileMenuService,
|
|
472
|
+
RibbonBackstageService
|
|
473
|
+
], imports: [[CommonModule, RibbonModule], RibbonModule] });
|
|
474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonAllModule, decorators: [{
|
|
475
|
+
type: NgModule,
|
|
476
|
+
args: [{
|
|
477
|
+
imports: [CommonModule, RibbonModule],
|
|
478
|
+
exports: [
|
|
479
|
+
RibbonModule
|
|
480
|
+
],
|
|
481
|
+
providers: [
|
|
482
|
+
RibbonButtonService,
|
|
483
|
+
RibbonDropDownService,
|
|
484
|
+
RibbonSplitButtonService,
|
|
485
|
+
RibbonCheckBoxService,
|
|
486
|
+
RibbonColorPickerService,
|
|
487
|
+
RibbonComboBoxService,
|
|
488
|
+
RibbonGroupButtonService,
|
|
489
|
+
RibbonFileMenuService,
|
|
490
|
+
RibbonBackstageService
|
|
491
|
+
]
|
|
492
|
+
}]
|
|
493
|
+
}] });
|
|
494
|
+
|
|
495
|
+
// Mapping root file for package generation
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Generated bundle index. Do not edit.
|
|
499
|
+
*/
|
|
500
|
+
|
|
501
|
+
export { RibbonAllModule, RibbonBackstageService, RibbonButtonService, RibbonCheckBoxService, RibbonCollectionDirective, RibbonCollectionsDirective, RibbonColorPickerService, RibbonComboBoxService, RibbonComponent, RibbonDropDownService, RibbonFileMenuService, RibbonGroupButtonService, RibbonGroupDirective, RibbonGroupsDirective, RibbonItemDirective, RibbonItemsDirective, RibbonModule, RibbonSplitButtonService, RibbonTabDirective, RibbonTabsDirective };
|
|
502
|
+
//# sourceMappingURL=syncfusion-ej2-angular-ribbon.mjs.map
|