@syncfusion/ej2-angular-ribbon 34.2.8-ngcc → 35.1.37

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 (162) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/README.md +14 -0
  3. package/fesm2022/syncfusion-ej2-angular-ribbon.mjs +536 -0
  4. package/fesm2022/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
  5. package/package.json +16 -10
  6. package/schematics/collection.json +9 -10
  7. package/schematics/ng-add/index.js +5 -8
  8. package/schematics/ng-add/index.ts +10 -10
  9. package/schematics/ng-add/schema.js +1 -2
  10. package/schematics/ng-add/schema.json +34 -34
  11. package/schematics/ng-add/schema.ts +30 -30
  12. package/schematics/tsconfig.json +33 -25
  13. package/schematics/utils/lib-details.js +4 -6
  14. package/schematics/utils/lib-details.ts +4 -4
  15. package/types/syncfusion-ej2-angular-ribbon.d.ts +405 -0
  16. package/@syncfusion/ej2-angular-ribbon.es5.js +0 -615
  17. package/@syncfusion/ej2-angular-ribbon.es5.js.map +0 -1
  18. package/@syncfusion/ej2-angular-ribbon.js +0 -571
  19. package/@syncfusion/ej2-angular-ribbon.js.map +0 -1
  20. package/LICENSE +0 -10
  21. package/dist/ej2-angular-ribbon.umd.js +0 -806
  22. package/dist/ej2-angular-ribbon.umd.js.map +0 -1
  23. package/dist/ej2-angular-ribbon.umd.min.js +0 -11
  24. package/dist/ej2-angular-ribbon.umd.min.js.map +0 -1
  25. package/ej2-angular-ribbon.d.ts +0 -5
  26. package/ej2-angular-ribbon.metadata.json +0 -1
  27. package/public_api.d.ts +0 -1
  28. package/src/index.d.ts +0 -9
  29. package/src/ribbon/collections.directive.d.ts +0 -32
  30. package/src/ribbon/contextualtabs.directive.d.ts +0 -44
  31. package/src/ribbon/groups.directive.d.ts +0 -92
  32. package/src/ribbon/items.directive.d.ts +0 -114
  33. package/src/ribbon/ribbon-all.module.d.ts +0 -18
  34. package/src/ribbon/ribbon.component.d.ts +0 -51
  35. package/src/ribbon/ribbon.module.d.ts +0 -5
  36. package/src/ribbon/tabs.directive.d.ts +0 -42
  37. package/styles/bds-lite.css +0 -1
  38. package/styles/bds-lite.scss +0 -1
  39. package/styles/bds.css +0 -1
  40. package/styles/bds.scss +0 -1
  41. package/styles/bootstrap-dark-lite.css +0 -1
  42. package/styles/bootstrap-dark-lite.scss +0 -1
  43. package/styles/bootstrap-dark.css +0 -1
  44. package/styles/bootstrap-dark.scss +0 -1
  45. package/styles/bootstrap-lite.css +0 -1
  46. package/styles/bootstrap-lite.scss +0 -1
  47. package/styles/bootstrap.css +0 -1
  48. package/styles/bootstrap.scss +0 -1
  49. package/styles/bootstrap4-lite.css +0 -1
  50. package/styles/bootstrap4-lite.scss +0 -1
  51. package/styles/bootstrap4.css +0 -1
  52. package/styles/bootstrap4.scss +0 -1
  53. package/styles/bootstrap5-dark-lite.css +0 -1
  54. package/styles/bootstrap5-dark-lite.scss +0 -1
  55. package/styles/bootstrap5-dark.css +0 -1
  56. package/styles/bootstrap5-dark.scss +0 -1
  57. package/styles/bootstrap5-lite.css +0 -1
  58. package/styles/bootstrap5-lite.scss +0 -1
  59. package/styles/bootstrap5.3-lite.css +0 -1
  60. package/styles/bootstrap5.3-lite.scss +0 -1
  61. package/styles/bootstrap5.3.css +0 -1
  62. package/styles/bootstrap5.3.scss +0 -1
  63. package/styles/bootstrap5.css +0 -1
  64. package/styles/bootstrap5.scss +0 -1
  65. package/styles/fabric-dark-lite.css +0 -1
  66. package/styles/fabric-dark-lite.scss +0 -1
  67. package/styles/fabric-dark.css +0 -1
  68. package/styles/fabric-dark.scss +0 -1
  69. package/styles/fabric-lite.css +0 -1
  70. package/styles/fabric-lite.scss +0 -1
  71. package/styles/fabric.css +0 -1
  72. package/styles/fabric.scss +0 -1
  73. package/styles/fluent-dark-lite.css +0 -1
  74. package/styles/fluent-dark-lite.scss +0 -1
  75. package/styles/fluent-dark.css +0 -1
  76. package/styles/fluent-dark.scss +0 -1
  77. package/styles/fluent-lite.css +0 -1
  78. package/styles/fluent-lite.scss +0 -1
  79. package/styles/fluent.css +0 -1
  80. package/styles/fluent.scss +0 -1
  81. package/styles/fluent2-lite.css +0 -1
  82. package/styles/fluent2-lite.scss +0 -1
  83. package/styles/fluent2.css +0 -1
  84. package/styles/fluent2.scss +0 -1
  85. package/styles/highcontrast-light-lite.css +0 -1
  86. package/styles/highcontrast-light-lite.scss +0 -1
  87. package/styles/highcontrast-light.css +0 -1
  88. package/styles/highcontrast-light.scss +0 -1
  89. package/styles/highcontrast-lite.css +0 -1
  90. package/styles/highcontrast-lite.scss +0 -1
  91. package/styles/highcontrast.css +0 -1
  92. package/styles/highcontrast.scss +0 -1
  93. package/styles/material-dark-lite.css +0 -1
  94. package/styles/material-dark-lite.scss +0 -1
  95. package/styles/material-dark.css +0 -1
  96. package/styles/material-dark.scss +0 -1
  97. package/styles/material-lite.css +0 -1
  98. package/styles/material-lite.scss +0 -1
  99. package/styles/material.css +0 -1
  100. package/styles/material.scss +0 -1
  101. package/styles/material3-dark-lite.css +0 -1
  102. package/styles/material3-dark-lite.scss +0 -1
  103. package/styles/material3-dark.css +0 -1
  104. package/styles/material3-dark.scss +0 -1
  105. package/styles/material3-lite.css +0 -1
  106. package/styles/material3-lite.scss +0 -1
  107. package/styles/material3.css +0 -1
  108. package/styles/material3.scss +0 -1
  109. package/styles/ribbon/bds.css +0 -1
  110. package/styles/ribbon/bds.scss +0 -1
  111. package/styles/ribbon/bootstrap-dark.css +0 -1
  112. package/styles/ribbon/bootstrap-dark.scss +0 -1
  113. package/styles/ribbon/bootstrap.css +0 -1
  114. package/styles/ribbon/bootstrap.scss +0 -1
  115. package/styles/ribbon/bootstrap4.css +0 -1
  116. package/styles/ribbon/bootstrap4.scss +0 -1
  117. package/styles/ribbon/bootstrap5-dark.css +0 -1
  118. package/styles/ribbon/bootstrap5-dark.scss +0 -1
  119. package/styles/ribbon/bootstrap5.3.css +0 -1
  120. package/styles/ribbon/bootstrap5.3.scss +0 -1
  121. package/styles/ribbon/bootstrap5.css +0 -1
  122. package/styles/ribbon/bootstrap5.scss +0 -1
  123. package/styles/ribbon/fabric-dark.css +0 -1
  124. package/styles/ribbon/fabric-dark.scss +0 -1
  125. package/styles/ribbon/fabric.css +0 -1
  126. package/styles/ribbon/fabric.scss +0 -1
  127. package/styles/ribbon/fluent-dark.css +0 -1
  128. package/styles/ribbon/fluent-dark.scss +0 -1
  129. package/styles/ribbon/fluent.css +0 -1
  130. package/styles/ribbon/fluent.scss +0 -1
  131. package/styles/ribbon/fluent2.css +0 -1
  132. package/styles/ribbon/fluent2.scss +0 -1
  133. package/styles/ribbon/highcontrast-light.css +0 -1
  134. package/styles/ribbon/highcontrast-light.scss +0 -1
  135. package/styles/ribbon/highcontrast.css +0 -1
  136. package/styles/ribbon/highcontrast.scss +0 -1
  137. package/styles/ribbon/material-dark.css +0 -1
  138. package/styles/ribbon/material-dark.scss +0 -1
  139. package/styles/ribbon/material.css +0 -1
  140. package/styles/ribbon/material.scss +0 -1
  141. package/styles/ribbon/material3-dark.css +0 -1
  142. package/styles/ribbon/material3-dark.scss +0 -1
  143. package/styles/ribbon/material3.css +0 -1
  144. package/styles/ribbon/material3.scss +0 -1
  145. package/styles/ribbon/tailwind-dark.css +0 -1
  146. package/styles/ribbon/tailwind-dark.scss +0 -1
  147. package/styles/ribbon/tailwind.css +0 -1
  148. package/styles/ribbon/tailwind.scss +0 -1
  149. package/styles/ribbon/tailwind3.css +0 -1
  150. package/styles/ribbon/tailwind3.scss +0 -1
  151. package/styles/tailwind-dark-lite.css +0 -1
  152. package/styles/tailwind-dark-lite.scss +0 -1
  153. package/styles/tailwind-dark.css +0 -1
  154. package/styles/tailwind-dark.scss +0 -1
  155. package/styles/tailwind-lite.css +0 -1
  156. package/styles/tailwind-lite.scss +0 -1
  157. package/styles/tailwind.css +0 -1
  158. package/styles/tailwind.scss +0 -1
  159. package/styles/tailwind3-lite.css +0 -1
  160. package/styles/tailwind3-lite.scss +0 -1
  161. package/styles/tailwind3.css +0 -1
  162. package/styles/tailwind3.scss +0 -1
@@ -1,571 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
2
- import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
3
- import { Ribbon, RibbonBackstage, RibbonButton, RibbonCheckBox, RibbonColorPicker, RibbonComboBox, RibbonContextualTab, RibbonDropDown, RibbonFileMenu, RibbonGallery, RibbonGroupButton, RibbonKeyTip, RibbonSplitButton } from '@syncfusion/ej2-ribbon';
4
- import { CommonModule } from '@angular/common';
5
-
6
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
- return c > 3 && r && Object.defineProperty(target, key, r), r;
11
- };
12
- var __metadata = (this && this.__metadata) || function (k, v) {
13
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
14
- };
15
- let input = ['activeSize', 'allowedSizes', 'buttonSettings', 'checkBoxSettings', 'colorPickerSettings', 'comboBoxSettings', 'cssClass', 'disabled', 'displayOptions', 'dropDownSettings', 'gallerySettings', 'groupButtonSettings', 'id', 'itemTemplate', 'keyTip', 'ribbonTooltipSettings', 'splitButtonSettings', 'type'];
16
- let outputs = [];
17
- class RibbonItemDirective extends ComplexBase {
18
- /**
19
- * @param {?} viewContainerRef
20
- */
21
- constructor(viewContainerRef) {
22
- super();
23
- this.viewContainerRef = viewContainerRef;
24
- setValue('currentInstance', this, this.viewContainerRef);
25
- this.registerEvents(outputs);
26
- this.directivePropList = input;
27
- }
28
- }
29
- RibbonItemDirective.decorators = [
30
- { type: Directive, args: [{
31
- selector: 'e-ribbon-item',
32
- inputs: input,
33
- outputs: outputs,
34
- queries: {}
35
- },] },
36
- ];
37
- /**
38
- * @nocollapse
39
- */
40
- RibbonItemDirective.ctorParameters = () => [
41
- { type: ViewContainerRef, },
42
- ];
43
- RibbonItemDirective.propDecorators = {
44
- 'itemTemplate': [{ type: ContentChild, args: ['itemTemplate',] },],
45
- };
46
- __decorate([
47
- Template(),
48
- __metadata("design:type", Object)
49
- ], RibbonItemDirective.prototype, "itemTemplate", void 0);
50
- /**
51
- * RibbonItem Array Directive
52
- */
53
- class RibbonItemsDirective extends ArrayBase {
54
- constructor() {
55
- super('items');
56
- }
57
- }
58
- RibbonItemsDirective.decorators = [
59
- { type: Directive, args: [{
60
- selector: 'e-ribbon-items',
61
- queries: {
62
- children: new ContentChildren(RibbonItemDirective)
63
- },
64
- },] },
65
- ];
66
- /**
67
- * @nocollapse
68
- */
69
- RibbonItemsDirective.ctorParameters = () => [];
70
-
71
- let input$1 = ['cssClass', 'id', 'items'];
72
- let outputs$1 = [];
73
- class RibbonCollectionDirective extends ComplexBase {
74
- /**
75
- * @param {?} viewContainerRef
76
- */
77
- constructor(viewContainerRef) {
78
- super();
79
- this.viewContainerRef = viewContainerRef;
80
- this.tags = ['items'];
81
- setValue('currentInstance', this, this.viewContainerRef);
82
- this.registerEvents(outputs$1);
83
- this.directivePropList = input$1;
84
- }
85
- }
86
- RibbonCollectionDirective.decorators = [
87
- { type: Directive, args: [{
88
- selector: 'e-ribbon-collection',
89
- inputs: input$1,
90
- outputs: outputs$1,
91
- queries: {
92
- childItems: new ContentChild(RibbonItemsDirective)
93
- }
94
- },] },
95
- ];
96
- /**
97
- * @nocollapse
98
- */
99
- RibbonCollectionDirective.ctorParameters = () => [
100
- { type: ViewContainerRef, },
101
- ];
102
- /**
103
- * RibbonCollection Array Directive
104
- */
105
- class RibbonCollectionsDirective extends ArrayBase {
106
- constructor() {
107
- super('collections');
108
- }
109
- }
110
- RibbonCollectionsDirective.decorators = [
111
- { type: Directive, args: [{
112
- selector: 'e-ribbon-collections',
113
- queries: {
114
- children: new ContentChildren(RibbonCollectionDirective)
115
- },
116
- },] },
117
- ];
118
- /**
119
- * @nocollapse
120
- */
121
- RibbonCollectionsDirective.ctorParameters = () => [];
122
-
123
- let input$2 = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'keyTip', 'launcherIconKeyTip', 'orientation', 'overflowHeader', 'priority', 'showLauncherIcon'];
124
- let outputs$2 = [];
125
- class RibbonGroupDirective extends ComplexBase {
126
- /**
127
- * @param {?} viewContainerRef
128
- */
129
- constructor(viewContainerRef) {
130
- super();
131
- this.viewContainerRef = viewContainerRef;
132
- this.tags = ['collections'];
133
- setValue('currentInstance', this, this.viewContainerRef);
134
- this.registerEvents(outputs$2);
135
- this.directivePropList = input$2;
136
- }
137
- }
138
- RibbonGroupDirective.decorators = [
139
- { type: Directive, args: [{
140
- selector: 'e-ribbon-group',
141
- inputs: input$2,
142
- outputs: outputs$2,
143
- queries: {
144
- childCollections: new ContentChild(RibbonCollectionsDirective)
145
- }
146
- },] },
147
- ];
148
- /**
149
- * @nocollapse
150
- */
151
- RibbonGroupDirective.ctorParameters = () => [
152
- { type: ViewContainerRef, },
153
- ];
154
- /**
155
- * RibbonGroup Array Directive
156
- */
157
- class RibbonGroupsDirective extends ArrayBase {
158
- constructor() {
159
- super('groups');
160
- }
161
- }
162
- RibbonGroupsDirective.decorators = [
163
- { type: Directive, args: [{
164
- selector: 'e-ribbon-groups',
165
- queries: {
166
- children: new ContentChildren(RibbonGroupDirective)
167
- },
168
- },] },
169
- ];
170
- /**
171
- * @nocollapse
172
- */
173
- RibbonGroupsDirective.ctorParameters = () => [];
174
-
175
- let input$3 = ['cssClass', 'groups', 'header', 'id', 'keyTip'];
176
- let outputs$3 = [];
177
- class RibbonTabDirective extends ComplexBase {
178
- /**
179
- * @param {?} viewContainerRef
180
- */
181
- constructor(viewContainerRef) {
182
- super();
183
- this.viewContainerRef = viewContainerRef;
184
- this.tags = ['groups'];
185
- setValue('currentInstance', this, this.viewContainerRef);
186
- this.registerEvents(outputs$3);
187
- this.directivePropList = input$3;
188
- }
189
- }
190
- RibbonTabDirective.decorators = [
191
- { type: Directive, args: [{
192
- selector: 'e-ribbon-tab',
193
- inputs: input$3,
194
- outputs: outputs$3,
195
- queries: {
196
- childGroups: new ContentChild(RibbonGroupsDirective)
197
- }
198
- },] },
199
- ];
200
- /**
201
- * @nocollapse
202
- */
203
- RibbonTabDirective.ctorParameters = () => [
204
- { type: ViewContainerRef, },
205
- ];
206
- /**
207
- * RibbonTab Array Directive
208
- */
209
- class RibbonTabsDirective extends ArrayBase {
210
- constructor() {
211
- super('tabs');
212
- }
213
- }
214
- RibbonTabsDirective.decorators = [
215
- { type: Directive, args: [{
216
- selector: 'e-ribbon-tabs',
217
- queries: {
218
- children: new ContentChildren(RibbonTabDirective)
219
- },
220
- },] },
221
- ];
222
- /**
223
- * @nocollapse
224
- */
225
- RibbonTabsDirective.ctorParameters = () => [];
226
-
227
- let input$4 = ['isSelected', 'tabs', 'visible'];
228
- let outputs$4 = [];
229
- /**
230
- * `e-ribbon-contextual-tab` directive represent a contextual tab of the Angular Ribbon.
231
- * It must be contained in a Ribbon component(`ejs-ribbon`).
232
- * ```html
233
- * <ejs-ribbon>
234
- * <e-ribbon-contextual-tabs>
235
- * <e-ribbon-contextual-tab>
236
- * </e-ribbon-contextual-tab>
237
- * </e-ribbon-contextual-tabs>
238
- * </ejs-ribbon>
239
- * ```
240
- */
241
- class RibbonContextualTabDirective extends ComplexBase {
242
- /**
243
- * @param {?} viewContainerRef
244
- */
245
- constructor(viewContainerRef) {
246
- super();
247
- this.viewContainerRef = viewContainerRef;
248
- this.tags = ['tabs'];
249
- setValue('currentInstance', this, this.viewContainerRef);
250
- this.registerEvents(outputs$4);
251
- this.directivePropList = input$4;
252
- }
253
- }
254
- RibbonContextualTabDirective.decorators = [
255
- { type: Directive, args: [{
256
- selector: 'e-ribbon-contextual-tab',
257
- inputs: input$4,
258
- outputs: outputs$4,
259
- queries: {
260
- childTabs: new ContentChild(RibbonTabsDirective)
261
- }
262
- },] },
263
- ];
264
- /**
265
- * @nocollapse
266
- */
267
- RibbonContextualTabDirective.ctorParameters = () => [
268
- { type: ViewContainerRef, },
269
- ];
270
- /**
271
- * RibbonContextualTab Array Directive
272
- */
273
- class RibbonContextualTabsDirective extends ArrayBase {
274
- constructor() {
275
- super('contextualtabs');
276
- }
277
- }
278
- RibbonContextualTabsDirective.decorators = [
279
- { type: Directive, args: [{
280
- selector: 'e-ribbon-contextual-tabs',
281
- queries: {
282
- children: new ContentChildren(RibbonContextualTabDirective)
283
- },
284
- },] },
285
- ];
286
- /**
287
- * @nocollapse
288
- */
289
- RibbonContextualTabsDirective.ctorParameters = () => [];
290
-
291
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
292
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
293
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
294
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
295
- return c > 3 && r && Object.defineProperty(target, key, r), r;
296
- };
297
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
298
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
299
- };
300
- const inputs = ['activeLayout', 'backStageMenu', 'contextualTabs', 'cssClass', 'enableKeyTips', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'hideLayoutSwitcher', 'isMinimized', 'launcherIconCss', 'layoutSwitcherKeyTip', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width'];
301
- const outputs$5 = ['created', 'launcherIconClick', 'overflowPopupClose', 'overflowPopupOpen', 'ribbonCollapsing', 'ribbonExpanding', 'ribbonLayoutSwitched', 'tabSelected', 'tabSelecting'];
302
- const twoWays = [''];
303
- /**
304
- * Represents the Essential JS 2 Angular Ribbon Component.
305
- * ```html
306
- * <ejs-ribbon></ejs-ribbon>
307
- * ```
308
- */
309
- let RibbonComponent = class RibbonComponent extends Ribbon {
310
- /**
311
- * @param {?} ngEle
312
- * @param {?} srenderer
313
- * @param {?} viewContainerRef
314
- * @param {?} injector
315
- */
316
- constructor(ngEle, srenderer, viewContainerRef, injector) {
317
- super();
318
- this.ngEle = ngEle;
319
- this.srenderer = srenderer;
320
- this.viewContainerRef = viewContainerRef;
321
- this.injector = injector;
322
- this.tags = ['tabs', 'contextualTabs'];
323
- this.element = this.ngEle.nativeElement;
324
- this.injectedModules = this.injectedModules || [];
325
- try {
326
- let mod = this.injector.get('RibbonRibbonButton');
327
- if (this.injectedModules.indexOf(mod) === -1) {
328
- this.injectedModules.push(mod);
329
- }
330
- }
331
- catch (_a) { }
332
- try {
333
- let mod = this.injector.get('RibbonRibbonDropDown');
334
- if (this.injectedModules.indexOf(mod) === -1) {
335
- this.injectedModules.push(mod);
336
- }
337
- }
338
- catch (_b) { }
339
- try {
340
- let mod = this.injector.get('RibbonRibbonSplitButton');
341
- if (this.injectedModules.indexOf(mod) === -1) {
342
- this.injectedModules.push(mod);
343
- }
344
- }
345
- catch (_c) { }
346
- try {
347
- let mod = this.injector.get('RibbonRibbonCheckBox');
348
- if (this.injectedModules.indexOf(mod) === -1) {
349
- this.injectedModules.push(mod);
350
- }
351
- }
352
- catch (_d) { }
353
- try {
354
- let mod = this.injector.get('RibbonRibbonColorPicker');
355
- if (this.injectedModules.indexOf(mod) === -1) {
356
- this.injectedModules.push(mod);
357
- }
358
- }
359
- catch (_e) { }
360
- try {
361
- let mod = this.injector.get('RibbonRibbonComboBox');
362
- if (this.injectedModules.indexOf(mod) === -1) {
363
- this.injectedModules.push(mod);
364
- }
365
- }
366
- catch (_f) { }
367
- try {
368
- let mod = this.injector.get('RibbonRibbonGroupButton');
369
- if (this.injectedModules.indexOf(mod) === -1) {
370
- this.injectedModules.push(mod);
371
- }
372
- }
373
- catch (_g) { }
374
- try {
375
- let mod = this.injector.get('RibbonRibbonFileMenu');
376
- if (this.injectedModules.indexOf(mod) === -1) {
377
- this.injectedModules.push(mod);
378
- }
379
- }
380
- catch (_h) { }
381
- try {
382
- let mod = this.injector.get('RibbonRibbonBackstage');
383
- if (this.injectedModules.indexOf(mod) === -1) {
384
- this.injectedModules.push(mod);
385
- }
386
- }
387
- catch (_j) { }
388
- try {
389
- let mod = this.injector.get('RibbonRibbonKeyTip');
390
- if (this.injectedModules.indexOf(mod) === -1) {
391
- this.injectedModules.push(mod);
392
- }
393
- }
394
- catch (_k) { }
395
- try {
396
- let mod = this.injector.get('RibbonRibbonContextualTab');
397
- if (this.injectedModules.indexOf(mod) === -1) {
398
- this.injectedModules.push(mod);
399
- }
400
- }
401
- catch (_l) { }
402
- try {
403
- let mod = this.injector.get('RibbonRibbonGallery');
404
- if (this.injectedModules.indexOf(mod) === -1) {
405
- this.injectedModules.push(mod);
406
- }
407
- }
408
- catch (_m) { }
409
- this.registerEvents(outputs$5);
410
- this.addTwoWay.call(this, twoWays);
411
- setValue('currentInstance', this, this.viewContainerRef);
412
- this.containerContext = new ComponentBase();
413
- }
414
- /**
415
- * @return {?}
416
- */
417
- ngOnInit() {
418
- this.containerContext.ngOnInit(this);
419
- }
420
- /**
421
- * @return {?}
422
- */
423
- ngAfterViewInit() {
424
- this.containerContext.ngAfterViewInit(this);
425
- }
426
- /**
427
- * @return {?}
428
- */
429
- ngOnDestroy() {
430
- this.containerContext.ngOnDestroy(this);
431
- }
432
- /**
433
- * @return {?}
434
- */
435
- ngAfterContentChecked() {
436
- this.tagObjects[0].instance = this.childTabs;
437
- if (this.childContextualTabs) {
438
- this.tagObjects[1].instance = /** @type {?} */ (this.childContextualTabs);
439
- }
440
- this.containerContext.ngAfterContentChecked(this);
441
- }
442
- };
443
- RibbonComponent.decorators = [
444
- { type: Component, args: [{
445
- selector: 'ejs-ribbon',
446
- inputs: inputs,
447
- outputs: outputs$5,
448
- template: `<ng-content select='div'></ng-content>`,
449
- changeDetection: ChangeDetectionStrategy.OnPush,
450
- queries: {
451
- childTabs: new ContentChild(RibbonTabsDirective),
452
- childContextualTabs: new ContentChild(RibbonContextualTabsDirective)
453
- }
454
- },] },
455
- ];
456
- /**
457
- * @nocollapse
458
- */
459
- RibbonComponent.ctorParameters = () => [
460
- { type: ElementRef, },
461
- { type: Renderer2, },
462
- { type: ViewContainerRef, },
463
- { type: Injector, },
464
- ];
465
- RibbonComponent.propDecorators = {
466
- 'helpPaneTemplate': [{ type: ContentChild, args: ['helpPaneTemplate',] },],
467
- };
468
- __decorate$1([
469
- Template(),
470
- __metadata$1("design:type", Object)
471
- ], RibbonComponent.prototype, "helpPaneTemplate", void 0);
472
- RibbonComponent = __decorate$1([
473
- ComponentMixins([ComponentBase]),
474
- __metadata$1("design:paramtypes", [ElementRef,
475
- Renderer2,
476
- ViewContainerRef,
477
- Injector])
478
- ], RibbonComponent);
479
-
480
- /**
481
- * NgModule definition for the Ribbon component.
482
- */
483
- class RibbonModule {
484
- }
485
- RibbonModule.decorators = [
486
- { type: NgModule, args: [{
487
- imports: [CommonModule],
488
- declarations: [
489
- RibbonComponent,
490
- RibbonItemDirective,
491
- RibbonItemsDirective,
492
- RibbonCollectionDirective,
493
- RibbonCollectionsDirective,
494
- RibbonGroupDirective,
495
- RibbonGroupsDirective,
496
- RibbonTabDirective,
497
- RibbonTabsDirective,
498
- RibbonContextualTabDirective,
499
- RibbonContextualTabsDirective
500
- ],
501
- exports: [
502
- RibbonComponent,
503
- RibbonItemDirective,
504
- RibbonItemsDirective,
505
- RibbonCollectionDirective,
506
- RibbonCollectionsDirective,
507
- RibbonGroupDirective,
508
- RibbonGroupsDirective,
509
- RibbonTabDirective,
510
- RibbonTabsDirective,
511
- RibbonContextualTabDirective,
512
- RibbonContextualTabsDirective
513
- ]
514
- },] },
515
- ];
516
- /**
517
- * @nocollapse
518
- */
519
- RibbonModule.ctorParameters = () => [];
520
-
521
- const RibbonButtonService = { provide: 'RibbonRibbonButton', useValue: RibbonButton };
522
- const RibbonDropDownService = { provide: 'RibbonRibbonDropDown', useValue: RibbonDropDown };
523
- const RibbonSplitButtonService = { provide: 'RibbonRibbonSplitButton', useValue: RibbonSplitButton };
524
- const RibbonCheckBoxService = { provide: 'RibbonRibbonCheckBox', useValue: RibbonCheckBox };
525
- const RibbonColorPickerService = { provide: 'RibbonRibbonColorPicker', useValue: RibbonColorPicker };
526
- const RibbonComboBoxService = { provide: 'RibbonRibbonComboBox', useValue: RibbonComboBox };
527
- const RibbonGroupButtonService = { provide: 'RibbonRibbonGroupButton', useValue: RibbonGroupButton };
528
- const RibbonFileMenuService = { provide: 'RibbonRibbonFileMenu', useValue: RibbonFileMenu };
529
- const RibbonBackstageService = { provide: 'RibbonRibbonBackstage', useValue: RibbonBackstage };
530
- const RibbonKeyTipService = { provide: 'RibbonRibbonKeyTip', useValue: RibbonKeyTip };
531
- const RibbonContextualTabService = { provide: 'RibbonRibbonContextualTab', useValue: RibbonContextualTab };
532
- const RibbonGalleryService = { provide: 'RibbonRibbonGallery', useValue: RibbonGallery };
533
- /**
534
- * NgModule definition for the Ribbon component with providers.
535
- */
536
- class RibbonAllModule {
537
- }
538
- RibbonAllModule.decorators = [
539
- { type: NgModule, args: [{
540
- imports: [CommonModule, RibbonModule],
541
- exports: [
542
- RibbonModule
543
- ],
544
- providers: [
545
- RibbonButtonService,
546
- RibbonDropDownService,
547
- RibbonSplitButtonService,
548
- RibbonCheckBoxService,
549
- RibbonColorPickerService,
550
- RibbonComboBoxService,
551
- RibbonGroupButtonService,
552
- RibbonFileMenuService,
553
- RibbonBackstageService,
554
- RibbonKeyTipService,
555
- RibbonContextualTabService,
556
- RibbonGalleryService
557
- ]
558
- },] },
559
- ];
560
- /**
561
- * @nocollapse
562
- */
563
- RibbonAllModule.ctorParameters = () => [];
564
-
565
- /**
566
- * Generated bundle index. Do not edit.
567
- */
568
-
569
- export { RibbonItemDirective, RibbonItemsDirective, RibbonCollectionDirective, RibbonCollectionsDirective, RibbonGroupDirective, RibbonGroupsDirective, RibbonTabDirective, RibbonTabsDirective, RibbonContextualTabDirective, RibbonContextualTabsDirective, RibbonComponent, RibbonModule, RibbonAllModule, RibbonButtonService, RibbonDropDownService, RibbonSplitButtonService, RibbonCheckBoxService, RibbonColorPickerService, RibbonComboBoxService, RibbonGroupButtonService, RibbonFileMenuService, RibbonBackstageService, RibbonKeyTipService, RibbonContextualTabService, RibbonGalleryService, inputs as ɵa, outputs$5 as ɵb };
570
- export { Ribbon, RibbonLayout, ItemOrientation, RibbonItemSize, DisplayMode, RibbonItemType, RibbonGroupButtonSelection, ITEM_VERTICAL_CENTER, EXPAND_COLLAPSE_ICON, BACKSTAGE_CLOSE_ICON, OVERFLOW_ICON, VERTICAL_DDB, DISABLED_CSS, RTL_CSS, RIBBON_HOVER, RIBBON_CONTROL, RIBBON_POPUP_CONTROL, RIBBON_POPUP_OPEN, RIBBON_KEYTIP, SPACE, HORIZONTAL_SCROLLBAR, HIDE_CSS, RIBBON_TAB, RIBBON_CONTEXTUAL_TAB, RIBBON_TAB_ACTIVE, RIBBON_TAB_ITEM, RIBBON_COLLAPSE_BUTTON, RIBBON_EXPAND_BUTTON, RIBBON_COLLAPSIBLE, RIBBON_OVERALL_OF_BUTTON, RIBBON_GROUP_OF_BUTTON, RIBBON_OVERFLOW_TARGET, RIBBON_OVERFLOW, TAB_CONTENT, RIBBON_MINIMIZE, RIBBON_GROUP, RIBBON_SINGLE_BUTTON_SELECTION, RIBBON_MULTIPLE_BUTTON_SELECTION, RIBBON_GROUP_BUTTON, RIBBON_GROUP_BUTTON_OVERFLOW_POPUP, RIBBON_GROUP_BUTTON_CONTENT, RIBBON_GROUP_CONTAINER, RIBBON_OF_TAB_CONTAINER, RIBBON_OF_GROUP_CONTAINER, RIBBON_GROUP_CONTENT, RIBBON_GROUP_HEADER, RIBBON_OVERFLOW_HEADER, RIBBON_GROUP_OVERFLOW, RIBBON_GROUP_OVERFLOW_DDB, RIBBON_LAUNCHER, RIBBON_LAUNCHER_ICON_ELE, RIBBON_LAUNCHER_ICON, RIBBON_COLLECTION, RIBBON_ITEM, RIBBON_ROW, RIBBON_COLUMN, RIBBON_LARGE_ITEM, RIBBON_MEDIUM_ITEM, RIBBON_SMALL_ITEM, RIBBON_CONTENT_HEIGHT, DROPDOWNBUTTON, DROPDOWNBUTTON_HIDE, RIBBON_TEMPLATE, RIBBON_HELP_TEMPLATE, RIBBON_TOOLTIP, RIBBON_TOOLTIP_TARGET, RIBBON_TOOLTIP_TITLE, RIBBON_TOOLTIP_CONTENT, RIBBON_TOOLTIP_ICON, RIBBON_TOOLTIP_CONTAINER, RIBBON_TEXT_CONTAINER, RIBBON_SIMPLIFIED_MODE, RIBBON_BACKSTAGE_POPUP, RIBBON_BACKSTAGE_OPEN, RIBBON_BACKSTAGE_CONTENT, RIBBON_SELECTED_CONTENT, RIBBON_BACKSTAGE, RIBBON_BACKSTAGE_MENU, RIBBON_BACKSTAGE_TEMPLATE, RIBBON_BACKSTAGE_MENU_WRAPPER, RIBBON_BACKSTAGE_ITEMS_WRAPPER, RIBBON_BACKSTAGE_TEXT_MENU, TAB_ID, GROUP_ID, COLLECTION_ID, ITEM_ID, COLLAPSE_BUTTON_ID, OVRLOF_BUTTON_ID, GROUPOF_BUTTON_ID, HEADER_ID, LAUNCHER_ID, CONTENT_ID, CONTAINER_ID, OVERFLOW_ID, DROPDOWN_ID, RIBBON_FILE_MENU_ID, RIBBON_BACKSTAGE_MENU_ID, RIBBON_BACKSTAGE_POPUP_ID, RIBBON_FILE_MENU_LIST, RIBBON_MENU_LIST, RIBBON_FOOTER_MENU_LIST, RIBBON_HELP_PANE_TEMPLATE_ID, RIBBON_GROUP_BUTTON_ID, RIBBON_KEYTIP_ID, RIBBON_FILE_MENU_WIDTH, RIBBON_HELP_PANE_TEMPLATE_WIDTH, getIndex, getTemplateFunction, getItem, getCollection, getGroup, destroyControl, updateCommonProperty, updateControlDisabled, getItemElement, isTooltipPresent, setToolTipContent, createTooltip, destroyTooltip, updateTooltipProp, setCustomAttributes, RibbonTab, RibbonGroup, RibbonCollection, RibbonItem, RibbonButtonSettings, RibbonCheckBoxSettings, RibbonColorPickerSettings, RibbonComboBoxSettings, RibbonDropDownSettings, RibbonSplitButtonSettings, FileMenuSettings, BackStageMenu, BackstageBackButton, BackstageItem, RibbonTooltip, RibbonGroupButtonSettings, RibbonGroupButtonItem, RibbonContextualTabSettings, RibbonGalleryGroup, RibbonGalleryItem, RibbonGallerySettings, RibbonButton, RibbonCheckBox, RibbonColorPicker, RibbonComboBox, RibbonDropDown, RibbonSplitButton, RibbonGroupButton, RibbonGallery, RibbonFileMenu, RibbonBackstage, RibbonContextualTab, RibbonKeyTip } from '@syncfusion/ej2-ribbon';
571
- //# sourceMappingURL=ej2-angular-ribbon.js.map