@syncfusion/ej2-angular-ribbon 33.2.10-ngcc → 34.1.29-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-ribbon.es5.js +614 -614
- package/@syncfusion/ej2-angular-ribbon.js +545 -545
- package/{license → LICENSE} +10 -10
- package/README.md +10 -2
- package/dist/ej2-angular-ribbon.umd.js +605 -605
- package/dist/ej2-angular-ribbon.umd.min.js +1 -1
- package/ej2-angular-ribbon.d.ts +5 -5
- 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/index.d.ts +9 -9
- package/src/ribbon/collections.directive.d.ts +32 -32
- package/src/ribbon/contextualtabs.directive.d.ts +44 -44
- package/src/ribbon/groups.directive.d.ts +92 -92
- package/src/ribbon/items.directive.d.ts +114 -114
- package/src/ribbon/ribbon-all.module.d.ts +18 -18
- package/src/ribbon/ribbon.component.d.ts +51 -51
- package/src/ribbon/ribbon.module.d.ts +5 -5
- package/src/ribbon/tabs.directive.d.ts +42 -42
- package/styles/bds-lite.scss +1 -1
- package/styles/bds.scss +1 -1
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-dark.scss +1 -1
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap.scss +1 -1
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap4.scss +1 -1
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-dark.scss +1 -1
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/bootstrap5.3.scss +1 -1
- package/styles/bootstrap5.scss +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-dark.scss +1 -1
- package/styles/fabric-lite.scss +1 -1
- package/styles/fabric.scss +1 -1
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-dark.scss +1 -1
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent.scss +1 -1
- package/styles/fluent2-lite.scss +1 -1
- package/styles/fluent2.scss +1 -1
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-light.scss +1 -1
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/highcontrast.scss +1 -1
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-dark.scss +1 -1
- package/styles/material-lite.scss +1 -1
- package/styles/material.scss +1 -1
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-dark.scss +1 -2
- package/styles/material3-lite.scss +1 -1
- package/styles/material3.scss +1 -2
- package/styles/ribbon/bds.scss +1 -1
- package/styles/ribbon/bootstrap-dark.scss +1 -1
- package/styles/ribbon/bootstrap.scss +1 -1
- package/styles/ribbon/bootstrap4.scss +1 -1
- package/styles/ribbon/bootstrap5-dark.scss +1 -1
- package/styles/ribbon/bootstrap5.3.scss +1 -1
- package/styles/ribbon/bootstrap5.scss +1 -1
- package/styles/ribbon/fabric-dark.scss +1 -1
- package/styles/ribbon/fabric.scss +1 -1
- package/styles/ribbon/fluent-dark.scss +1 -1
- package/styles/ribbon/fluent.scss +1 -1
- package/styles/ribbon/fluent2.scss +1 -1
- package/styles/ribbon/highcontrast-light.scss +1 -1
- package/styles/ribbon/highcontrast.scss +1 -1
- package/styles/ribbon/material-dark.scss +1 -1
- package/styles/ribbon/material.scss +1 -1
- package/styles/ribbon/material3-dark.scss +1 -2
- package/styles/ribbon/material3.scss +1 -2
- package/styles/ribbon/tailwind-dark.scss +1 -1
- package/styles/ribbon/tailwind.scss +1 -1
- package/styles/ribbon/tailwind3.scss +1 -1
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-dark.scss +1 -1
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind.scss +1 -1
- package/styles/tailwind3-lite.scss +1 -1
- package/styles/tailwind3.scss +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-ribbon.umd.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 34.1.29
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -13,610 +13,610 @@
|
|
|
13
13
|
(factory((global['ej2-angular-ribbon'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.ribbon,global.ng.common));
|
|
14
14
|
}(this, (function (exports,core,ej2AngularBase,ej2Ribbon,common) { 'use strict';
|
|
15
15
|
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
-
return function (d, b) {
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() { this.constructor = d; }
|
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
-
else
|
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
-
if (d = decorators[i])
|
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
-
};
|
|
36
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
-
return Reflect.metadata(k, v);
|
|
39
|
-
};
|
|
40
|
-
var input = ['activeSize', 'allowedSizes', 'buttonSettings', 'checkBoxSettings', 'colorPickerSettings', 'comboBoxSettings', 'cssClass', 'disabled', 'displayOptions', 'dropDownSettings', 'gallerySettings', 'groupButtonSettings', 'id', 'itemTemplate', 'keyTip', 'ribbonTooltipSettings', 'splitButtonSettings', 'type'];
|
|
41
|
-
var outputs = [];
|
|
42
|
-
var RibbonItemDirective = /** @class */ (function (_super) {
|
|
43
|
-
__extends(RibbonItemDirective, _super);
|
|
44
|
-
/**
|
|
45
|
-
* @param {?} viewContainerRef
|
|
46
|
-
*/
|
|
47
|
-
function RibbonItemDirective(viewContainerRef) {
|
|
48
|
-
var _this = _super.call(this) || this;
|
|
49
|
-
_this.viewContainerRef = viewContainerRef;
|
|
50
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
51
|
-
_this.registerEvents(outputs);
|
|
52
|
-
_this.directivePropList = input;
|
|
53
|
-
return _this;
|
|
54
|
-
}
|
|
55
|
-
return RibbonItemDirective;
|
|
56
|
-
}(ej2AngularBase.ComplexBase));
|
|
57
|
-
RibbonItemDirective.decorators = [
|
|
58
|
-
{ type: core.Directive, args: [{
|
|
59
|
-
selector: 'e-ribbon-item',
|
|
60
|
-
inputs: input,
|
|
61
|
-
outputs: outputs,
|
|
62
|
-
queries: {}
|
|
63
|
-
},] },
|
|
64
|
-
];
|
|
65
|
-
/**
|
|
66
|
-
* @nocollapse
|
|
67
|
-
*/
|
|
68
|
-
RibbonItemDirective.ctorParameters = function () { return [
|
|
69
|
-
{ type: core.ViewContainerRef, },
|
|
70
|
-
]; };
|
|
71
|
-
RibbonItemDirective.propDecorators = {
|
|
72
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
73
|
-
};
|
|
74
|
-
__decorate([
|
|
75
|
-
ej2AngularBase.Template(),
|
|
76
|
-
__metadata("design:type", Object)
|
|
77
|
-
], RibbonItemDirective.prototype, "itemTemplate", void 0);
|
|
78
|
-
/**
|
|
79
|
-
* RibbonItem Array Directive
|
|
80
|
-
*/
|
|
81
|
-
var RibbonItemsDirective = /** @class */ (function (_super) {
|
|
82
|
-
__extends(RibbonItemsDirective, _super);
|
|
83
|
-
function RibbonItemsDirective() {
|
|
84
|
-
return _super.call(this, 'items') || this;
|
|
85
|
-
}
|
|
86
|
-
return RibbonItemsDirective;
|
|
87
|
-
}(ej2AngularBase.ArrayBase));
|
|
88
|
-
RibbonItemsDirective.decorators = [
|
|
89
|
-
{ type: core.Directive, args: [{
|
|
90
|
-
selector: 'e-ribbon-items',
|
|
91
|
-
queries: {
|
|
92
|
-
children: new core.ContentChildren(RibbonItemDirective)
|
|
93
|
-
},
|
|
94
|
-
},] },
|
|
95
|
-
];
|
|
96
|
-
/**
|
|
97
|
-
* @nocollapse
|
|
98
|
-
*/
|
|
99
|
-
RibbonItemsDirective.ctorParameters = function () { return []; };
|
|
100
|
-
var input$1 = ['cssClass', 'id', 'items'];
|
|
101
|
-
var outputs$1 = [];
|
|
102
|
-
var RibbonCollectionDirective = /** @class */ (function (_super) {
|
|
103
|
-
__extends(RibbonCollectionDirective, _super);
|
|
104
|
-
/**
|
|
105
|
-
* @param {?} viewContainerRef
|
|
106
|
-
*/
|
|
107
|
-
function RibbonCollectionDirective(viewContainerRef) {
|
|
108
|
-
var _this = _super.call(this) || this;
|
|
109
|
-
_this.viewContainerRef = viewContainerRef;
|
|
110
|
-
_this.tags = ['items'];
|
|
111
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
112
|
-
_this.registerEvents(outputs$1);
|
|
113
|
-
_this.directivePropList = input$1;
|
|
114
|
-
return _this;
|
|
115
|
-
}
|
|
116
|
-
return RibbonCollectionDirective;
|
|
117
|
-
}(ej2AngularBase.ComplexBase));
|
|
118
|
-
RibbonCollectionDirective.decorators = [
|
|
119
|
-
{ type: core.Directive, args: [{
|
|
120
|
-
selector: 'e-ribbon-collection',
|
|
121
|
-
inputs: input$1,
|
|
122
|
-
outputs: outputs$1,
|
|
123
|
-
queries: {
|
|
124
|
-
childItems: new core.ContentChild(RibbonItemsDirective)
|
|
125
|
-
}
|
|
126
|
-
},] },
|
|
127
|
-
];
|
|
128
|
-
/**
|
|
129
|
-
* @nocollapse
|
|
130
|
-
*/
|
|
131
|
-
RibbonCollectionDirective.ctorParameters = function () { return [
|
|
132
|
-
{ type: core.ViewContainerRef, },
|
|
133
|
-
]; };
|
|
134
|
-
/**
|
|
135
|
-
* RibbonCollection Array Directive
|
|
136
|
-
*/
|
|
137
|
-
var RibbonCollectionsDirective = /** @class */ (function (_super) {
|
|
138
|
-
__extends(RibbonCollectionsDirective, _super);
|
|
139
|
-
function RibbonCollectionsDirective() {
|
|
140
|
-
return _super.call(this, 'collections') || this;
|
|
141
|
-
}
|
|
142
|
-
return RibbonCollectionsDirective;
|
|
143
|
-
}(ej2AngularBase.ArrayBase));
|
|
144
|
-
RibbonCollectionsDirective.decorators = [
|
|
145
|
-
{ type: core.Directive, args: [{
|
|
146
|
-
selector: 'e-ribbon-collections',
|
|
147
|
-
queries: {
|
|
148
|
-
children: new core.ContentChildren(RibbonCollectionDirective)
|
|
149
|
-
},
|
|
150
|
-
},] },
|
|
151
|
-
];
|
|
152
|
-
/**
|
|
153
|
-
* @nocollapse
|
|
154
|
-
*/
|
|
155
|
-
RibbonCollectionsDirective.ctorParameters = function () { return []; };
|
|
156
|
-
var input$2 = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'keyTip', 'launcherIconKeyTip', 'orientation', 'overflowHeader', 'priority', 'showLauncherIcon'];
|
|
157
|
-
var outputs$2 = [];
|
|
158
|
-
var RibbonGroupDirective = /** @class */ (function (_super) {
|
|
159
|
-
__extends(RibbonGroupDirective, _super);
|
|
160
|
-
/**
|
|
161
|
-
* @param {?} viewContainerRef
|
|
162
|
-
*/
|
|
163
|
-
function RibbonGroupDirective(viewContainerRef) {
|
|
164
|
-
var _this = _super.call(this) || this;
|
|
165
|
-
_this.viewContainerRef = viewContainerRef;
|
|
166
|
-
_this.tags = ['collections'];
|
|
167
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
168
|
-
_this.registerEvents(outputs$2);
|
|
169
|
-
_this.directivePropList = input$2;
|
|
170
|
-
return _this;
|
|
171
|
-
}
|
|
172
|
-
return RibbonGroupDirective;
|
|
173
|
-
}(ej2AngularBase.ComplexBase));
|
|
174
|
-
RibbonGroupDirective.decorators = [
|
|
175
|
-
{ type: core.Directive, args: [{
|
|
176
|
-
selector: 'e-ribbon-group',
|
|
177
|
-
inputs: input$2,
|
|
178
|
-
outputs: outputs$2,
|
|
179
|
-
queries: {
|
|
180
|
-
childCollections: new core.ContentChild(RibbonCollectionsDirective)
|
|
181
|
-
}
|
|
182
|
-
},] },
|
|
183
|
-
];
|
|
184
|
-
/**
|
|
185
|
-
* @nocollapse
|
|
186
|
-
*/
|
|
187
|
-
RibbonGroupDirective.ctorParameters = function () { return [
|
|
188
|
-
{ type: core.ViewContainerRef, },
|
|
189
|
-
]; };
|
|
190
|
-
/**
|
|
191
|
-
* RibbonGroup Array Directive
|
|
192
|
-
*/
|
|
193
|
-
var RibbonGroupsDirective = /** @class */ (function (_super) {
|
|
194
|
-
__extends(RibbonGroupsDirective, _super);
|
|
195
|
-
function RibbonGroupsDirective() {
|
|
196
|
-
return _super.call(this, 'groups') || this;
|
|
197
|
-
}
|
|
198
|
-
return RibbonGroupsDirective;
|
|
199
|
-
}(ej2AngularBase.ArrayBase));
|
|
200
|
-
RibbonGroupsDirective.decorators = [
|
|
201
|
-
{ type: core.Directive, args: [{
|
|
202
|
-
selector: 'e-ribbon-groups',
|
|
203
|
-
queries: {
|
|
204
|
-
children: new core.ContentChildren(RibbonGroupDirective)
|
|
205
|
-
},
|
|
206
|
-
},] },
|
|
207
|
-
];
|
|
208
|
-
/**
|
|
209
|
-
* @nocollapse
|
|
210
|
-
*/
|
|
211
|
-
RibbonGroupsDirective.ctorParameters = function () { return []; };
|
|
212
|
-
var input$3 = ['cssClass', 'groups', 'header', 'id', 'keyTip'];
|
|
213
|
-
var outputs$3 = [];
|
|
214
|
-
var RibbonTabDirective = /** @class */ (function (_super) {
|
|
215
|
-
__extends(RibbonTabDirective, _super);
|
|
216
|
-
/**
|
|
217
|
-
* @param {?} viewContainerRef
|
|
218
|
-
*/
|
|
219
|
-
function RibbonTabDirective(viewContainerRef) {
|
|
220
|
-
var _this = _super.call(this) || this;
|
|
221
|
-
_this.viewContainerRef = viewContainerRef;
|
|
222
|
-
_this.tags = ['groups'];
|
|
223
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
224
|
-
_this.registerEvents(outputs$3);
|
|
225
|
-
_this.directivePropList = input$3;
|
|
226
|
-
return _this;
|
|
227
|
-
}
|
|
228
|
-
return RibbonTabDirective;
|
|
229
|
-
}(ej2AngularBase.ComplexBase));
|
|
230
|
-
RibbonTabDirective.decorators = [
|
|
231
|
-
{ type: core.Directive, args: [{
|
|
232
|
-
selector: 'e-ribbon-tab',
|
|
233
|
-
inputs: input$3,
|
|
234
|
-
outputs: outputs$3,
|
|
235
|
-
queries: {
|
|
236
|
-
childGroups: new core.ContentChild(RibbonGroupsDirective)
|
|
237
|
-
}
|
|
238
|
-
},] },
|
|
239
|
-
];
|
|
240
|
-
/**
|
|
241
|
-
* @nocollapse
|
|
242
|
-
*/
|
|
243
|
-
RibbonTabDirective.ctorParameters = function () { return [
|
|
244
|
-
{ type: core.ViewContainerRef, },
|
|
245
|
-
]; };
|
|
246
|
-
/**
|
|
247
|
-
* RibbonTab Array Directive
|
|
248
|
-
*/
|
|
249
|
-
var RibbonTabsDirective = /** @class */ (function (_super) {
|
|
250
|
-
__extends(RibbonTabsDirective, _super);
|
|
251
|
-
function RibbonTabsDirective() {
|
|
252
|
-
return _super.call(this, 'tabs') || this;
|
|
253
|
-
}
|
|
254
|
-
return RibbonTabsDirective;
|
|
255
|
-
}(ej2AngularBase.ArrayBase));
|
|
256
|
-
RibbonTabsDirective.decorators = [
|
|
257
|
-
{ type: core.Directive, args: [{
|
|
258
|
-
selector: 'e-ribbon-tabs',
|
|
259
|
-
queries: {
|
|
260
|
-
children: new core.ContentChildren(RibbonTabDirective)
|
|
261
|
-
},
|
|
262
|
-
},] },
|
|
263
|
-
];
|
|
264
|
-
/**
|
|
265
|
-
* @nocollapse
|
|
266
|
-
*/
|
|
267
|
-
RibbonTabsDirective.ctorParameters = function () { return []; };
|
|
268
|
-
var input$4 = ['isSelected', 'tabs', 'visible'];
|
|
269
|
-
var outputs$4 = [];
|
|
270
|
-
/**
|
|
271
|
-
* `e-ribbon-contextual-tab` directive represent a contextual tab of the Angular Ribbon.
|
|
272
|
-
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
273
|
-
* ```html
|
|
274
|
-
* <ejs-ribbon>
|
|
275
|
-
* <e-ribbon-contextual-tabs>
|
|
276
|
-
* <e-ribbon-contextual-tab>
|
|
277
|
-
* </e-ribbon-contextual-tab>
|
|
278
|
-
* </e-ribbon-contextual-tabs>
|
|
279
|
-
* </ejs-ribbon>
|
|
280
|
-
* ```
|
|
281
|
-
*/
|
|
282
|
-
var RibbonContextualTabDirective = /** @class */ (function (_super) {
|
|
283
|
-
__extends(RibbonContextualTabDirective, _super);
|
|
284
|
-
/**
|
|
285
|
-
* @param {?} viewContainerRef
|
|
286
|
-
*/
|
|
287
|
-
function RibbonContextualTabDirective(viewContainerRef) {
|
|
288
|
-
var _this = _super.call(this) || this;
|
|
289
|
-
_this.viewContainerRef = viewContainerRef;
|
|
290
|
-
_this.tags = ['tabs'];
|
|
291
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
292
|
-
_this.registerEvents(outputs$4);
|
|
293
|
-
_this.directivePropList = input$4;
|
|
294
|
-
return _this;
|
|
295
|
-
}
|
|
296
|
-
return RibbonContextualTabDirective;
|
|
297
|
-
}(ej2AngularBase.ComplexBase));
|
|
298
|
-
RibbonContextualTabDirective.decorators = [
|
|
299
|
-
{ type: core.Directive, args: [{
|
|
300
|
-
selector: 'e-ribbon-contextual-tab',
|
|
301
|
-
inputs: input$4,
|
|
302
|
-
outputs: outputs$4,
|
|
303
|
-
queries: {
|
|
304
|
-
childTabs: new core.ContentChild(RibbonTabsDirective)
|
|
305
|
-
}
|
|
306
|
-
},] },
|
|
307
|
-
];
|
|
308
|
-
/**
|
|
309
|
-
* @nocollapse
|
|
310
|
-
*/
|
|
311
|
-
RibbonContextualTabDirective.ctorParameters = function () { return [
|
|
312
|
-
{ type: core.ViewContainerRef, },
|
|
313
|
-
]; };
|
|
314
|
-
/**
|
|
315
|
-
* RibbonContextualTab Array Directive
|
|
316
|
-
*/
|
|
317
|
-
var RibbonContextualTabsDirective = /** @class */ (function (_super) {
|
|
318
|
-
__extends(RibbonContextualTabsDirective, _super);
|
|
319
|
-
function RibbonContextualTabsDirective() {
|
|
320
|
-
return _super.call(this, 'contextualtabs') || this;
|
|
321
|
-
}
|
|
322
|
-
return RibbonContextualTabsDirective;
|
|
323
|
-
}(ej2AngularBase.ArrayBase));
|
|
324
|
-
RibbonContextualTabsDirective.decorators = [
|
|
325
|
-
{ type: core.Directive, args: [{
|
|
326
|
-
selector: 'e-ribbon-contextual-tabs',
|
|
327
|
-
queries: {
|
|
328
|
-
children: new core.ContentChildren(RibbonContextualTabDirective)
|
|
329
|
-
},
|
|
330
|
-
},] },
|
|
331
|
-
];
|
|
332
|
-
/**
|
|
333
|
-
* @nocollapse
|
|
334
|
-
*/
|
|
335
|
-
RibbonContextualTabsDirective.ctorParameters = function () { return []; };
|
|
336
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
337
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
338
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
339
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
340
|
-
else
|
|
341
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
342
|
-
if (d = decorators[i])
|
|
343
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
344
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
345
|
-
};
|
|
346
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
347
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
348
|
-
return Reflect.metadata(k, v);
|
|
349
|
-
};
|
|
350
|
-
var inputs = ['activeLayout', 'backStageMenu', 'contextualTabs', 'cssClass', 'enableKeyTips', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'hideLayoutSwitcher', 'isMinimized', 'launcherIconCss', 'layoutSwitcherKeyTip', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width'];
|
|
351
|
-
var outputs$5 = ['created', 'launcherIconClick', 'overflowPopupClose', 'overflowPopupOpen', 'ribbonCollapsing', 'ribbonExpanding', 'ribbonLayoutSwitched', 'tabSelected', 'tabSelecting'];
|
|
352
|
-
var twoWays = [''];
|
|
353
|
-
/**
|
|
354
|
-
* Represents the Essential JS 2 Angular Ribbon Component.
|
|
355
|
-
* ```html
|
|
356
|
-
* <ejs-ribbon></ejs-ribbon>
|
|
357
|
-
* ```
|
|
358
|
-
*/
|
|
359
|
-
exports.RibbonComponent = /** @class */ (function (_super) {
|
|
360
|
-
__extends(RibbonComponent, _super);
|
|
361
|
-
/**
|
|
362
|
-
* @param {?} ngEle
|
|
363
|
-
* @param {?} srenderer
|
|
364
|
-
* @param {?} viewContainerRef
|
|
365
|
-
* @param {?} injector
|
|
366
|
-
*/
|
|
367
|
-
function RibbonComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
368
|
-
var _this = _super.call(this) || this;
|
|
369
|
-
_this.ngEle = ngEle;
|
|
370
|
-
_this.srenderer = srenderer;
|
|
371
|
-
_this.viewContainerRef = viewContainerRef;
|
|
372
|
-
_this.injector = injector;
|
|
373
|
-
_this.tags = ['tabs', 'contextualTabs'];
|
|
374
|
-
_this.element = _this.ngEle.nativeElement;
|
|
375
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
376
|
-
try {
|
|
377
|
-
var mod = _this.injector.get('RibbonRibbonButton');
|
|
378
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
379
|
-
_this.injectedModules.push(mod);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
catch (_a) { }
|
|
383
|
-
try {
|
|
384
|
-
var mod = _this.injector.get('RibbonRibbonDropDown');
|
|
385
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
386
|
-
_this.injectedModules.push(mod);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
catch (_b) { }
|
|
390
|
-
try {
|
|
391
|
-
var mod = _this.injector.get('RibbonRibbonSplitButton');
|
|
392
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
393
|
-
_this.injectedModules.push(mod);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
catch (_c) { }
|
|
397
|
-
try {
|
|
398
|
-
var mod = _this.injector.get('RibbonRibbonCheckBox');
|
|
399
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
400
|
-
_this.injectedModules.push(mod);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
catch (_d) { }
|
|
404
|
-
try {
|
|
405
|
-
var mod = _this.injector.get('RibbonRibbonColorPicker');
|
|
406
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
407
|
-
_this.injectedModules.push(mod);
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
catch (_e) { }
|
|
411
|
-
try {
|
|
412
|
-
var mod = _this.injector.get('RibbonRibbonComboBox');
|
|
413
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
414
|
-
_this.injectedModules.push(mod);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
catch (_f) { }
|
|
418
|
-
try {
|
|
419
|
-
var mod = _this.injector.get('RibbonRibbonGroupButton');
|
|
420
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
421
|
-
_this.injectedModules.push(mod);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
catch (_g) { }
|
|
425
|
-
try {
|
|
426
|
-
var mod = _this.injector.get('RibbonRibbonFileMenu');
|
|
427
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
428
|
-
_this.injectedModules.push(mod);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
catch (_h) { }
|
|
432
|
-
try {
|
|
433
|
-
var mod = _this.injector.get('RibbonRibbonBackstage');
|
|
434
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
435
|
-
_this.injectedModules.push(mod);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
catch (_j) { }
|
|
439
|
-
try {
|
|
440
|
-
var mod = _this.injector.get('RibbonRibbonKeyTip');
|
|
441
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
442
|
-
_this.injectedModules.push(mod);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
catch (_k) { }
|
|
446
|
-
try {
|
|
447
|
-
var mod = _this.injector.get('RibbonRibbonContextualTab');
|
|
448
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
449
|
-
_this.injectedModules.push(mod);
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
catch (_l) { }
|
|
453
|
-
try {
|
|
454
|
-
var mod = _this.injector.get('RibbonRibbonGallery');
|
|
455
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
456
|
-
_this.injectedModules.push(mod);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
catch (_m) { }
|
|
460
|
-
_this.registerEvents(outputs$5);
|
|
461
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
462
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
463
|
-
_this.containerContext = new ej2AngularBase.ComponentBase();
|
|
464
|
-
return _this;
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* @return {?}
|
|
468
|
-
*/
|
|
469
|
-
RibbonComponent.prototype.ngOnInit = function () {
|
|
470
|
-
this.containerContext.ngOnInit(this);
|
|
471
|
-
};
|
|
472
|
-
/**
|
|
473
|
-
* @return {?}
|
|
474
|
-
*/
|
|
475
|
-
RibbonComponent.prototype.ngAfterViewInit = function () {
|
|
476
|
-
this.containerContext.ngAfterViewInit(this);
|
|
477
|
-
};
|
|
478
|
-
/**
|
|
479
|
-
* @return {?}
|
|
480
|
-
*/
|
|
481
|
-
RibbonComponent.prototype.ngOnDestroy = function () {
|
|
482
|
-
this.containerContext.ngOnDestroy(this);
|
|
483
|
-
};
|
|
484
|
-
/**
|
|
485
|
-
* @return {?}
|
|
486
|
-
*/
|
|
487
|
-
RibbonComponent.prototype.ngAfterContentChecked = function () {
|
|
488
|
-
this.tagObjects[0].instance = this.childTabs;
|
|
489
|
-
if (this.childContextualTabs) {
|
|
490
|
-
this.tagObjects[1].instance = /** @type {?} */ (this.childContextualTabs);
|
|
491
|
-
}
|
|
492
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
493
|
-
};
|
|
494
|
-
return RibbonComponent;
|
|
495
|
-
}(ej2Ribbon.Ribbon));
|
|
496
|
-
exports.RibbonComponent.decorators = [
|
|
497
|
-
{ type: core.Component, args: [{
|
|
498
|
-
selector: 'ejs-ribbon',
|
|
499
|
-
inputs: inputs,
|
|
500
|
-
outputs: outputs$5,
|
|
501
|
-
template: "<ng-content select='div'></ng-content>",
|
|
502
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
503
|
-
queries: {
|
|
504
|
-
childTabs: new core.ContentChild(RibbonTabsDirective),
|
|
505
|
-
childContextualTabs: new core.ContentChild(RibbonContextualTabsDirective)
|
|
506
|
-
}
|
|
507
|
-
},] },
|
|
508
|
-
];
|
|
509
|
-
/**
|
|
510
|
-
* @nocollapse
|
|
511
|
-
*/
|
|
512
|
-
exports.RibbonComponent.ctorParameters = function () { return [
|
|
513
|
-
{ type: core.ElementRef, },
|
|
514
|
-
{ type: core.Renderer2, },
|
|
515
|
-
{ type: core.ViewContainerRef, },
|
|
516
|
-
{ type: core.Injector, },
|
|
517
|
-
]; };
|
|
518
|
-
exports.RibbonComponent.propDecorators = {
|
|
519
|
-
'helpPaneTemplate': [{ type: core.ContentChild, args: ['helpPaneTemplate',] },],
|
|
520
|
-
};
|
|
521
|
-
__decorate$1([
|
|
522
|
-
ej2AngularBase.Template(),
|
|
523
|
-
__metadata$1("design:type", Object)
|
|
524
|
-
], exports.RibbonComponent.prototype, "helpPaneTemplate", void 0);
|
|
525
|
-
exports.RibbonComponent = __decorate$1([
|
|
526
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
527
|
-
__metadata$1("design:paramtypes", [core.ElementRef,
|
|
528
|
-
core.Renderer2,
|
|
529
|
-
core.ViewContainerRef,
|
|
530
|
-
core.Injector])
|
|
531
|
-
], exports.RibbonComponent);
|
|
532
|
-
/**
|
|
533
|
-
* NgModule definition for the Ribbon component.
|
|
534
|
-
*/
|
|
535
|
-
var RibbonModule = /** @class */ (function () {
|
|
536
|
-
function RibbonModule() {
|
|
537
|
-
}
|
|
538
|
-
return RibbonModule;
|
|
539
|
-
}());
|
|
540
|
-
RibbonModule.decorators = [
|
|
541
|
-
{ type: core.NgModule, args: [{
|
|
542
|
-
imports: [common.CommonModule],
|
|
543
|
-
declarations: [
|
|
544
|
-
exports.RibbonComponent,
|
|
545
|
-
RibbonItemDirective,
|
|
546
|
-
RibbonItemsDirective,
|
|
547
|
-
RibbonCollectionDirective,
|
|
548
|
-
RibbonCollectionsDirective,
|
|
549
|
-
RibbonGroupDirective,
|
|
550
|
-
RibbonGroupsDirective,
|
|
551
|
-
RibbonTabDirective,
|
|
552
|
-
RibbonTabsDirective,
|
|
553
|
-
RibbonContextualTabDirective,
|
|
554
|
-
RibbonContextualTabsDirective
|
|
555
|
-
],
|
|
556
|
-
exports: [
|
|
557
|
-
exports.RibbonComponent,
|
|
558
|
-
RibbonItemDirective,
|
|
559
|
-
RibbonItemsDirective,
|
|
560
|
-
RibbonCollectionDirective,
|
|
561
|
-
RibbonCollectionsDirective,
|
|
562
|
-
RibbonGroupDirective,
|
|
563
|
-
RibbonGroupsDirective,
|
|
564
|
-
RibbonTabDirective,
|
|
565
|
-
RibbonTabsDirective,
|
|
566
|
-
RibbonContextualTabDirective,
|
|
567
|
-
RibbonContextualTabsDirective
|
|
568
|
-
]
|
|
569
|
-
},] },
|
|
570
|
-
];
|
|
571
|
-
/**
|
|
572
|
-
* @nocollapse
|
|
573
|
-
*/
|
|
574
|
-
RibbonModule.ctorParameters = function () { return []; };
|
|
575
|
-
var RibbonButtonService = { provide: 'RibbonRibbonButton', useValue: ej2Ribbon.RibbonButton };
|
|
576
|
-
var RibbonDropDownService = { provide: 'RibbonRibbonDropDown', useValue: ej2Ribbon.RibbonDropDown };
|
|
577
|
-
var RibbonSplitButtonService = { provide: 'RibbonRibbonSplitButton', useValue: ej2Ribbon.RibbonSplitButton };
|
|
578
|
-
var RibbonCheckBoxService = { provide: 'RibbonRibbonCheckBox', useValue: ej2Ribbon.RibbonCheckBox };
|
|
579
|
-
var RibbonColorPickerService = { provide: 'RibbonRibbonColorPicker', useValue: ej2Ribbon.RibbonColorPicker };
|
|
580
|
-
var RibbonComboBoxService = { provide: 'RibbonRibbonComboBox', useValue: ej2Ribbon.RibbonComboBox };
|
|
581
|
-
var RibbonGroupButtonService = { provide: 'RibbonRibbonGroupButton', useValue: ej2Ribbon.RibbonGroupButton };
|
|
582
|
-
var RibbonFileMenuService = { provide: 'RibbonRibbonFileMenu', useValue: ej2Ribbon.RibbonFileMenu };
|
|
583
|
-
var RibbonBackstageService = { provide: 'RibbonRibbonBackstage', useValue: ej2Ribbon.RibbonBackstage };
|
|
584
|
-
var RibbonKeyTipService = { provide: 'RibbonRibbonKeyTip', useValue: ej2Ribbon.RibbonKeyTip };
|
|
585
|
-
var RibbonContextualTabService = { provide: 'RibbonRibbonContextualTab', useValue: ej2Ribbon.RibbonContextualTab };
|
|
586
|
-
var RibbonGalleryService = { provide: 'RibbonRibbonGallery', useValue: ej2Ribbon.RibbonGallery };
|
|
587
|
-
/**
|
|
588
|
-
* NgModule definition for the Ribbon component with providers.
|
|
589
|
-
*/
|
|
590
|
-
var RibbonAllModule = /** @class */ (function () {
|
|
591
|
-
function RibbonAllModule() {
|
|
592
|
-
}
|
|
593
|
-
return RibbonAllModule;
|
|
594
|
-
}());
|
|
595
|
-
RibbonAllModule.decorators = [
|
|
596
|
-
{ type: core.NgModule, args: [{
|
|
597
|
-
imports: [common.CommonModule, RibbonModule],
|
|
598
|
-
exports: [
|
|
599
|
-
RibbonModule
|
|
600
|
-
],
|
|
601
|
-
providers: [
|
|
602
|
-
RibbonButtonService,
|
|
603
|
-
RibbonDropDownService,
|
|
604
|
-
RibbonSplitButtonService,
|
|
605
|
-
RibbonCheckBoxService,
|
|
606
|
-
RibbonColorPickerService,
|
|
607
|
-
RibbonComboBoxService,
|
|
608
|
-
RibbonGroupButtonService,
|
|
609
|
-
RibbonFileMenuService,
|
|
610
|
-
RibbonBackstageService,
|
|
611
|
-
RibbonKeyTipService,
|
|
612
|
-
RibbonContextualTabService,
|
|
613
|
-
RibbonGalleryService
|
|
614
|
-
]
|
|
615
|
-
},] },
|
|
616
|
-
];
|
|
617
|
-
/**
|
|
618
|
-
* @nocollapse
|
|
619
|
-
*/
|
|
16
|
+
var __extends = (this && this.__extends) || (function () {
|
|
17
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
+
return function (d, b) {
|
|
21
|
+
extendStatics(d, b);
|
|
22
|
+
function __() { this.constructor = d; }
|
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
+
else
|
|
31
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
+
if (d = decorators[i])
|
|
33
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
+
};
|
|
36
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
+
return Reflect.metadata(k, v);
|
|
39
|
+
};
|
|
40
|
+
var input = ['activeSize', 'allowedSizes', 'buttonSettings', 'checkBoxSettings', 'colorPickerSettings', 'comboBoxSettings', 'cssClass', 'disabled', 'displayOptions', 'dropDownSettings', 'gallerySettings', 'groupButtonSettings', 'id', 'itemTemplate', 'keyTip', 'ribbonTooltipSettings', 'splitButtonSettings', 'type'];
|
|
41
|
+
var outputs = [];
|
|
42
|
+
var RibbonItemDirective = /** @class */ (function (_super) {
|
|
43
|
+
__extends(RibbonItemDirective, _super);
|
|
44
|
+
/**
|
|
45
|
+
* @param {?} viewContainerRef
|
|
46
|
+
*/
|
|
47
|
+
function RibbonItemDirective(viewContainerRef) {
|
|
48
|
+
var _this = _super.call(this) || this;
|
|
49
|
+
_this.viewContainerRef = viewContainerRef;
|
|
50
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
51
|
+
_this.registerEvents(outputs);
|
|
52
|
+
_this.directivePropList = input;
|
|
53
|
+
return _this;
|
|
54
|
+
}
|
|
55
|
+
return RibbonItemDirective;
|
|
56
|
+
}(ej2AngularBase.ComplexBase));
|
|
57
|
+
RibbonItemDirective.decorators = [
|
|
58
|
+
{ type: core.Directive, args: [{
|
|
59
|
+
selector: 'e-ribbon-item',
|
|
60
|
+
inputs: input,
|
|
61
|
+
outputs: outputs,
|
|
62
|
+
queries: {}
|
|
63
|
+
},] },
|
|
64
|
+
];
|
|
65
|
+
/**
|
|
66
|
+
* @nocollapse
|
|
67
|
+
*/
|
|
68
|
+
RibbonItemDirective.ctorParameters = function () { return [
|
|
69
|
+
{ type: core.ViewContainerRef, },
|
|
70
|
+
]; };
|
|
71
|
+
RibbonItemDirective.propDecorators = {
|
|
72
|
+
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
73
|
+
};
|
|
74
|
+
__decorate([
|
|
75
|
+
ej2AngularBase.Template(),
|
|
76
|
+
__metadata("design:type", Object)
|
|
77
|
+
], RibbonItemDirective.prototype, "itemTemplate", void 0);
|
|
78
|
+
/**
|
|
79
|
+
* RibbonItem Array Directive
|
|
80
|
+
*/
|
|
81
|
+
var RibbonItemsDirective = /** @class */ (function (_super) {
|
|
82
|
+
__extends(RibbonItemsDirective, _super);
|
|
83
|
+
function RibbonItemsDirective() {
|
|
84
|
+
return _super.call(this, 'items') || this;
|
|
85
|
+
}
|
|
86
|
+
return RibbonItemsDirective;
|
|
87
|
+
}(ej2AngularBase.ArrayBase));
|
|
88
|
+
RibbonItemsDirective.decorators = [
|
|
89
|
+
{ type: core.Directive, args: [{
|
|
90
|
+
selector: 'e-ribbon-items',
|
|
91
|
+
queries: {
|
|
92
|
+
children: new core.ContentChildren(RibbonItemDirective)
|
|
93
|
+
},
|
|
94
|
+
},] },
|
|
95
|
+
];
|
|
96
|
+
/**
|
|
97
|
+
* @nocollapse
|
|
98
|
+
*/
|
|
99
|
+
RibbonItemsDirective.ctorParameters = function () { return []; };
|
|
100
|
+
var input$1 = ['cssClass', 'id', 'items'];
|
|
101
|
+
var outputs$1 = [];
|
|
102
|
+
var RibbonCollectionDirective = /** @class */ (function (_super) {
|
|
103
|
+
__extends(RibbonCollectionDirective, _super);
|
|
104
|
+
/**
|
|
105
|
+
* @param {?} viewContainerRef
|
|
106
|
+
*/
|
|
107
|
+
function RibbonCollectionDirective(viewContainerRef) {
|
|
108
|
+
var _this = _super.call(this) || this;
|
|
109
|
+
_this.viewContainerRef = viewContainerRef;
|
|
110
|
+
_this.tags = ['items'];
|
|
111
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
112
|
+
_this.registerEvents(outputs$1);
|
|
113
|
+
_this.directivePropList = input$1;
|
|
114
|
+
return _this;
|
|
115
|
+
}
|
|
116
|
+
return RibbonCollectionDirective;
|
|
117
|
+
}(ej2AngularBase.ComplexBase));
|
|
118
|
+
RibbonCollectionDirective.decorators = [
|
|
119
|
+
{ type: core.Directive, args: [{
|
|
120
|
+
selector: 'e-ribbon-collection',
|
|
121
|
+
inputs: input$1,
|
|
122
|
+
outputs: outputs$1,
|
|
123
|
+
queries: {
|
|
124
|
+
childItems: new core.ContentChild(RibbonItemsDirective)
|
|
125
|
+
}
|
|
126
|
+
},] },
|
|
127
|
+
];
|
|
128
|
+
/**
|
|
129
|
+
* @nocollapse
|
|
130
|
+
*/
|
|
131
|
+
RibbonCollectionDirective.ctorParameters = function () { return [
|
|
132
|
+
{ type: core.ViewContainerRef, },
|
|
133
|
+
]; };
|
|
134
|
+
/**
|
|
135
|
+
* RibbonCollection Array Directive
|
|
136
|
+
*/
|
|
137
|
+
var RibbonCollectionsDirective = /** @class */ (function (_super) {
|
|
138
|
+
__extends(RibbonCollectionsDirective, _super);
|
|
139
|
+
function RibbonCollectionsDirective() {
|
|
140
|
+
return _super.call(this, 'collections') || this;
|
|
141
|
+
}
|
|
142
|
+
return RibbonCollectionsDirective;
|
|
143
|
+
}(ej2AngularBase.ArrayBase));
|
|
144
|
+
RibbonCollectionsDirective.decorators = [
|
|
145
|
+
{ type: core.Directive, args: [{
|
|
146
|
+
selector: 'e-ribbon-collections',
|
|
147
|
+
queries: {
|
|
148
|
+
children: new core.ContentChildren(RibbonCollectionDirective)
|
|
149
|
+
},
|
|
150
|
+
},] },
|
|
151
|
+
];
|
|
152
|
+
/**
|
|
153
|
+
* @nocollapse
|
|
154
|
+
*/
|
|
155
|
+
RibbonCollectionsDirective.ctorParameters = function () { return []; };
|
|
156
|
+
var input$2 = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'keyTip', 'launcherIconKeyTip', 'orientation', 'overflowHeader', 'priority', 'showLauncherIcon'];
|
|
157
|
+
var outputs$2 = [];
|
|
158
|
+
var RibbonGroupDirective = /** @class */ (function (_super) {
|
|
159
|
+
__extends(RibbonGroupDirective, _super);
|
|
160
|
+
/**
|
|
161
|
+
* @param {?} viewContainerRef
|
|
162
|
+
*/
|
|
163
|
+
function RibbonGroupDirective(viewContainerRef) {
|
|
164
|
+
var _this = _super.call(this) || this;
|
|
165
|
+
_this.viewContainerRef = viewContainerRef;
|
|
166
|
+
_this.tags = ['collections'];
|
|
167
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
168
|
+
_this.registerEvents(outputs$2);
|
|
169
|
+
_this.directivePropList = input$2;
|
|
170
|
+
return _this;
|
|
171
|
+
}
|
|
172
|
+
return RibbonGroupDirective;
|
|
173
|
+
}(ej2AngularBase.ComplexBase));
|
|
174
|
+
RibbonGroupDirective.decorators = [
|
|
175
|
+
{ type: core.Directive, args: [{
|
|
176
|
+
selector: 'e-ribbon-group',
|
|
177
|
+
inputs: input$2,
|
|
178
|
+
outputs: outputs$2,
|
|
179
|
+
queries: {
|
|
180
|
+
childCollections: new core.ContentChild(RibbonCollectionsDirective)
|
|
181
|
+
}
|
|
182
|
+
},] },
|
|
183
|
+
];
|
|
184
|
+
/**
|
|
185
|
+
* @nocollapse
|
|
186
|
+
*/
|
|
187
|
+
RibbonGroupDirective.ctorParameters = function () { return [
|
|
188
|
+
{ type: core.ViewContainerRef, },
|
|
189
|
+
]; };
|
|
190
|
+
/**
|
|
191
|
+
* RibbonGroup Array Directive
|
|
192
|
+
*/
|
|
193
|
+
var RibbonGroupsDirective = /** @class */ (function (_super) {
|
|
194
|
+
__extends(RibbonGroupsDirective, _super);
|
|
195
|
+
function RibbonGroupsDirective() {
|
|
196
|
+
return _super.call(this, 'groups') || this;
|
|
197
|
+
}
|
|
198
|
+
return RibbonGroupsDirective;
|
|
199
|
+
}(ej2AngularBase.ArrayBase));
|
|
200
|
+
RibbonGroupsDirective.decorators = [
|
|
201
|
+
{ type: core.Directive, args: [{
|
|
202
|
+
selector: 'e-ribbon-groups',
|
|
203
|
+
queries: {
|
|
204
|
+
children: new core.ContentChildren(RibbonGroupDirective)
|
|
205
|
+
},
|
|
206
|
+
},] },
|
|
207
|
+
];
|
|
208
|
+
/**
|
|
209
|
+
* @nocollapse
|
|
210
|
+
*/
|
|
211
|
+
RibbonGroupsDirective.ctorParameters = function () { return []; };
|
|
212
|
+
var input$3 = ['cssClass', 'groups', 'header', 'id', 'keyTip'];
|
|
213
|
+
var outputs$3 = [];
|
|
214
|
+
var RibbonTabDirective = /** @class */ (function (_super) {
|
|
215
|
+
__extends(RibbonTabDirective, _super);
|
|
216
|
+
/**
|
|
217
|
+
* @param {?} viewContainerRef
|
|
218
|
+
*/
|
|
219
|
+
function RibbonTabDirective(viewContainerRef) {
|
|
220
|
+
var _this = _super.call(this) || this;
|
|
221
|
+
_this.viewContainerRef = viewContainerRef;
|
|
222
|
+
_this.tags = ['groups'];
|
|
223
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
224
|
+
_this.registerEvents(outputs$3);
|
|
225
|
+
_this.directivePropList = input$3;
|
|
226
|
+
return _this;
|
|
227
|
+
}
|
|
228
|
+
return RibbonTabDirective;
|
|
229
|
+
}(ej2AngularBase.ComplexBase));
|
|
230
|
+
RibbonTabDirective.decorators = [
|
|
231
|
+
{ type: core.Directive, args: [{
|
|
232
|
+
selector: 'e-ribbon-tab',
|
|
233
|
+
inputs: input$3,
|
|
234
|
+
outputs: outputs$3,
|
|
235
|
+
queries: {
|
|
236
|
+
childGroups: new core.ContentChild(RibbonGroupsDirective)
|
|
237
|
+
}
|
|
238
|
+
},] },
|
|
239
|
+
];
|
|
240
|
+
/**
|
|
241
|
+
* @nocollapse
|
|
242
|
+
*/
|
|
243
|
+
RibbonTabDirective.ctorParameters = function () { return [
|
|
244
|
+
{ type: core.ViewContainerRef, },
|
|
245
|
+
]; };
|
|
246
|
+
/**
|
|
247
|
+
* RibbonTab Array Directive
|
|
248
|
+
*/
|
|
249
|
+
var RibbonTabsDirective = /** @class */ (function (_super) {
|
|
250
|
+
__extends(RibbonTabsDirective, _super);
|
|
251
|
+
function RibbonTabsDirective() {
|
|
252
|
+
return _super.call(this, 'tabs') || this;
|
|
253
|
+
}
|
|
254
|
+
return RibbonTabsDirective;
|
|
255
|
+
}(ej2AngularBase.ArrayBase));
|
|
256
|
+
RibbonTabsDirective.decorators = [
|
|
257
|
+
{ type: core.Directive, args: [{
|
|
258
|
+
selector: 'e-ribbon-tabs',
|
|
259
|
+
queries: {
|
|
260
|
+
children: new core.ContentChildren(RibbonTabDirective)
|
|
261
|
+
},
|
|
262
|
+
},] },
|
|
263
|
+
];
|
|
264
|
+
/**
|
|
265
|
+
* @nocollapse
|
|
266
|
+
*/
|
|
267
|
+
RibbonTabsDirective.ctorParameters = function () { return []; };
|
|
268
|
+
var input$4 = ['isSelected', 'tabs', 'visible'];
|
|
269
|
+
var outputs$4 = [];
|
|
270
|
+
/**
|
|
271
|
+
* `e-ribbon-contextual-tab` directive represent a contextual tab of the Angular Ribbon.
|
|
272
|
+
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
273
|
+
* ```html
|
|
274
|
+
* <ejs-ribbon>
|
|
275
|
+
* <e-ribbon-contextual-tabs>
|
|
276
|
+
* <e-ribbon-contextual-tab>
|
|
277
|
+
* </e-ribbon-contextual-tab>
|
|
278
|
+
* </e-ribbon-contextual-tabs>
|
|
279
|
+
* </ejs-ribbon>
|
|
280
|
+
* ```
|
|
281
|
+
*/
|
|
282
|
+
var RibbonContextualTabDirective = /** @class */ (function (_super) {
|
|
283
|
+
__extends(RibbonContextualTabDirective, _super);
|
|
284
|
+
/**
|
|
285
|
+
* @param {?} viewContainerRef
|
|
286
|
+
*/
|
|
287
|
+
function RibbonContextualTabDirective(viewContainerRef) {
|
|
288
|
+
var _this = _super.call(this) || this;
|
|
289
|
+
_this.viewContainerRef = viewContainerRef;
|
|
290
|
+
_this.tags = ['tabs'];
|
|
291
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
292
|
+
_this.registerEvents(outputs$4);
|
|
293
|
+
_this.directivePropList = input$4;
|
|
294
|
+
return _this;
|
|
295
|
+
}
|
|
296
|
+
return RibbonContextualTabDirective;
|
|
297
|
+
}(ej2AngularBase.ComplexBase));
|
|
298
|
+
RibbonContextualTabDirective.decorators = [
|
|
299
|
+
{ type: core.Directive, args: [{
|
|
300
|
+
selector: 'e-ribbon-contextual-tab',
|
|
301
|
+
inputs: input$4,
|
|
302
|
+
outputs: outputs$4,
|
|
303
|
+
queries: {
|
|
304
|
+
childTabs: new core.ContentChild(RibbonTabsDirective)
|
|
305
|
+
}
|
|
306
|
+
},] },
|
|
307
|
+
];
|
|
308
|
+
/**
|
|
309
|
+
* @nocollapse
|
|
310
|
+
*/
|
|
311
|
+
RibbonContextualTabDirective.ctorParameters = function () { return [
|
|
312
|
+
{ type: core.ViewContainerRef, },
|
|
313
|
+
]; };
|
|
314
|
+
/**
|
|
315
|
+
* RibbonContextualTab Array Directive
|
|
316
|
+
*/
|
|
317
|
+
var RibbonContextualTabsDirective = /** @class */ (function (_super) {
|
|
318
|
+
__extends(RibbonContextualTabsDirective, _super);
|
|
319
|
+
function RibbonContextualTabsDirective() {
|
|
320
|
+
return _super.call(this, 'contextualtabs') || this;
|
|
321
|
+
}
|
|
322
|
+
return RibbonContextualTabsDirective;
|
|
323
|
+
}(ej2AngularBase.ArrayBase));
|
|
324
|
+
RibbonContextualTabsDirective.decorators = [
|
|
325
|
+
{ type: core.Directive, args: [{
|
|
326
|
+
selector: 'e-ribbon-contextual-tabs',
|
|
327
|
+
queries: {
|
|
328
|
+
children: new core.ContentChildren(RibbonContextualTabDirective)
|
|
329
|
+
},
|
|
330
|
+
},] },
|
|
331
|
+
];
|
|
332
|
+
/**
|
|
333
|
+
* @nocollapse
|
|
334
|
+
*/
|
|
335
|
+
RibbonContextualTabsDirective.ctorParameters = function () { return []; };
|
|
336
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
337
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
338
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
339
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
340
|
+
else
|
|
341
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
342
|
+
if (d = decorators[i])
|
|
343
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
344
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
345
|
+
};
|
|
346
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
347
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
348
|
+
return Reflect.metadata(k, v);
|
|
349
|
+
};
|
|
350
|
+
var inputs = ['activeLayout', 'backStageMenu', 'contextualTabs', 'cssClass', 'enableKeyTips', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'hideLayoutSwitcher', 'isMinimized', 'launcherIconCss', 'layoutSwitcherKeyTip', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width'];
|
|
351
|
+
var outputs$5 = ['created', 'launcherIconClick', 'overflowPopupClose', 'overflowPopupOpen', 'ribbonCollapsing', 'ribbonExpanding', 'ribbonLayoutSwitched', 'tabSelected', 'tabSelecting'];
|
|
352
|
+
var twoWays = [''];
|
|
353
|
+
/**
|
|
354
|
+
* Represents the Essential JS 2 Angular Ribbon Component.
|
|
355
|
+
* ```html
|
|
356
|
+
* <ejs-ribbon></ejs-ribbon>
|
|
357
|
+
* ```
|
|
358
|
+
*/
|
|
359
|
+
exports.RibbonComponent = /** @class */ (function (_super) {
|
|
360
|
+
__extends(RibbonComponent, _super);
|
|
361
|
+
/**
|
|
362
|
+
* @param {?} ngEle
|
|
363
|
+
* @param {?} srenderer
|
|
364
|
+
* @param {?} viewContainerRef
|
|
365
|
+
* @param {?} injector
|
|
366
|
+
*/
|
|
367
|
+
function RibbonComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
368
|
+
var _this = _super.call(this) || this;
|
|
369
|
+
_this.ngEle = ngEle;
|
|
370
|
+
_this.srenderer = srenderer;
|
|
371
|
+
_this.viewContainerRef = viewContainerRef;
|
|
372
|
+
_this.injector = injector;
|
|
373
|
+
_this.tags = ['tabs', 'contextualTabs'];
|
|
374
|
+
_this.element = _this.ngEle.nativeElement;
|
|
375
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
376
|
+
try {
|
|
377
|
+
var mod = _this.injector.get('RibbonRibbonButton');
|
|
378
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
379
|
+
_this.injectedModules.push(mod);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
catch (_a) { }
|
|
383
|
+
try {
|
|
384
|
+
var mod = _this.injector.get('RibbonRibbonDropDown');
|
|
385
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
386
|
+
_this.injectedModules.push(mod);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
catch (_b) { }
|
|
390
|
+
try {
|
|
391
|
+
var mod = _this.injector.get('RibbonRibbonSplitButton');
|
|
392
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
393
|
+
_this.injectedModules.push(mod);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
catch (_c) { }
|
|
397
|
+
try {
|
|
398
|
+
var mod = _this.injector.get('RibbonRibbonCheckBox');
|
|
399
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
400
|
+
_this.injectedModules.push(mod);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
catch (_d) { }
|
|
404
|
+
try {
|
|
405
|
+
var mod = _this.injector.get('RibbonRibbonColorPicker');
|
|
406
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
407
|
+
_this.injectedModules.push(mod);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
catch (_e) { }
|
|
411
|
+
try {
|
|
412
|
+
var mod = _this.injector.get('RibbonRibbonComboBox');
|
|
413
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
414
|
+
_this.injectedModules.push(mod);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
catch (_f) { }
|
|
418
|
+
try {
|
|
419
|
+
var mod = _this.injector.get('RibbonRibbonGroupButton');
|
|
420
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
421
|
+
_this.injectedModules.push(mod);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
catch (_g) { }
|
|
425
|
+
try {
|
|
426
|
+
var mod = _this.injector.get('RibbonRibbonFileMenu');
|
|
427
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
428
|
+
_this.injectedModules.push(mod);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
catch (_h) { }
|
|
432
|
+
try {
|
|
433
|
+
var mod = _this.injector.get('RibbonRibbonBackstage');
|
|
434
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
435
|
+
_this.injectedModules.push(mod);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
catch (_j) { }
|
|
439
|
+
try {
|
|
440
|
+
var mod = _this.injector.get('RibbonRibbonKeyTip');
|
|
441
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
442
|
+
_this.injectedModules.push(mod);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
catch (_k) { }
|
|
446
|
+
try {
|
|
447
|
+
var mod = _this.injector.get('RibbonRibbonContextualTab');
|
|
448
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
449
|
+
_this.injectedModules.push(mod);
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
catch (_l) { }
|
|
453
|
+
try {
|
|
454
|
+
var mod = _this.injector.get('RibbonRibbonGallery');
|
|
455
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
456
|
+
_this.injectedModules.push(mod);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
catch (_m) { }
|
|
460
|
+
_this.registerEvents(outputs$5);
|
|
461
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
462
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
463
|
+
_this.containerContext = new ej2AngularBase.ComponentBase();
|
|
464
|
+
return _this;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* @return {?}
|
|
468
|
+
*/
|
|
469
|
+
RibbonComponent.prototype.ngOnInit = function () {
|
|
470
|
+
this.containerContext.ngOnInit(this);
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* @return {?}
|
|
474
|
+
*/
|
|
475
|
+
RibbonComponent.prototype.ngAfterViewInit = function () {
|
|
476
|
+
this.containerContext.ngAfterViewInit(this);
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* @return {?}
|
|
480
|
+
*/
|
|
481
|
+
RibbonComponent.prototype.ngOnDestroy = function () {
|
|
482
|
+
this.containerContext.ngOnDestroy(this);
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* @return {?}
|
|
486
|
+
*/
|
|
487
|
+
RibbonComponent.prototype.ngAfterContentChecked = function () {
|
|
488
|
+
this.tagObjects[0].instance = this.childTabs;
|
|
489
|
+
if (this.childContextualTabs) {
|
|
490
|
+
this.tagObjects[1].instance = /** @type {?} */ (this.childContextualTabs);
|
|
491
|
+
}
|
|
492
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
493
|
+
};
|
|
494
|
+
return RibbonComponent;
|
|
495
|
+
}(ej2Ribbon.Ribbon));
|
|
496
|
+
exports.RibbonComponent.decorators = [
|
|
497
|
+
{ type: core.Component, args: [{
|
|
498
|
+
selector: 'ejs-ribbon',
|
|
499
|
+
inputs: inputs,
|
|
500
|
+
outputs: outputs$5,
|
|
501
|
+
template: "<ng-content select='div'></ng-content>",
|
|
502
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
503
|
+
queries: {
|
|
504
|
+
childTabs: new core.ContentChild(RibbonTabsDirective),
|
|
505
|
+
childContextualTabs: new core.ContentChild(RibbonContextualTabsDirective)
|
|
506
|
+
}
|
|
507
|
+
},] },
|
|
508
|
+
];
|
|
509
|
+
/**
|
|
510
|
+
* @nocollapse
|
|
511
|
+
*/
|
|
512
|
+
exports.RibbonComponent.ctorParameters = function () { return [
|
|
513
|
+
{ type: core.ElementRef, },
|
|
514
|
+
{ type: core.Renderer2, },
|
|
515
|
+
{ type: core.ViewContainerRef, },
|
|
516
|
+
{ type: core.Injector, },
|
|
517
|
+
]; };
|
|
518
|
+
exports.RibbonComponent.propDecorators = {
|
|
519
|
+
'helpPaneTemplate': [{ type: core.ContentChild, args: ['helpPaneTemplate',] },],
|
|
520
|
+
};
|
|
521
|
+
__decorate$1([
|
|
522
|
+
ej2AngularBase.Template(),
|
|
523
|
+
__metadata$1("design:type", Object)
|
|
524
|
+
], exports.RibbonComponent.prototype, "helpPaneTemplate", void 0);
|
|
525
|
+
exports.RibbonComponent = __decorate$1([
|
|
526
|
+
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
527
|
+
__metadata$1("design:paramtypes", [core.ElementRef,
|
|
528
|
+
core.Renderer2,
|
|
529
|
+
core.ViewContainerRef,
|
|
530
|
+
core.Injector])
|
|
531
|
+
], exports.RibbonComponent);
|
|
532
|
+
/**
|
|
533
|
+
* NgModule definition for the Ribbon component.
|
|
534
|
+
*/
|
|
535
|
+
var RibbonModule = /** @class */ (function () {
|
|
536
|
+
function RibbonModule() {
|
|
537
|
+
}
|
|
538
|
+
return RibbonModule;
|
|
539
|
+
}());
|
|
540
|
+
RibbonModule.decorators = [
|
|
541
|
+
{ type: core.NgModule, args: [{
|
|
542
|
+
imports: [common.CommonModule],
|
|
543
|
+
declarations: [
|
|
544
|
+
exports.RibbonComponent,
|
|
545
|
+
RibbonItemDirective,
|
|
546
|
+
RibbonItemsDirective,
|
|
547
|
+
RibbonCollectionDirective,
|
|
548
|
+
RibbonCollectionsDirective,
|
|
549
|
+
RibbonGroupDirective,
|
|
550
|
+
RibbonGroupsDirective,
|
|
551
|
+
RibbonTabDirective,
|
|
552
|
+
RibbonTabsDirective,
|
|
553
|
+
RibbonContextualTabDirective,
|
|
554
|
+
RibbonContextualTabsDirective
|
|
555
|
+
],
|
|
556
|
+
exports: [
|
|
557
|
+
exports.RibbonComponent,
|
|
558
|
+
RibbonItemDirective,
|
|
559
|
+
RibbonItemsDirective,
|
|
560
|
+
RibbonCollectionDirective,
|
|
561
|
+
RibbonCollectionsDirective,
|
|
562
|
+
RibbonGroupDirective,
|
|
563
|
+
RibbonGroupsDirective,
|
|
564
|
+
RibbonTabDirective,
|
|
565
|
+
RibbonTabsDirective,
|
|
566
|
+
RibbonContextualTabDirective,
|
|
567
|
+
RibbonContextualTabsDirective
|
|
568
|
+
]
|
|
569
|
+
},] },
|
|
570
|
+
];
|
|
571
|
+
/**
|
|
572
|
+
* @nocollapse
|
|
573
|
+
*/
|
|
574
|
+
RibbonModule.ctorParameters = function () { return []; };
|
|
575
|
+
var RibbonButtonService = { provide: 'RibbonRibbonButton', useValue: ej2Ribbon.RibbonButton };
|
|
576
|
+
var RibbonDropDownService = { provide: 'RibbonRibbonDropDown', useValue: ej2Ribbon.RibbonDropDown };
|
|
577
|
+
var RibbonSplitButtonService = { provide: 'RibbonRibbonSplitButton', useValue: ej2Ribbon.RibbonSplitButton };
|
|
578
|
+
var RibbonCheckBoxService = { provide: 'RibbonRibbonCheckBox', useValue: ej2Ribbon.RibbonCheckBox };
|
|
579
|
+
var RibbonColorPickerService = { provide: 'RibbonRibbonColorPicker', useValue: ej2Ribbon.RibbonColorPicker };
|
|
580
|
+
var RibbonComboBoxService = { provide: 'RibbonRibbonComboBox', useValue: ej2Ribbon.RibbonComboBox };
|
|
581
|
+
var RibbonGroupButtonService = { provide: 'RibbonRibbonGroupButton', useValue: ej2Ribbon.RibbonGroupButton };
|
|
582
|
+
var RibbonFileMenuService = { provide: 'RibbonRibbonFileMenu', useValue: ej2Ribbon.RibbonFileMenu };
|
|
583
|
+
var RibbonBackstageService = { provide: 'RibbonRibbonBackstage', useValue: ej2Ribbon.RibbonBackstage };
|
|
584
|
+
var RibbonKeyTipService = { provide: 'RibbonRibbonKeyTip', useValue: ej2Ribbon.RibbonKeyTip };
|
|
585
|
+
var RibbonContextualTabService = { provide: 'RibbonRibbonContextualTab', useValue: ej2Ribbon.RibbonContextualTab };
|
|
586
|
+
var RibbonGalleryService = { provide: 'RibbonRibbonGallery', useValue: ej2Ribbon.RibbonGallery };
|
|
587
|
+
/**
|
|
588
|
+
* NgModule definition for the Ribbon component with providers.
|
|
589
|
+
*/
|
|
590
|
+
var RibbonAllModule = /** @class */ (function () {
|
|
591
|
+
function RibbonAllModule() {
|
|
592
|
+
}
|
|
593
|
+
return RibbonAllModule;
|
|
594
|
+
}());
|
|
595
|
+
RibbonAllModule.decorators = [
|
|
596
|
+
{ type: core.NgModule, args: [{
|
|
597
|
+
imports: [common.CommonModule, RibbonModule],
|
|
598
|
+
exports: [
|
|
599
|
+
RibbonModule
|
|
600
|
+
],
|
|
601
|
+
providers: [
|
|
602
|
+
RibbonButtonService,
|
|
603
|
+
RibbonDropDownService,
|
|
604
|
+
RibbonSplitButtonService,
|
|
605
|
+
RibbonCheckBoxService,
|
|
606
|
+
RibbonColorPickerService,
|
|
607
|
+
RibbonComboBoxService,
|
|
608
|
+
RibbonGroupButtonService,
|
|
609
|
+
RibbonFileMenuService,
|
|
610
|
+
RibbonBackstageService,
|
|
611
|
+
RibbonKeyTipService,
|
|
612
|
+
RibbonContextualTabService,
|
|
613
|
+
RibbonGalleryService
|
|
614
|
+
]
|
|
615
|
+
},] },
|
|
616
|
+
];
|
|
617
|
+
/**
|
|
618
|
+
* @nocollapse
|
|
619
|
+
*/
|
|
620
620
|
RibbonAllModule.ctorParameters = function () { return []; };
|
|
621
621
|
|
|
622
622
|
exports.RibbonItemDirective = RibbonItemDirective;
|