@syncfusion/ej2-angular-ribbon 23.1.38-ngcc → 23.1.38

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.
Files changed (104) hide show
  1. package/esm2020/public_api.mjs +3 -0
  2. package/esm2020/src/index.mjs +9 -0
  3. package/esm2020/src/ribbon/collections.directive.mjs +70 -0
  4. package/esm2020/src/ribbon/groups.directive.mjs +66 -0
  5. package/esm2020/src/ribbon/items.directive.mjs +78 -0
  6. package/esm2020/src/ribbon/ribbon-all.module.mjs +53 -0
  7. package/esm2020/src/ribbon/ribbon.component.mjs +134 -0
  8. package/esm2020/src/ribbon/ribbon.module.mjs +61 -0
  9. package/esm2020/src/ribbon/tabs.directive.mjs +62 -0
  10. package/esm2020/syncfusion-ej2-angular-ribbon.mjs +5 -0
  11. package/fesm2015/syncfusion-ej2-angular-ribbon.mjs +502 -0
  12. package/fesm2015/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
  13. package/fesm2020/syncfusion-ej2-angular-ribbon.mjs +502 -0
  14. package/fesm2020/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
  15. package/package.json +27 -13
  16. package/src/ribbon/collections.directive.d.ts +5 -0
  17. package/src/ribbon/groups.directive.d.ts +5 -0
  18. package/src/ribbon/items.directive.d.ts +5 -0
  19. package/src/ribbon/ribbon-all.module.d.ts +6 -0
  20. package/src/ribbon/ribbon.component.d.ts +3 -0
  21. package/src/ribbon/ribbon.module.d.ts +10 -0
  22. package/src/ribbon/tabs.directive.d.ts +5 -0
  23. package/styles/material3-dark.scss +1 -0
  24. package/styles/material3.scss +1 -0
  25. package/styles/ribbon/_all.scss +2 -0
  26. package/styles/ribbon/_bootstrap-dark-definition.scss +275 -0
  27. package/styles/ribbon/_bootstrap-definition.scss +275 -0
  28. package/styles/ribbon/_bootstrap4-definition.scss +275 -0
  29. package/styles/ribbon/_bootstrap5-dark-definition.scss +1 -0
  30. package/styles/ribbon/_bootstrap5-definition.scss +275 -0
  31. package/styles/ribbon/_fabric-dark-definition.scss +275 -0
  32. package/styles/ribbon/_fabric-definition.scss +275 -0
  33. package/styles/ribbon/_fluent-dark-definition.scss +1 -0
  34. package/styles/ribbon/_fluent-definition.scss +275 -0
  35. package/styles/ribbon/_fusionnew-definition.scss +275 -0
  36. package/styles/ribbon/_highcontrast-definition.scss +275 -0
  37. package/styles/ribbon/_highcontrast-light-definition.scss +275 -0
  38. package/styles/ribbon/_layout.scss +1402 -0
  39. package/styles/ribbon/_material-dark-definition.scss +275 -0
  40. package/styles/ribbon/_material-definition.scss +275 -0
  41. package/styles/ribbon/_material3-dark-definition.scss +1 -0
  42. package/styles/ribbon/_material3-definition.scss +276 -0
  43. package/styles/ribbon/_tailwind-dark-definition.scss +1 -0
  44. package/styles/ribbon/_tailwind-definition.scss +275 -0
  45. package/styles/ribbon/_theme.scss +486 -0
  46. package/styles/ribbon/bootstrap-dark.scss +18 -1
  47. package/styles/ribbon/bootstrap.scss +18 -1
  48. package/styles/ribbon/bootstrap4.scss +18 -1
  49. package/styles/ribbon/bootstrap5-dark.scss +18 -1
  50. package/styles/ribbon/bootstrap5.scss +18 -1
  51. package/styles/ribbon/fabric-dark.scss +18 -1
  52. package/styles/ribbon/fabric.scss +18 -1
  53. package/styles/ribbon/fluent-dark.scss +18 -1
  54. package/styles/ribbon/fluent.scss +18 -1
  55. package/styles/ribbon/highcontrast-light.scss +17 -1
  56. package/styles/ribbon/highcontrast.scss +18 -1
  57. package/styles/ribbon/icons/_bootstrap-dark.scss +9 -0
  58. package/styles/ribbon/icons/_bootstrap.scss +9 -0
  59. package/styles/ribbon/icons/_bootstrap4.scss +9 -0
  60. package/styles/ribbon/icons/_bootstrap5-dark.scss +1 -0
  61. package/styles/ribbon/icons/_bootstrap5.scss +9 -0
  62. package/styles/ribbon/icons/_fabric-dark.scss +9 -0
  63. package/styles/ribbon/icons/_fabric.scss +9 -0
  64. package/styles/ribbon/icons/_fluent-dark.scss +1 -0
  65. package/styles/ribbon/icons/_fluent.scss +9 -0
  66. package/styles/ribbon/icons/_fusionnew.scss +9 -0
  67. package/styles/ribbon/icons/_highcontrast.scss +9 -0
  68. package/styles/ribbon/icons/_material-dark.scss +9 -0
  69. package/styles/ribbon/icons/_material.scss +9 -0
  70. package/styles/ribbon/icons/_material3-dark.scss +1 -0
  71. package/styles/ribbon/icons/_material3.scss +9 -0
  72. package/styles/ribbon/icons/_tailwind-dark.scss +9 -0
  73. package/styles/ribbon/icons/_tailwind.scss +9 -0
  74. package/styles/ribbon/material-dark.scss +18 -1
  75. package/styles/ribbon/material.scss +18 -1
  76. package/styles/ribbon/material3-dark.scss +18 -1
  77. package/styles/ribbon/material3.scss +18 -1
  78. package/styles/ribbon/tailwind-dark.scss +18 -1
  79. package/styles/ribbon/tailwind.scss +18 -1
  80. package/syncfusion-ej2-angular-ribbon.d.ts +5 -0
  81. package/@syncfusion/ej2-angular-ribbon.es5.js +0 -584
  82. package/@syncfusion/ej2-angular-ribbon.es5.js.map +0 -1
  83. package/@syncfusion/ej2-angular-ribbon.js +0 -544
  84. package/@syncfusion/ej2-angular-ribbon.js.map +0 -1
  85. package/CHANGELOG.md +0 -31
  86. package/dist/ej2-angular-ribbon.umd.js +0 -758
  87. package/dist/ej2-angular-ribbon.umd.js.map +0 -1
  88. package/dist/ej2-angular-ribbon.umd.min.js +0 -11
  89. package/dist/ej2-angular-ribbon.umd.min.js.map +0 -1
  90. package/ej2-angular-ribbon.d.ts +0 -5
  91. package/ej2-angular-ribbon.metadata.json +0 -1
  92. package/postinstall/tagchange.js +0 -18
  93. package/schematics/collection.json +0 -10
  94. package/schematics/ng-add/index.d.ts +0 -3
  95. package/schematics/ng-add/index.js +0 -9
  96. package/schematics/ng-add/index.ts +0 -10
  97. package/schematics/ng-add/schema.d.ts +0 -13
  98. package/schematics/ng-add/schema.js +0 -2
  99. package/schematics/ng-add/schema.json +0 -34
  100. package/schematics/ng-add/schema.ts +0 -30
  101. package/schematics/tsconfig.json +0 -25
  102. package/schematics/utils/lib-details.d.ts +0 -4
  103. package/schematics/utils/lib-details.js +0 -6
  104. package/schematics/utils/lib-details.ts +0 -4
@@ -1,758 +0,0 @@
1
- /*!
2
- * filename: ej2-angular-ribbon.umd.js
3
- * version : 23.1.38
4
- * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
- (function (global, factory) {
11
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-ribbon'), require('@angular/common')) :
12
- typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-ribbon', '@angular/common'], factory) :
13
- (factory((global['ej2-angular-ribbon'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.ribbon,global.ng.common));
14
- }(this, (function (exports,core,ej2AngularBase,ej2Ribbon,common) { 'use strict';
15
-
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
- return function (d, b) {
21
- extendStatics(d, b);
22
- function __() { this.constructor = d; }
23
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
- };
25
- })();
26
- var __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', 'groupButtonSettings', 'id', 'itemTemplate', 'ribbonTooltipSettings', 'splitButtonSettings', 'type'];
41
- var outputs = [];
42
- /**
43
- * `e-ribbon-item` directive represent a item in the Angular Ribbon.
44
- * ```html
45
- * <ejs-ribbon>
46
- * <e-ribbon-tabs>
47
- * <e-ribbon-tab></e-ribbon-tab>
48
- * <e-ribbon-tab>
49
- * <e-ribbon-groups>
50
- * <e-ribbon-group>
51
- * <e-ribbon-collections>
52
- * <e-ribbon-collection>
53
- * <e-ribbon-items>
54
- * <e-ribbon-item></e-ribbon-item>
55
- * <e-ribbon-item></e-ribbon-item>
56
- * </e-ribbon-items>
57
- * </e-ribbon-collection>
58
- * </e-ribbon-collections>
59
- * </e-ribbon-group>
60
- * </e-ribbon-groups>
61
- * </e-ribbon-tab>
62
- * </e-ribbon-tabs>
63
- * </ejs-ribbon>
64
- * ```
65
- */
66
- var RibbonItemDirective = /** @class */ (function (_super) {
67
- __extends(RibbonItemDirective, _super);
68
- /**
69
- * @param {?} viewContainerRef
70
- */
71
- function RibbonItemDirective(viewContainerRef) {
72
- var _this = _super.call(this) || this;
73
- _this.viewContainerRef = viewContainerRef;
74
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
75
- _this.registerEvents(outputs);
76
- _this.directivePropList = input;
77
- return _this;
78
- }
79
- return RibbonItemDirective;
80
- }(ej2AngularBase.ComplexBase));
81
- RibbonItemDirective.decorators = [
82
- { type: core.Directive, args: [{
83
- selector: 'e-ribbon-item',
84
- inputs: input,
85
- outputs: outputs,
86
- queries: {}
87
- },] },
88
- ];
89
- /**
90
- * @nocollapse
91
- */
92
- RibbonItemDirective.ctorParameters = function () { return [
93
- { type: core.ViewContainerRef, },
94
- ]; };
95
- RibbonItemDirective.propDecorators = {
96
- 'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
97
- };
98
- __decorate([
99
- ej2AngularBase.Template(),
100
- __metadata("design:type", Object)
101
- ], RibbonItemDirective.prototype, "itemTemplate", void 0);
102
- /**
103
- * RibbonItem Array Directive
104
- */
105
- var RibbonItemsDirective = /** @class */ (function (_super) {
106
- __extends(RibbonItemsDirective, _super);
107
- function RibbonItemsDirective() {
108
- return _super.call(this, 'items') || this;
109
- }
110
- return RibbonItemsDirective;
111
- }(ej2AngularBase.ArrayBase));
112
- RibbonItemsDirective.decorators = [
113
- { type: core.Directive, args: [{
114
- selector: 'e-ribbon-items',
115
- queries: {
116
- children: new core.ContentChildren(RibbonItemDirective)
117
- },
118
- },] },
119
- ];
120
- /**
121
- * @nocollapse
122
- */
123
- RibbonItemsDirective.ctorParameters = function () { return []; };
124
- var input$1 = ['cssClass', 'id', 'items'];
125
- var outputs$1 = [];
126
- /**
127
- * `e-ribbon-collection` directive represent a collection in the Angular Ribbon.
128
- * ```html
129
- * <ejs-ribbon>
130
- * <e-ribbon-tabs>
131
- * <e-ribbon-tab></e-ribbon-tab>
132
- * <e-ribbon-tab>
133
- * <e-ribbon-groups>
134
- * <e-ribbon-group>
135
- * <e-ribbon-collections>
136
- * <e-ribbon-collection></e-ribbon-collection>
137
- * <e-ribbon-collection></e-ribbon-collection>
138
- * </e-ribbon-collections>
139
- * </e-ribbon-group>
140
- * </e-ribbon-groups>
141
- * </e-ribbon-tab>
142
- * </e-ribbon-tabs>
143
- * </ejs-ribbon>
144
- * ```
145
- */
146
- var RibbonCollectionDirective = /** @class */ (function (_super) {
147
- __extends(RibbonCollectionDirective, _super);
148
- /**
149
- * @param {?} viewContainerRef
150
- */
151
- function RibbonCollectionDirective(viewContainerRef) {
152
- var _this = _super.call(this) || this;
153
- _this.viewContainerRef = viewContainerRef;
154
- _this.tags = ['items'];
155
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
156
- _this.registerEvents(outputs$1);
157
- _this.directivePropList = input$1;
158
- return _this;
159
- }
160
- return RibbonCollectionDirective;
161
- }(ej2AngularBase.ComplexBase));
162
- RibbonCollectionDirective.decorators = [
163
- { type: core.Directive, args: [{
164
- selector: 'e-ribbon-collection',
165
- inputs: input$1,
166
- outputs: outputs$1,
167
- queries: {
168
- childItems: new core.ContentChild(RibbonItemsDirective)
169
- }
170
- },] },
171
- ];
172
- /**
173
- * @nocollapse
174
- */
175
- RibbonCollectionDirective.ctorParameters = function () { return [
176
- { type: core.ViewContainerRef, },
177
- ]; };
178
- /**
179
- * RibbonCollection Array Directive
180
- */
181
- var RibbonCollectionsDirective = /** @class */ (function (_super) {
182
- __extends(RibbonCollectionsDirective, _super);
183
- function RibbonCollectionsDirective() {
184
- return _super.call(this, 'collections') || this;
185
- }
186
- return RibbonCollectionsDirective;
187
- }(ej2AngularBase.ArrayBase));
188
- RibbonCollectionsDirective.decorators = [
189
- { type: core.Directive, args: [{
190
- selector: 'e-ribbon-collections',
191
- queries: {
192
- children: new core.ContentChildren(RibbonCollectionDirective)
193
- },
194
- },] },
195
- ];
196
- /**
197
- * @nocollapse
198
- */
199
- RibbonCollectionsDirective.ctorParameters = function () { return []; };
200
- var input$2 = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'orientation', 'priority', 'showLauncherIcon'];
201
- var outputs$2 = [];
202
- /**
203
- * `e-ribbon-group` directive represent a group in the Angular Ribbon.
204
- * ```html
205
- * <ejs-ribbon>
206
- * <e-ribbon-tabs>
207
- * <e-ribbon-tab></e-ribbon-tab>
208
- * <e-ribbon-tab>
209
- * <e-ribbon-groups>
210
- * <e-ribbon-group></e-ribbon-group>
211
- * <e-ribbon-group></e-ribbon-group>
212
- * </e-ribbon-groups>
213
- * </e-ribbon-tab>
214
- * </e-ribbon-tabs>
215
- * </ejs-ribbon>
216
- * ```
217
- */
218
- var RibbonGroupDirective = /** @class */ (function (_super) {
219
- __extends(RibbonGroupDirective, _super);
220
- /**
221
- * @param {?} viewContainerRef
222
- */
223
- function RibbonGroupDirective(viewContainerRef) {
224
- var _this = _super.call(this) || this;
225
- _this.viewContainerRef = viewContainerRef;
226
- _this.tags = ['collections'];
227
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
228
- _this.registerEvents(outputs$2);
229
- _this.directivePropList = input$2;
230
- return _this;
231
- }
232
- return RibbonGroupDirective;
233
- }(ej2AngularBase.ComplexBase));
234
- RibbonGroupDirective.decorators = [
235
- { type: core.Directive, args: [{
236
- selector: 'e-ribbon-group',
237
- inputs: input$2,
238
- outputs: outputs$2,
239
- queries: {
240
- childCollections: new core.ContentChild(RibbonCollectionsDirective)
241
- }
242
- },] },
243
- ];
244
- /**
245
- * @nocollapse
246
- */
247
- RibbonGroupDirective.ctorParameters = function () { return [
248
- { type: core.ViewContainerRef, },
249
- ]; };
250
- /**
251
- * RibbonGroup Array Directive
252
- */
253
- var RibbonGroupsDirective = /** @class */ (function (_super) {
254
- __extends(RibbonGroupsDirective, _super);
255
- function RibbonGroupsDirective() {
256
- return _super.call(this, 'groups') || this;
257
- }
258
- return RibbonGroupsDirective;
259
- }(ej2AngularBase.ArrayBase));
260
- RibbonGroupsDirective.decorators = [
261
- { type: core.Directive, args: [{
262
- selector: 'e-ribbon-groups',
263
- queries: {
264
- children: new core.ContentChildren(RibbonGroupDirective)
265
- },
266
- },] },
267
- ];
268
- /**
269
- * @nocollapse
270
- */
271
- RibbonGroupsDirective.ctorParameters = function () { return []; };
272
- var input$3 = ['cssClass', 'groups', 'header', 'id'];
273
- var outputs$3 = [];
274
- /**
275
- * `e-ribbon-tab` directive represent a tab of the Angular Ribbon.
276
- * It must be contained in a Ribbon component(`ejs-ribbon`).
277
- * ```html
278
- * <ejs-ribbon>
279
- * <e-ribbon-tabs>
280
- * <e-ribbon-tab></e-ribbon-tab>
281
- * <e-ribbon-tab></e-ribbon-tab>
282
- * </e-ribbon-tabs>
283
- * </ejs-ribbon>
284
- * ```
285
- */
286
- var RibbonTabDirective = /** @class */ (function (_super) {
287
- __extends(RibbonTabDirective, _super);
288
- /**
289
- * @param {?} viewContainerRef
290
- */
291
- function RibbonTabDirective(viewContainerRef) {
292
- var _this = _super.call(this) || this;
293
- _this.viewContainerRef = viewContainerRef;
294
- _this.tags = ['groups'];
295
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
296
- _this.registerEvents(outputs$3);
297
- _this.directivePropList = input$3;
298
- return _this;
299
- }
300
- return RibbonTabDirective;
301
- }(ej2AngularBase.ComplexBase));
302
- RibbonTabDirective.decorators = [
303
- { type: core.Directive, args: [{
304
- selector: 'e-ribbon-tab',
305
- inputs: input$3,
306
- outputs: outputs$3,
307
- queries: {
308
- childGroups: new core.ContentChild(RibbonGroupsDirective)
309
- }
310
- },] },
311
- ];
312
- /**
313
- * @nocollapse
314
- */
315
- RibbonTabDirective.ctorParameters = function () { return [
316
- { type: core.ViewContainerRef, },
317
- ]; };
318
- /**
319
- * RibbonTab Array Directive
320
- */
321
- var RibbonTabsDirective = /** @class */ (function (_super) {
322
- __extends(RibbonTabsDirective, _super);
323
- function RibbonTabsDirective() {
324
- return _super.call(this, 'tabs') || this;
325
- }
326
- return RibbonTabsDirective;
327
- }(ej2AngularBase.ArrayBase));
328
- RibbonTabsDirective.decorators = [
329
- { type: core.Directive, args: [{
330
- selector: 'e-ribbon-tabs',
331
- queries: {
332
- children: new core.ContentChildren(RibbonTabDirective)
333
- },
334
- },] },
335
- ];
336
- /**
337
- * @nocollapse
338
- */
339
- RibbonTabsDirective.ctorParameters = function () { return []; };
340
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
341
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
342
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
343
- r = Reflect.decorate(decorators, target, key, desc);
344
- else
345
- for (var i = decorators.length - 1; i >= 0; i--)
346
- if (d = decorators[i])
347
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
348
- return c > 3 && r && Object.defineProperty(target, key, r), r;
349
- };
350
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
351
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
352
- return Reflect.metadata(k, v);
353
- };
354
- var inputs = ['activeLayout', 'backStageMenu', 'cssClass', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'hideLayoutSwitcher', 'isMinimized', 'launcherIconCss', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width'];
355
- var outputs$4 = ['created', 'launcherIconClick', 'ribbonCollapsing', 'ribbonExpanding', 'tabSelected', 'tabSelecting'];
356
- var twoWays = [''];
357
- /**
358
- * Represents the Essential JS 2 Angular Ribbon Component.
359
- * ```html
360
- * <ejs-ribbon></ejs-ribbon>
361
- * ```
362
- */
363
- exports.RibbonComponent = /** @class */ (function (_super) {
364
- __extends(RibbonComponent, _super);
365
- /**
366
- * @param {?} ngEle
367
- * @param {?} srenderer
368
- * @param {?} viewContainerRef
369
- * @param {?} injector
370
- */
371
- function RibbonComponent(ngEle, srenderer, viewContainerRef, injector) {
372
- var _this = _super.call(this) || this;
373
- _this.ngEle = ngEle;
374
- _this.srenderer = srenderer;
375
- _this.viewContainerRef = viewContainerRef;
376
- _this.injector = injector;
377
- _this.tags = ['tabs'];
378
- _this.element = _this.ngEle.nativeElement;
379
- _this.injectedModules = _this.injectedModules || [];
380
- try {
381
- var mod = _this.injector.get('RibbonRibbonButton');
382
- if (_this.injectedModules.indexOf(mod) === -1) {
383
- _this.injectedModules.push(mod);
384
- }
385
- }
386
- catch (_a) { }
387
- try {
388
- var mod = _this.injector.get('RibbonRibbonDropDown');
389
- if (_this.injectedModules.indexOf(mod) === -1) {
390
- _this.injectedModules.push(mod);
391
- }
392
- }
393
- catch (_b) { }
394
- try {
395
- var mod = _this.injector.get('RibbonRibbonSplitButton');
396
- if (_this.injectedModules.indexOf(mod) === -1) {
397
- _this.injectedModules.push(mod);
398
- }
399
- }
400
- catch (_c) { }
401
- try {
402
- var mod = _this.injector.get('RibbonRibbonCheckBox');
403
- if (_this.injectedModules.indexOf(mod) === -1) {
404
- _this.injectedModules.push(mod);
405
- }
406
- }
407
- catch (_d) { }
408
- try {
409
- var mod = _this.injector.get('RibbonRibbonColorPicker');
410
- if (_this.injectedModules.indexOf(mod) === -1) {
411
- _this.injectedModules.push(mod);
412
- }
413
- }
414
- catch (_e) { }
415
- try {
416
- var mod = _this.injector.get('RibbonRibbonComboBox');
417
- if (_this.injectedModules.indexOf(mod) === -1) {
418
- _this.injectedModules.push(mod);
419
- }
420
- }
421
- catch (_f) { }
422
- try {
423
- var mod = _this.injector.get('RibbonRibbonGroupButton');
424
- if (_this.injectedModules.indexOf(mod) === -1) {
425
- _this.injectedModules.push(mod);
426
- }
427
- }
428
- catch (_g) { }
429
- try {
430
- var mod = _this.injector.get('RibbonRibbonFileMenu');
431
- if (_this.injectedModules.indexOf(mod) === -1) {
432
- _this.injectedModules.push(mod);
433
- }
434
- }
435
- catch (_h) { }
436
- try {
437
- var mod = _this.injector.get('RibbonRibbonBackstage');
438
- if (_this.injectedModules.indexOf(mod) === -1) {
439
- _this.injectedModules.push(mod);
440
- }
441
- }
442
- catch (_j) { }
443
- _this.registerEvents(outputs$4);
444
- _this.addTwoWay.call(_this, twoWays);
445
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
446
- _this.containerContext = new ej2AngularBase.ComponentBase();
447
- return _this;
448
- }
449
- /**
450
- * @return {?}
451
- */
452
- RibbonComponent.prototype.ngOnInit = function () {
453
- this.containerContext.ngOnInit(this);
454
- };
455
- /**
456
- * @return {?}
457
- */
458
- RibbonComponent.prototype.ngAfterViewInit = function () {
459
- this.containerContext.ngAfterViewInit(this);
460
- };
461
- /**
462
- * @return {?}
463
- */
464
- RibbonComponent.prototype.ngOnDestroy = function () {
465
- this.containerContext.ngOnDestroy(this);
466
- };
467
- /**
468
- * @return {?}
469
- */
470
- RibbonComponent.prototype.ngAfterContentChecked = function () {
471
- this.tagObjects[0].instance = this.childTabs;
472
- this.containerContext.ngAfterContentChecked(this);
473
- };
474
- return RibbonComponent;
475
- }(ej2Ribbon.Ribbon));
476
- exports.RibbonComponent.decorators = [
477
- { type: core.Component, args: [{
478
- selector: 'ejs-ribbon',
479
- inputs: inputs,
480
- outputs: outputs$4,
481
- template: "<ng-content select='div'></ng-content>",
482
- changeDetection: core.ChangeDetectionStrategy.OnPush,
483
- queries: {
484
- childTabs: new core.ContentChild(RibbonTabsDirective)
485
- }
486
- },] },
487
- ];
488
- /**
489
- * @nocollapse
490
- */
491
- exports.RibbonComponent.ctorParameters = function () { return [
492
- { type: core.ElementRef, },
493
- { type: core.Renderer2, },
494
- { type: core.ViewContainerRef, },
495
- { type: core.Injector, },
496
- ]; };
497
- exports.RibbonComponent.propDecorators = {
498
- 'helpPaneTemplate': [{ type: core.ContentChild, args: ['helpPaneTemplate',] },],
499
- };
500
- __decorate$1([
501
- ej2AngularBase.Template(),
502
- __metadata$1("design:type", Object)
503
- ], exports.RibbonComponent.prototype, "helpPaneTemplate", void 0);
504
- exports.RibbonComponent = __decorate$1([
505
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
506
- __metadata$1("design:paramtypes", [core.ElementRef,
507
- core.Renderer2,
508
- core.ViewContainerRef,
509
- core.Injector])
510
- ], exports.RibbonComponent);
511
- /**
512
- * NgModule definition for the Ribbon component.
513
- */
514
- var RibbonModule = /** @class */ (function () {
515
- function RibbonModule() {
516
- }
517
- return RibbonModule;
518
- }());
519
- RibbonModule.decorators = [
520
- { type: core.NgModule, args: [{
521
- imports: [common.CommonModule],
522
- declarations: [
523
- exports.RibbonComponent,
524
- RibbonItemDirective,
525
- RibbonItemsDirective,
526
- RibbonCollectionDirective,
527
- RibbonCollectionsDirective,
528
- RibbonGroupDirective,
529
- RibbonGroupsDirective,
530
- RibbonTabDirective,
531
- RibbonTabsDirective
532
- ],
533
- exports: [
534
- exports.RibbonComponent,
535
- RibbonItemDirective,
536
- RibbonItemsDirective,
537
- RibbonCollectionDirective,
538
- RibbonCollectionsDirective,
539
- RibbonGroupDirective,
540
- RibbonGroupsDirective,
541
- RibbonTabDirective,
542
- RibbonTabsDirective
543
- ]
544
- },] },
545
- ];
546
- /**
547
- * @nocollapse
548
- */
549
- RibbonModule.ctorParameters = function () { return []; };
550
- var RibbonButtonService = { provide: 'RibbonRibbonButton', useValue: ej2Ribbon.RibbonButton };
551
- var RibbonDropDownService = { provide: 'RibbonRibbonDropDown', useValue: ej2Ribbon.RibbonDropDown };
552
- var RibbonSplitButtonService = { provide: 'RibbonRibbonSplitButton', useValue: ej2Ribbon.RibbonSplitButton };
553
- var RibbonCheckBoxService = { provide: 'RibbonRibbonCheckBox', useValue: ej2Ribbon.RibbonCheckBox };
554
- var RibbonColorPickerService = { provide: 'RibbonRibbonColorPicker', useValue: ej2Ribbon.RibbonColorPicker };
555
- var RibbonComboBoxService = { provide: 'RibbonRibbonComboBox', useValue: ej2Ribbon.RibbonComboBox };
556
- var RibbonGroupButtonService = { provide: 'RibbonRibbonGroupButton', useValue: ej2Ribbon.RibbonGroupButton };
557
- var RibbonFileMenuService = { provide: 'RibbonRibbonFileMenu', useValue: ej2Ribbon.RibbonFileMenu };
558
- var RibbonBackstageService = { provide: 'RibbonRibbonBackstage', useValue: ej2Ribbon.RibbonBackstage };
559
- /**
560
- * NgModule definition for the Ribbon component with providers.
561
- */
562
- var RibbonAllModule = /** @class */ (function () {
563
- function RibbonAllModule() {
564
- }
565
- return RibbonAllModule;
566
- }());
567
- RibbonAllModule.decorators = [
568
- { type: core.NgModule, args: [{
569
- imports: [common.CommonModule, RibbonModule],
570
- exports: [
571
- RibbonModule
572
- ],
573
- providers: [
574
- RibbonButtonService,
575
- RibbonDropDownService,
576
- RibbonSplitButtonService,
577
- RibbonCheckBoxService,
578
- RibbonColorPickerService,
579
- RibbonComboBoxService,
580
- RibbonGroupButtonService,
581
- RibbonFileMenuService,
582
- RibbonBackstageService
583
- ]
584
- },] },
585
- ];
586
- /**
587
- * @nocollapse
588
- */
589
- RibbonAllModule.ctorParameters = function () { return []; };
590
-
591
- exports.RibbonItemDirective = RibbonItemDirective;
592
- exports.RibbonItemsDirective = RibbonItemsDirective;
593
- exports.RibbonCollectionDirective = RibbonCollectionDirective;
594
- exports.RibbonCollectionsDirective = RibbonCollectionsDirective;
595
- exports.RibbonGroupDirective = RibbonGroupDirective;
596
- exports.RibbonGroupsDirective = RibbonGroupsDirective;
597
- exports.RibbonTabDirective = RibbonTabDirective;
598
- exports.RibbonTabsDirective = RibbonTabsDirective;
599
- exports.RibbonModule = RibbonModule;
600
- exports.RibbonAllModule = RibbonAllModule;
601
- exports.RibbonButtonService = RibbonButtonService;
602
- exports.RibbonDropDownService = RibbonDropDownService;
603
- exports.RibbonSplitButtonService = RibbonSplitButtonService;
604
- exports.RibbonCheckBoxService = RibbonCheckBoxService;
605
- exports.RibbonColorPickerService = RibbonColorPickerService;
606
- exports.RibbonComboBoxService = RibbonComboBoxService;
607
- exports.RibbonGroupButtonService = RibbonGroupButtonService;
608
- exports.RibbonFileMenuService = RibbonFileMenuService;
609
- exports.RibbonBackstageService = RibbonBackstageService;
610
- exports.ɵa = inputs;
611
- exports.ɵb = outputs$4;
612
- exports.Ribbon = ej2Ribbon.Ribbon;
613
- exports.RibbonLayout = ej2Ribbon.RibbonLayout;
614
- exports.ItemOrientation = ej2Ribbon.ItemOrientation;
615
- exports.RibbonItemSize = ej2Ribbon.RibbonItemSize;
616
- exports.DisplayMode = ej2Ribbon.DisplayMode;
617
- exports.RibbonItemType = ej2Ribbon.RibbonItemType;
618
- exports.RibbonGroupButtonSelection = ej2Ribbon.RibbonGroupButtonSelection;
619
- exports.ITEM_VERTICAL_CENTER = ej2Ribbon.ITEM_VERTICAL_CENTER;
620
- exports.EXPAND_COLLAPSE_ICON = ej2Ribbon.EXPAND_COLLAPSE_ICON;
621
- exports.BACKSTAGE_CLOSE_ICON = ej2Ribbon.BACKSTAGE_CLOSE_ICON;
622
- exports.OVERFLOW_ICON = ej2Ribbon.OVERFLOW_ICON;
623
- exports.VERTICAL_DDB = ej2Ribbon.VERTICAL_DDB;
624
- exports.DISABLED_CSS = ej2Ribbon.DISABLED_CSS;
625
- exports.RTL_CSS = ej2Ribbon.RTL_CSS;
626
- exports.RIBBON_HOVER = ej2Ribbon.RIBBON_HOVER;
627
- exports.RIBBON_CONTROL = ej2Ribbon.RIBBON_CONTROL;
628
- exports.RIBBON_POPUP_CONTROL = ej2Ribbon.RIBBON_POPUP_CONTROL;
629
- exports.RIBBON_POPUP_OPEN = ej2Ribbon.RIBBON_POPUP_OPEN;
630
- exports.SPACE = ej2Ribbon.SPACE;
631
- exports.HORIZONTAL_SCROLLBAR = ej2Ribbon.HORIZONTAL_SCROLLBAR;
632
- exports.HIDE_CSS = ej2Ribbon.HIDE_CSS;
633
- exports.RIBBON_TAB = ej2Ribbon.RIBBON_TAB;
634
- exports.RIBBON_TAB_ACTIVE = ej2Ribbon.RIBBON_TAB_ACTIVE;
635
- exports.RIBBON_TAB_ITEM = ej2Ribbon.RIBBON_TAB_ITEM;
636
- exports.RIBBON_COLLAPSE_BUTTON = ej2Ribbon.RIBBON_COLLAPSE_BUTTON;
637
- exports.RIBBON_EXPAND_BUTTON = ej2Ribbon.RIBBON_EXPAND_BUTTON;
638
- exports.RIBBON_COLLAPSIBLE = ej2Ribbon.RIBBON_COLLAPSIBLE;
639
- exports.RIBBON_OVERALL_OF_BUTTON = ej2Ribbon.RIBBON_OVERALL_OF_BUTTON;
640
- exports.RIBBON_GROUP_OF_BUTTON = ej2Ribbon.RIBBON_GROUP_OF_BUTTON;
641
- exports.RIBBON_OVERFLOW_TARGET = ej2Ribbon.RIBBON_OVERFLOW_TARGET;
642
- exports.RIBBON_OVERFLOW = ej2Ribbon.RIBBON_OVERFLOW;
643
- exports.TAB_CONTENT = ej2Ribbon.TAB_CONTENT;
644
- exports.RIBBON_MINIMIZE = ej2Ribbon.RIBBON_MINIMIZE;
645
- exports.RIBBON_GROUP = ej2Ribbon.RIBBON_GROUP;
646
- exports.RIBBON_SINGLE_BUTTON_SELECTION = ej2Ribbon.RIBBON_SINGLE_BUTTON_SELECTION;
647
- exports.RIBBON_MULTIPLE_BUTTON_SELECTION = ej2Ribbon.RIBBON_MULTIPLE_BUTTON_SELECTION;
648
- exports.RIBBON_GROUP_BUTTON = ej2Ribbon.RIBBON_GROUP_BUTTON;
649
- exports.RIBBON_GROUP_BUTTON_OVERFLOW_POPUP = ej2Ribbon.RIBBON_GROUP_BUTTON_OVERFLOW_POPUP;
650
- exports.RIBBON_GROUP_CONTAINER = ej2Ribbon.RIBBON_GROUP_CONTAINER;
651
- exports.RIBBON_OF_TAB_CONTAINER = ej2Ribbon.RIBBON_OF_TAB_CONTAINER;
652
- exports.RIBBON_OF_GROUP_CONTAINER = ej2Ribbon.RIBBON_OF_GROUP_CONTAINER;
653
- exports.RIBBON_GROUP_CONTENT = ej2Ribbon.RIBBON_GROUP_CONTENT;
654
- exports.RIBBON_GROUP_HEADER = ej2Ribbon.RIBBON_GROUP_HEADER;
655
- exports.RIBBON_OVERFLOW_HEADER = ej2Ribbon.RIBBON_OVERFLOW_HEADER;
656
- exports.RIBBON_GROUP_OVERFLOW = ej2Ribbon.RIBBON_GROUP_OVERFLOW;
657
- exports.RIBBON_GROUP_OVERFLOW_DDB = ej2Ribbon.RIBBON_GROUP_OVERFLOW_DDB;
658
- exports.RIBBON_LAUNCHER = ej2Ribbon.RIBBON_LAUNCHER;
659
- exports.RIBBON_LAUNCHER_ICON_ELE = ej2Ribbon.RIBBON_LAUNCHER_ICON_ELE;
660
- exports.RIBBON_LAUNCHER_ICON = ej2Ribbon.RIBBON_LAUNCHER_ICON;
661
- exports.RIBBON_COLLECTION = ej2Ribbon.RIBBON_COLLECTION;
662
- exports.RIBBON_ITEM = ej2Ribbon.RIBBON_ITEM;
663
- exports.RIBBON_ROW = ej2Ribbon.RIBBON_ROW;
664
- exports.RIBBON_COLUMN = ej2Ribbon.RIBBON_COLUMN;
665
- exports.RIBBON_LARGE_ITEM = ej2Ribbon.RIBBON_LARGE_ITEM;
666
- exports.RIBBON_MEDIUM_ITEM = ej2Ribbon.RIBBON_MEDIUM_ITEM;
667
- exports.RIBBON_SMALL_ITEM = ej2Ribbon.RIBBON_SMALL_ITEM;
668
- exports.RIBBON_CONTENT_HEIGHT = ej2Ribbon.RIBBON_CONTENT_HEIGHT;
669
- exports.DROPDOWNBUTTON = ej2Ribbon.DROPDOWNBUTTON;
670
- exports.DROPDOWNBUTTON_HIDE = ej2Ribbon.DROPDOWNBUTTON_HIDE;
671
- exports.RIBBON_TEMPLATE = ej2Ribbon.RIBBON_TEMPLATE;
672
- exports.RIBBON_HELP_TEMPLATE = ej2Ribbon.RIBBON_HELP_TEMPLATE;
673
- exports.RIBBON_TOOLTIP = ej2Ribbon.RIBBON_TOOLTIP;
674
- exports.RIBBON_TOOLTIP_TARGET = ej2Ribbon.RIBBON_TOOLTIP_TARGET;
675
- exports.RIBBON_TOOLTIP_TITLE = ej2Ribbon.RIBBON_TOOLTIP_TITLE;
676
- exports.RIBBON_TOOLTIP_CONTENT = ej2Ribbon.RIBBON_TOOLTIP_CONTENT;
677
- exports.RIBBON_TOOLTIP_ICON = ej2Ribbon.RIBBON_TOOLTIP_ICON;
678
- exports.RIBBON_TOOLTIP_CONTAINER = ej2Ribbon.RIBBON_TOOLTIP_CONTAINER;
679
- exports.RIBBON_TEXT_CONTAINER = ej2Ribbon.RIBBON_TEXT_CONTAINER;
680
- exports.RIBBON_SIMPLIFIED_MODE = ej2Ribbon.RIBBON_SIMPLIFIED_MODE;
681
- exports.RIBBON_BACKSTAGE_POPUP = ej2Ribbon.RIBBON_BACKSTAGE_POPUP;
682
- exports.RIBBON_BACKSTAGE_OPEN = ej2Ribbon.RIBBON_BACKSTAGE_OPEN;
683
- exports.RIBBON_BACKSTAGE_CONTENT = ej2Ribbon.RIBBON_BACKSTAGE_CONTENT;
684
- exports.RIBBON_SELECTED_CONTENT = ej2Ribbon.RIBBON_SELECTED_CONTENT;
685
- exports.RIBBON_BACKSTAGE = ej2Ribbon.RIBBON_BACKSTAGE;
686
- exports.RIBBON_BACKSTAGE_MENU = ej2Ribbon.RIBBON_BACKSTAGE_MENU;
687
- exports.RIBBON_BACKSTAGE_TEMPLATE = ej2Ribbon.RIBBON_BACKSTAGE_TEMPLATE;
688
- exports.RIBBON_BACKSTAGE_MENU_WRAPPER = ej2Ribbon.RIBBON_BACKSTAGE_MENU_WRAPPER;
689
- exports.RIBBON_BACKSTAGE_ITEMS_WRAPPER = ej2Ribbon.RIBBON_BACKSTAGE_ITEMS_WRAPPER;
690
- exports.RIBBON_BACKSTAGE_TEXT_MENU = ej2Ribbon.RIBBON_BACKSTAGE_TEXT_MENU;
691
- exports.TAB_ID = ej2Ribbon.TAB_ID;
692
- exports.GROUP_ID = ej2Ribbon.GROUP_ID;
693
- exports.COLLECTION_ID = ej2Ribbon.COLLECTION_ID;
694
- exports.ITEM_ID = ej2Ribbon.ITEM_ID;
695
- exports.COLLAPSE_BUTTON_ID = ej2Ribbon.COLLAPSE_BUTTON_ID;
696
- exports.OVRLOF_BUTTON_ID = ej2Ribbon.OVRLOF_BUTTON_ID;
697
- exports.GROUPOF_BUTTON_ID = ej2Ribbon.GROUPOF_BUTTON_ID;
698
- exports.HEADER_ID = ej2Ribbon.HEADER_ID;
699
- exports.LAUNCHER_ID = ej2Ribbon.LAUNCHER_ID;
700
- exports.CONTENT_ID = ej2Ribbon.CONTENT_ID;
701
- exports.CONTAINER_ID = ej2Ribbon.CONTAINER_ID;
702
- exports.OVERFLOW_ID = ej2Ribbon.OVERFLOW_ID;
703
- exports.DROPDOWN_ID = ej2Ribbon.DROPDOWN_ID;
704
- exports.RIBBON_FILE_MENU_ID = ej2Ribbon.RIBBON_FILE_MENU_ID;
705
- exports.RIBBON_BACKSTAGE_MENU_ID = ej2Ribbon.RIBBON_BACKSTAGE_MENU_ID;
706
- exports.RIBBON_BACKSTAGE_POPUP_ID = ej2Ribbon.RIBBON_BACKSTAGE_POPUP_ID;
707
- exports.RIBBON_FILE_MENU_LIST = ej2Ribbon.RIBBON_FILE_MENU_LIST;
708
- exports.RIBBON_MENU_LIST = ej2Ribbon.RIBBON_MENU_LIST;
709
- exports.RIBBON_FOOTER_MENU_LIST = ej2Ribbon.RIBBON_FOOTER_MENU_LIST;
710
- exports.RIBBON_HELP_PANE_TEMPLATE_ID = ej2Ribbon.RIBBON_HELP_PANE_TEMPLATE_ID;
711
- exports.RIBBON_GROUP_BUTTON_ID = ej2Ribbon.RIBBON_GROUP_BUTTON_ID;
712
- exports.RIBBON_FILE_MENU_WIDTH = ej2Ribbon.RIBBON_FILE_MENU_WIDTH;
713
- exports.RIBBON_HELP_PANE_TEMPLATE_WIDTH = ej2Ribbon.RIBBON_HELP_PANE_TEMPLATE_WIDTH;
714
- exports.getIndex = ej2Ribbon.getIndex;
715
- exports.getTemplateFunction = ej2Ribbon.getTemplateFunction;
716
- exports.getItem = ej2Ribbon.getItem;
717
- exports.getCollection = ej2Ribbon.getCollection;
718
- exports.getGroup = ej2Ribbon.getGroup;
719
- exports.destroyControl = ej2Ribbon.destroyControl;
720
- exports.updateCommonProperty = ej2Ribbon.updateCommonProperty;
721
- exports.updateControlDisabled = ej2Ribbon.updateControlDisabled;
722
- exports.getItemElement = ej2Ribbon.getItemElement;
723
- exports.isTooltipPresent = ej2Ribbon.isTooltipPresent;
724
- exports.setToolTipContent = ej2Ribbon.setToolTipContent;
725
- exports.createTooltip = ej2Ribbon.createTooltip;
726
- exports.destroyTooltip = ej2Ribbon.destroyTooltip;
727
- exports.updateTooltipProp = ej2Ribbon.updateTooltipProp;
728
- exports.RibbonTab = ej2Ribbon.RibbonTab;
729
- exports.RibbonGroup = ej2Ribbon.RibbonGroup;
730
- exports.RibbonCollection = ej2Ribbon.RibbonCollection;
731
- exports.RibbonItem = ej2Ribbon.RibbonItem;
732
- exports.RibbonButtonSettings = ej2Ribbon.RibbonButtonSettings;
733
- exports.RibbonCheckBoxSettings = ej2Ribbon.RibbonCheckBoxSettings;
734
- exports.RibbonColorPickerSettings = ej2Ribbon.RibbonColorPickerSettings;
735
- exports.RibbonComboBoxSettings = ej2Ribbon.RibbonComboBoxSettings;
736
- exports.RibbonDropDownSettings = ej2Ribbon.RibbonDropDownSettings;
737
- exports.RibbonSplitButtonSettings = ej2Ribbon.RibbonSplitButtonSettings;
738
- exports.FileMenuSettings = ej2Ribbon.FileMenuSettings;
739
- exports.BackStageMenu = ej2Ribbon.BackStageMenu;
740
- exports.BackstageBackButton = ej2Ribbon.BackstageBackButton;
741
- exports.BackstageItem = ej2Ribbon.BackstageItem;
742
- exports.RibbonTooltip = ej2Ribbon.RibbonTooltip;
743
- exports.RibbonGroupButtonSettings = ej2Ribbon.RibbonGroupButtonSettings;
744
- exports.RibbonGroupButtonItem = ej2Ribbon.RibbonGroupButtonItem;
745
- exports.RibbonButton = ej2Ribbon.RibbonButton;
746
- exports.RibbonCheckBox = ej2Ribbon.RibbonCheckBox;
747
- exports.RibbonColorPicker = ej2Ribbon.RibbonColorPicker;
748
- exports.RibbonComboBox = ej2Ribbon.RibbonComboBox;
749
- exports.RibbonDropDown = ej2Ribbon.RibbonDropDown;
750
- exports.RibbonSplitButton = ej2Ribbon.RibbonSplitButton;
751
- exports.RibbonGroupButton = ej2Ribbon.RibbonGroupButton;
752
- exports.RibbonFileMenu = ej2Ribbon.RibbonFileMenu;
753
- exports.RibbonBackstage = ej2Ribbon.RibbonBackstage;
754
-
755
- Object.defineProperty(exports, '__esModule', { value: true });
756
-
757
- })));
758
- //# sourceMappingURL=ej2-angular-ribbon.umd.js.map