@syncfusion/ej2-angular-ribbon 31.2.12-ngcc → 32.1.19-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/dist/ej2-angular-ribbon.umd.js +604 -613
- package/dist/ej2-angular-ribbon.umd.min.js +0 -9
- package/ej2-angular-ribbon.d.ts +5 -5
- package/{LICENSE → license} +10 -10
- package/package.json +46 -15
- 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
|
@@ -3,567 +3,567 @@ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setVa
|
|
|
3
3
|
import { Ribbon, RibbonBackstage, RibbonButton, RibbonCheckBox, RibbonColorPicker, RibbonComboBox, RibbonContextualTab, RibbonDropDown, RibbonFileMenu, RibbonGallery, RibbonGroupButton, RibbonKeyTip, RibbonSplitButton } from '@syncfusion/ej2-ribbon';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
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
|
-
*/
|
|
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
69
|
RibbonItemsDirective.ctorParameters = () => [];
|
|
70
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
|
-
*/
|
|
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
121
|
RibbonCollectionsDirective.ctorParameters = () => [];
|
|
122
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
|
-
*/
|
|
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
173
|
RibbonGroupsDirective.ctorParameters = () => [];
|
|
174
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
|
-
*/
|
|
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
225
|
RibbonTabsDirective.ctorParameters = () => [];
|
|
226
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
|
-
*/
|
|
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
289
|
RibbonContextualTabsDirective.ctorParameters = () => [];
|
|
290
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])
|
|
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
478
|
], RibbonComponent);
|
|
479
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
|
-
*/
|
|
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
519
|
RibbonModule.ctorParameters = () => [];
|
|
520
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
|
-
*/
|
|
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
563
|
RibbonAllModule.ctorParameters = () => [];
|
|
564
564
|
|
|
565
|
-
/**
|
|
566
|
-
* Generated bundle index. Do not edit.
|
|
565
|
+
/**
|
|
566
|
+
* Generated bundle index. Do not edit.
|
|
567
567
|
*/
|
|
568
568
|
|
|
569
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 };
|