@syncfusion/ej2-ribbon 25.2.5 → 26.1.35
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/.eslintrc.json +3 -2
- package/dist/ej2-ribbon.umd.min.js +2 -2
- package/dist/ej2-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-ribbon.es2015.js +821 -592
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +812 -577
- package/dist/es6/ej2-ribbon.es5.js.map +1 -1
- package/dist/global/ej2-ribbon.min.js +2 -2
- package/dist/global/ej2-ribbon.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -13
- package/src/ribbon/base/interface.d.ts +14 -0
- package/src/ribbon/base/ribbon-model.d.ts +1 -1
- package/src/ribbon/base/ribbon.d.ts +3 -1
- package/src/ribbon/base/ribbon.js +195 -94
- package/src/ribbon/items/ribbon-button.js +6 -1
- package/src/ribbon/items/ribbon-gallery.d.ts +15 -6
- package/src/ribbon/items/ribbon-gallery.js +164 -96
- package/src/ribbon/items/ribbon-groupbutton.d.ts +1 -0
- package/src/ribbon/items/ribbon-groupbutton.js +11 -3
- package/src/ribbon/models/ribbon-contextual-tab-settings-model.d.ts +1 -1
- package/src/ribbon/models/ribbon-gallery-group-model.d.ts +5 -5
- package/src/ribbon/models/ribbon-gallery-group.d.ts +2 -2
- package/src/ribbon/models/ribbon-gallery-group.js +2 -2
- package/src/ribbon/models/ribbon-gallery-item-model.d.ts +5 -5
- package/src/ribbon/models/ribbon-gallery-item.d.ts +1 -1
- package/src/ribbon/models/ribbon-gallery-item.js +1 -1
- package/src/ribbon/models/ribbon-gallery-settings-model.d.ts +1 -1
- package/src/ribbon/models/ribbon-gallery-settings.d.ts +3 -3
- package/src/ribbon/models/ribbon-gallery-settings.js +2 -2
- package/src/ribbon/modules/ribbon-backstage.d.ts +6 -3
- package/src/ribbon/modules/ribbon-backstage.js +65 -12
- package/src/ribbon/modules/ribbon-contextualtab.js +5 -2
- package/src/ribbon/modules/ribbon-keytip.d.ts +1 -0
- package/src/ribbon/modules/ribbon-keytip.js +58 -46
- package/styles/bootstrap-dark.css +452 -269
- package/styles/bootstrap-dark.scss +18 -1
- package/styles/bootstrap.css +456 -276
- package/styles/bootstrap.scss +18 -1
- package/styles/bootstrap4.css +455 -272
- package/styles/bootstrap4.scss +18 -1
- package/styles/bootstrap5-dark.css +470 -278
- package/styles/bootstrap5-dark.scss +18 -1
- package/styles/bootstrap5.css +470 -278
- package/styles/bootstrap5.scss +18 -1
- package/styles/fabric-dark.css +451 -269
- package/styles/fabric-dark.scss +18 -1
- package/styles/fabric.css +450 -272
- package/styles/fabric.scss +18 -1
- package/styles/fluent-dark.css +472 -277
- package/styles/fluent-dark.scss +18 -1
- package/styles/fluent.css +472 -277
- package/styles/fluent.scss +18 -1
- package/styles/fluent2.css +3868 -0
- package/styles/fluent2.scss +18 -0
- package/styles/highcontrast-light.css +445 -263
- package/styles/highcontrast-light.scss +17 -1
- package/styles/highcontrast.css +451 -273
- package/styles/highcontrast.scss +18 -1
- package/styles/material-dark.css +540 -283
- package/styles/material-dark.scss +18 -1
- package/styles/material.css +539 -289
- package/styles/material.scss +18 -1
- package/styles/material3-dark.css +496 -280
- package/styles/material3-dark.scss +18 -1
- package/styles/material3.css +496 -280
- package/styles/material3.scss +18 -1
- package/styles/ribbon/_bds-definition.scss +56 -20
- package/styles/ribbon/_bootstrap-dark-definition.scss +56 -20
- package/styles/ribbon/_bootstrap-definition.scss +57 -21
- package/styles/ribbon/_bootstrap4-definition.scss +57 -21
- package/styles/ribbon/_bootstrap5-definition.scss +57 -21
- package/styles/ribbon/_bootstrap5.3-definition.scss +396 -0
- package/styles/ribbon/_fabric-dark-definition.scss +55 -19
- package/styles/ribbon/_fabric-definition.scss +56 -20
- package/styles/ribbon/_fluent-definition.scss +59 -23
- package/styles/ribbon/_fluent2-definition.scss +396 -0
- package/styles/ribbon/_fusionnew-definition.scss +50 -14
- package/styles/ribbon/_highcontrast-definition.scss +58 -22
- package/styles/ribbon/_highcontrast-light-definition.scss +49 -13
- package/styles/ribbon/_layout.scss +359 -399
- package/styles/ribbon/_material-dark-definition.scss +56 -20
- package/styles/ribbon/_material-definition.scss +56 -20
- package/styles/ribbon/_material3-definition.scss +56 -19
- package/styles/ribbon/_tailwind-definition.scss +56 -20
- package/styles/ribbon/_theme.scss +118 -170
- package/styles/ribbon/bootstrap-dark.css +452 -269
- package/styles/ribbon/bootstrap.css +456 -276
- package/styles/ribbon/bootstrap4.css +455 -272
- package/styles/ribbon/bootstrap5-dark.css +470 -278
- package/styles/ribbon/bootstrap5.css +470 -278
- package/styles/ribbon/fabric-dark.css +451 -269
- package/styles/ribbon/fabric.css +450 -272
- package/styles/ribbon/fluent-dark.css +472 -277
- package/styles/ribbon/fluent.css +472 -277
- package/styles/ribbon/fluent2.css +3868 -0
- package/styles/ribbon/fluent2.scss +18 -0
- package/styles/ribbon/highcontrast-light.css +445 -263
- package/styles/ribbon/highcontrast.css +451 -273
- package/styles/ribbon/icons/_bootstrap5.3.scss +9 -0
- package/styles/ribbon/icons/_fluent2.scss +9 -0
- package/styles/ribbon/material-dark.css +540 -283
- package/styles/ribbon/material.css +539 -289
- package/styles/ribbon/material3-dark.css +496 -280
- package/styles/ribbon/material3.css +496 -280
- package/styles/ribbon/tailwind-dark.css +506 -280
- package/styles/ribbon/tailwind.css +506 -280
- package/styles/tailwind-dark.css +506 -280
- package/styles/tailwind-dark.scss +18 -1
- package/styles/tailwind.css +506 -280
- package/styles/tailwind.scss +18 -1
- package/CHANGELOG.md +0 -101
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Property, Event, ChildProperty, Complex, Collection, getComponent, merge, EventHandler, isNullOrUndefined, closest, remove, select, compile, addClass, formatUnit, append, setValue, getUniqueID, KeyboardEvents, getInstance, isUndefined, removeClass, NotifyPropertyChanges, Component } from '@syncfusion/ej2-base';
|
|
2
|
+
import { MenuItem, MenuAnimationSettings, Tab, Toolbar, HScroll, TabAnimationSettings, Menu } from '@syncfusion/ej2-navigations';
|
|
3
|
+
import { FieldSettings, ComboBox } from '@syncfusion/ej2-dropdowns';
|
|
4
|
+
import { Item, DropDownButton, SplitButton } from '@syncfusion/ej2-splitbuttons';
|
|
5
5
|
import { Button, CheckBox } from '@syncfusion/ej2-buttons';
|
|
6
6
|
import { ColorPicker } from '@syncfusion/ej2-inputs';
|
|
7
|
-
import {
|
|
7
|
+
import { Tooltip, Popup } from '@syncfusion/ej2-popups';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Defines the layout types of ribbon.
|
|
@@ -135,7 +135,7 @@ var RibbonGroupButtonSelection;
|
|
|
135
135
|
RibbonGroupButtonSelection["Multiple"] = "Multiple";
|
|
136
136
|
})(RibbonGroupButtonSelection || (RibbonGroupButtonSelection = {}));
|
|
137
137
|
|
|
138
|
-
var __extends
|
|
138
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
139
139
|
var extendStatics = function (d, b) {
|
|
140
140
|
extendStatics = Object.setPrototypeOf ||
|
|
141
141
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -148,7 +148,7 @@ var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
|
148
148
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
149
149
|
};
|
|
150
150
|
})();
|
|
151
|
-
var __decorate
|
|
151
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
152
152
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
153
153
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
154
154
|
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;
|
|
@@ -158,7 +158,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
158
158
|
* Defines the ribbon button item.
|
|
159
159
|
*/
|
|
160
160
|
var RibbonButtonSettings = /** @__PURE__ @class */ (function (_super) {
|
|
161
|
-
__extends
|
|
161
|
+
__extends(RibbonButtonSettings, _super);
|
|
162
162
|
function RibbonButtonSettings() {
|
|
163
163
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
164
164
|
}
|
|
@@ -171,34 +171,34 @@ var RibbonButtonSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
171
171
|
RibbonButtonSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
172
172
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
173
173
|
};
|
|
174
|
-
__decorate
|
|
174
|
+
__decorate([
|
|
175
175
|
Property('')
|
|
176
176
|
], RibbonButtonSettings.prototype, "content", void 0);
|
|
177
|
-
__decorate
|
|
177
|
+
__decorate([
|
|
178
178
|
Property('')
|
|
179
179
|
], RibbonButtonSettings.prototype, "cssClass", void 0);
|
|
180
|
-
__decorate
|
|
180
|
+
__decorate([
|
|
181
181
|
Property('')
|
|
182
182
|
], RibbonButtonSettings.prototype, "iconCss", void 0);
|
|
183
|
-
__decorate
|
|
183
|
+
__decorate([
|
|
184
184
|
Property(false)
|
|
185
185
|
], RibbonButtonSettings.prototype, "isToggle", void 0);
|
|
186
|
-
__decorate
|
|
186
|
+
__decorate([
|
|
187
187
|
Property(false)
|
|
188
188
|
], RibbonButtonSettings.prototype, "isPrimary", void 0);
|
|
189
|
-
__decorate
|
|
189
|
+
__decorate([
|
|
190
190
|
Property({})
|
|
191
191
|
], RibbonButtonSettings.prototype, "htmlAttributes", void 0);
|
|
192
|
-
__decorate
|
|
192
|
+
__decorate([
|
|
193
193
|
Event()
|
|
194
194
|
], RibbonButtonSettings.prototype, "created", void 0);
|
|
195
|
-
__decorate
|
|
195
|
+
__decorate([
|
|
196
196
|
Event()
|
|
197
197
|
], RibbonButtonSettings.prototype, "clicked", void 0);
|
|
198
198
|
return RibbonButtonSettings;
|
|
199
199
|
}(ChildProperty));
|
|
200
200
|
|
|
201
|
-
var __extends$
|
|
201
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
202
202
|
var extendStatics = function (d, b) {
|
|
203
203
|
extendStatics = Object.setPrototypeOf ||
|
|
204
204
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -211,7 +211,7 @@ var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
|
211
211
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
212
212
|
};
|
|
213
213
|
})();
|
|
214
|
-
var __decorate$
|
|
214
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
215
215
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
216
216
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
217
217
|
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;
|
|
@@ -221,7 +221,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
221
221
|
* Defines the ribbon checkbox item.
|
|
222
222
|
*/
|
|
223
223
|
var RibbonCheckBoxSettings = /** @__PURE__ @class */ (function (_super) {
|
|
224
|
-
__extends$
|
|
224
|
+
__extends$1(RibbonCheckBoxSettings, _super);
|
|
225
225
|
function RibbonCheckBoxSettings() {
|
|
226
226
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
227
227
|
}
|
|
@@ -234,31 +234,31 @@ var RibbonCheckBoxSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
234
234
|
RibbonCheckBoxSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
235
235
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
236
236
|
};
|
|
237
|
-
__decorate$
|
|
237
|
+
__decorate$1([
|
|
238
238
|
Property(false)
|
|
239
239
|
], RibbonCheckBoxSettings.prototype, "checked", void 0);
|
|
240
|
-
__decorate$
|
|
240
|
+
__decorate$1([
|
|
241
241
|
Property('')
|
|
242
242
|
], RibbonCheckBoxSettings.prototype, "cssClass", void 0);
|
|
243
|
-
__decorate$
|
|
243
|
+
__decorate$1([
|
|
244
244
|
Property('')
|
|
245
245
|
], RibbonCheckBoxSettings.prototype, "label", void 0);
|
|
246
|
-
__decorate$
|
|
246
|
+
__decorate$1([
|
|
247
247
|
Property('After')
|
|
248
248
|
], RibbonCheckBoxSettings.prototype, "labelPosition", void 0);
|
|
249
|
-
__decorate$
|
|
249
|
+
__decorate$1([
|
|
250
250
|
Property({})
|
|
251
251
|
], RibbonCheckBoxSettings.prototype, "htmlAttributes", void 0);
|
|
252
|
-
__decorate$
|
|
252
|
+
__decorate$1([
|
|
253
253
|
Event()
|
|
254
254
|
], RibbonCheckBoxSettings.prototype, "created", void 0);
|
|
255
|
-
__decorate$
|
|
255
|
+
__decorate$1([
|
|
256
256
|
Event()
|
|
257
257
|
], RibbonCheckBoxSettings.prototype, "change", void 0);
|
|
258
258
|
return RibbonCheckBoxSettings;
|
|
259
259
|
}(ChildProperty));
|
|
260
260
|
|
|
261
|
-
var __extends$
|
|
261
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
262
262
|
var extendStatics = function (d, b) {
|
|
263
263
|
extendStatics = Object.setPrototypeOf ||
|
|
264
264
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -271,7 +271,7 @@ var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
|
271
271
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
272
272
|
};
|
|
273
273
|
})();
|
|
274
|
-
var __decorate$
|
|
274
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
275
275
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
276
276
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
277
277
|
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;
|
|
@@ -281,7 +281,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
281
281
|
* Defines the ribbon color picker.
|
|
282
282
|
*/
|
|
283
283
|
var RibbonColorPickerSettings = /** @__PURE__ @class */ (function (_super) {
|
|
284
|
-
__extends$
|
|
284
|
+
__extends$2(RibbonColorPickerSettings, _super);
|
|
285
285
|
function RibbonColorPickerSettings() {
|
|
286
286
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
287
287
|
}
|
|
@@ -294,64 +294,64 @@ var RibbonColorPickerSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
294
294
|
RibbonColorPickerSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
295
295
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
296
296
|
};
|
|
297
|
-
__decorate$
|
|
297
|
+
__decorate$2([
|
|
298
298
|
Property(10)
|
|
299
299
|
], RibbonColorPickerSettings.prototype, "columns", void 0);
|
|
300
|
-
__decorate$
|
|
300
|
+
__decorate$2([
|
|
301
301
|
Property('')
|
|
302
302
|
], RibbonColorPickerSettings.prototype, "cssClass", void 0);
|
|
303
|
-
__decorate$
|
|
303
|
+
__decorate$2([
|
|
304
304
|
Property('')
|
|
305
305
|
], RibbonColorPickerSettings.prototype, "label", void 0);
|
|
306
|
-
__decorate$
|
|
306
|
+
__decorate$2([
|
|
307
307
|
Property(true)
|
|
308
308
|
], RibbonColorPickerSettings.prototype, "enableOpacity", void 0);
|
|
309
|
-
__decorate$
|
|
309
|
+
__decorate$2([
|
|
310
310
|
Property('Palette')
|
|
311
311
|
], RibbonColorPickerSettings.prototype, "mode", void 0);
|
|
312
|
-
__decorate$
|
|
312
|
+
__decorate$2([
|
|
313
313
|
Property(true)
|
|
314
314
|
], RibbonColorPickerSettings.prototype, "modeSwitcher", void 0);
|
|
315
|
-
__decorate$
|
|
315
|
+
__decorate$2([
|
|
316
316
|
Property(false)
|
|
317
317
|
], RibbonColorPickerSettings.prototype, "noColor", void 0);
|
|
318
|
-
__decorate$
|
|
318
|
+
__decorate$2([
|
|
319
319
|
Property(null)
|
|
320
320
|
], RibbonColorPickerSettings.prototype, "presetColors", void 0);
|
|
321
|
-
__decorate$
|
|
321
|
+
__decorate$2([
|
|
322
322
|
Property(true)
|
|
323
323
|
], RibbonColorPickerSettings.prototype, "showButtons", void 0);
|
|
324
|
-
__decorate$
|
|
324
|
+
__decorate$2([
|
|
325
325
|
Property('#008000ff')
|
|
326
326
|
], RibbonColorPickerSettings.prototype, "value", void 0);
|
|
327
|
-
__decorate$
|
|
327
|
+
__decorate$2([
|
|
328
328
|
Property({})
|
|
329
329
|
], RibbonColorPickerSettings.prototype, "htmlAttributes", void 0);
|
|
330
|
-
__decorate$
|
|
330
|
+
__decorate$2([
|
|
331
331
|
Event()
|
|
332
332
|
], RibbonColorPickerSettings.prototype, "beforeClose", void 0);
|
|
333
|
-
__decorate$
|
|
333
|
+
__decorate$2([
|
|
334
334
|
Event()
|
|
335
335
|
], RibbonColorPickerSettings.prototype, "beforeOpen", void 0);
|
|
336
|
-
__decorate$
|
|
336
|
+
__decorate$2([
|
|
337
337
|
Event()
|
|
338
338
|
], RibbonColorPickerSettings.prototype, "beforeTileRender", void 0);
|
|
339
|
-
__decorate$
|
|
339
|
+
__decorate$2([
|
|
340
340
|
Event()
|
|
341
341
|
], RibbonColorPickerSettings.prototype, "created", void 0);
|
|
342
|
-
__decorate$
|
|
342
|
+
__decorate$2([
|
|
343
343
|
Event()
|
|
344
344
|
], RibbonColorPickerSettings.prototype, "change", void 0);
|
|
345
|
-
__decorate$
|
|
345
|
+
__decorate$2([
|
|
346
346
|
Event()
|
|
347
347
|
], RibbonColorPickerSettings.prototype, "open", void 0);
|
|
348
|
-
__decorate$
|
|
348
|
+
__decorate$2([
|
|
349
349
|
Event()
|
|
350
350
|
], RibbonColorPickerSettings.prototype, "select", void 0);
|
|
351
351
|
return RibbonColorPickerSettings;
|
|
352
352
|
}(ChildProperty));
|
|
353
353
|
|
|
354
|
-
var __extends$
|
|
354
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
355
355
|
var extendStatics = function (d, b) {
|
|
356
356
|
extendStatics = Object.setPrototypeOf ||
|
|
357
357
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -364,7 +364,7 @@ var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
|
364
364
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
365
365
|
};
|
|
366
366
|
})();
|
|
367
|
-
var __decorate$
|
|
367
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
368
368
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
369
369
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
370
370
|
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;
|
|
@@ -374,7 +374,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
374
374
|
* Defines the ribbon combobox item.
|
|
375
375
|
*/
|
|
376
376
|
var RibbonComboBoxSettings = /** @__PURE__ @class */ (function (_super) {
|
|
377
|
-
__extends$
|
|
377
|
+
__extends$3(RibbonComboBoxSettings, _super);
|
|
378
378
|
function RibbonComboBoxSettings() {
|
|
379
379
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
380
380
|
}
|
|
@@ -387,97 +387,97 @@ var RibbonComboBoxSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
387
387
|
RibbonComboBoxSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
388
388
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
389
389
|
};
|
|
390
|
-
__decorate$
|
|
390
|
+
__decorate$3([
|
|
391
391
|
Property(false)
|
|
392
392
|
], RibbonComboBoxSettings.prototype, "allowFiltering", void 0);
|
|
393
|
-
__decorate$
|
|
393
|
+
__decorate$3([
|
|
394
394
|
Property(true)
|
|
395
395
|
], RibbonComboBoxSettings.prototype, "autofill", void 0);
|
|
396
|
-
__decorate$
|
|
396
|
+
__decorate$3([
|
|
397
397
|
Property('')
|
|
398
398
|
], RibbonComboBoxSettings.prototype, "cssClass", void 0);
|
|
399
|
-
__decorate$
|
|
399
|
+
__decorate$3([
|
|
400
400
|
Property('')
|
|
401
401
|
], RibbonComboBoxSettings.prototype, "label", void 0);
|
|
402
|
-
__decorate$
|
|
402
|
+
__decorate$3([
|
|
403
403
|
Property([])
|
|
404
404
|
], RibbonComboBoxSettings.prototype, "dataSource", void 0);
|
|
405
|
-
__decorate$
|
|
405
|
+
__decorate$3([
|
|
406
406
|
Complex({ text: null, value: null, iconCss: null, groupBy: null }, FieldSettings)
|
|
407
407
|
], RibbonComboBoxSettings.prototype, "fields", void 0);
|
|
408
|
-
__decorate$
|
|
408
|
+
__decorate$3([
|
|
409
409
|
Property('Contains')
|
|
410
410
|
], RibbonComboBoxSettings.prototype, "filterType", void 0);
|
|
411
|
-
__decorate$
|
|
411
|
+
__decorate$3([
|
|
412
412
|
Property(null)
|
|
413
413
|
], RibbonComboBoxSettings.prototype, "footerTemplate", void 0);
|
|
414
|
-
__decorate$
|
|
414
|
+
__decorate$3([
|
|
415
415
|
Property(null)
|
|
416
416
|
], RibbonComboBoxSettings.prototype, "groupTemplate", void 0);
|
|
417
|
-
__decorate$
|
|
417
|
+
__decorate$3([
|
|
418
418
|
Property(null)
|
|
419
419
|
], RibbonComboBoxSettings.prototype, "headerTemplate", void 0);
|
|
420
|
-
__decorate$
|
|
420
|
+
__decorate$3([
|
|
421
421
|
Property(null)
|
|
422
422
|
], RibbonComboBoxSettings.prototype, "index", void 0);
|
|
423
|
-
__decorate$
|
|
423
|
+
__decorate$3([
|
|
424
424
|
Property(null)
|
|
425
425
|
], RibbonComboBoxSettings.prototype, "itemTemplate", void 0);
|
|
426
|
-
__decorate$
|
|
426
|
+
__decorate$3([
|
|
427
427
|
Property('No records found')
|
|
428
428
|
], RibbonComboBoxSettings.prototype, "noRecordsTemplate", void 0);
|
|
429
|
-
__decorate$
|
|
429
|
+
__decorate$3([
|
|
430
430
|
Property(null)
|
|
431
431
|
], RibbonComboBoxSettings.prototype, "placeholder", void 0);
|
|
432
|
-
__decorate$
|
|
432
|
+
__decorate$3([
|
|
433
433
|
Property('300px')
|
|
434
434
|
], RibbonComboBoxSettings.prototype, "popupHeight", void 0);
|
|
435
|
-
__decorate$
|
|
435
|
+
__decorate$3([
|
|
436
436
|
Property('100%')
|
|
437
437
|
], RibbonComboBoxSettings.prototype, "popupWidth", void 0);
|
|
438
|
-
__decorate$
|
|
438
|
+
__decorate$3([
|
|
439
439
|
Property(true)
|
|
440
440
|
], RibbonComboBoxSettings.prototype, "showClearButton", void 0);
|
|
441
|
-
__decorate$
|
|
441
|
+
__decorate$3([
|
|
442
442
|
Property('None')
|
|
443
443
|
], RibbonComboBoxSettings.prototype, "sortOrder", void 0);
|
|
444
|
-
__decorate$
|
|
444
|
+
__decorate$3([
|
|
445
445
|
Property(null)
|
|
446
446
|
], RibbonComboBoxSettings.prototype, "text", void 0);
|
|
447
|
-
__decorate$
|
|
447
|
+
__decorate$3([
|
|
448
448
|
Property(null)
|
|
449
449
|
], RibbonComboBoxSettings.prototype, "value", void 0);
|
|
450
|
-
__decorate$
|
|
450
|
+
__decorate$3([
|
|
451
451
|
Property('150px')
|
|
452
452
|
], RibbonComboBoxSettings.prototype, "width", void 0);
|
|
453
|
-
__decorate$
|
|
453
|
+
__decorate$3([
|
|
454
454
|
Property({})
|
|
455
455
|
], RibbonComboBoxSettings.prototype, "htmlAttributes", void 0);
|
|
456
|
-
__decorate$
|
|
456
|
+
__decorate$3([
|
|
457
457
|
Event()
|
|
458
458
|
], RibbonComboBoxSettings.prototype, "beforeOpen", void 0);
|
|
459
|
-
__decorate$
|
|
459
|
+
__decorate$3([
|
|
460
460
|
Event()
|
|
461
461
|
], RibbonComboBoxSettings.prototype, "change", void 0);
|
|
462
|
-
__decorate$
|
|
462
|
+
__decorate$3([
|
|
463
463
|
Event()
|
|
464
464
|
], RibbonComboBoxSettings.prototype, "close", void 0);
|
|
465
|
-
__decorate$
|
|
465
|
+
__decorate$3([
|
|
466
466
|
Event()
|
|
467
467
|
], RibbonComboBoxSettings.prototype, "created", void 0);
|
|
468
|
-
__decorate$
|
|
468
|
+
__decorate$3([
|
|
469
469
|
Event()
|
|
470
470
|
], RibbonComboBoxSettings.prototype, "filtering", void 0);
|
|
471
|
-
__decorate$
|
|
471
|
+
__decorate$3([
|
|
472
472
|
Event()
|
|
473
473
|
], RibbonComboBoxSettings.prototype, "open", void 0);
|
|
474
|
-
__decorate$
|
|
474
|
+
__decorate$3([
|
|
475
475
|
Event()
|
|
476
476
|
], RibbonComboBoxSettings.prototype, "select", void 0);
|
|
477
477
|
return RibbonComboBoxSettings;
|
|
478
478
|
}(ChildProperty));
|
|
479
479
|
|
|
480
|
-
var __extends$
|
|
480
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
481
481
|
var extendStatics = function (d, b) {
|
|
482
482
|
extendStatics = Object.setPrototypeOf ||
|
|
483
483
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -490,7 +490,7 @@ var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
|
490
490
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
491
491
|
};
|
|
492
492
|
})();
|
|
493
|
-
var __decorate$
|
|
493
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
494
494
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
495
495
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
496
496
|
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;
|
|
@@ -500,7 +500,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
500
500
|
* Defines the ribbon DropDownButton item.
|
|
501
501
|
*/
|
|
502
502
|
var RibbonDropDownSettings = /** @__PURE__ @class */ (function (_super) {
|
|
503
|
-
__extends$
|
|
503
|
+
__extends$4(RibbonDropDownSettings, _super);
|
|
504
504
|
function RibbonDropDownSettings() {
|
|
505
505
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
506
506
|
}
|
|
@@ -513,55 +513,55 @@ var RibbonDropDownSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
513
513
|
RibbonDropDownSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
514
514
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
515
515
|
};
|
|
516
|
-
__decorate$
|
|
516
|
+
__decorate$4([
|
|
517
517
|
Property('')
|
|
518
518
|
], RibbonDropDownSettings.prototype, "closeActionEvents", void 0);
|
|
519
|
-
__decorate$
|
|
519
|
+
__decorate$4([
|
|
520
520
|
Property('')
|
|
521
521
|
], RibbonDropDownSettings.prototype, "content", void 0);
|
|
522
|
-
__decorate$
|
|
522
|
+
__decorate$4([
|
|
523
523
|
Property('')
|
|
524
524
|
], RibbonDropDownSettings.prototype, "cssClass", void 0);
|
|
525
|
-
__decorate$
|
|
525
|
+
__decorate$4([
|
|
526
526
|
Property('')
|
|
527
527
|
], RibbonDropDownSettings.prototype, "iconCss", void 0);
|
|
528
|
-
__decorate$
|
|
528
|
+
__decorate$4([
|
|
529
529
|
Collection([], Item)
|
|
530
530
|
], RibbonDropDownSettings.prototype, "items", void 0);
|
|
531
|
-
__decorate$
|
|
531
|
+
__decorate$4([
|
|
532
532
|
Property('')
|
|
533
533
|
], RibbonDropDownSettings.prototype, "target", void 0);
|
|
534
|
-
__decorate$
|
|
534
|
+
__decorate$4([
|
|
535
535
|
Property(false)
|
|
536
536
|
], RibbonDropDownSettings.prototype, "createPopupOnClick", void 0);
|
|
537
|
-
__decorate$
|
|
537
|
+
__decorate$4([
|
|
538
538
|
Property({})
|
|
539
539
|
], RibbonDropDownSettings.prototype, "htmlAttributes", void 0);
|
|
540
|
-
__decorate$
|
|
540
|
+
__decorate$4([
|
|
541
541
|
Event()
|
|
542
542
|
], RibbonDropDownSettings.prototype, "beforeClose", void 0);
|
|
543
|
-
__decorate$
|
|
543
|
+
__decorate$4([
|
|
544
544
|
Event()
|
|
545
545
|
], RibbonDropDownSettings.prototype, "beforeItemRender", void 0);
|
|
546
|
-
__decorate$
|
|
546
|
+
__decorate$4([
|
|
547
547
|
Event()
|
|
548
548
|
], RibbonDropDownSettings.prototype, "beforeOpen", void 0);
|
|
549
|
-
__decorate$
|
|
549
|
+
__decorate$4([
|
|
550
550
|
Event()
|
|
551
551
|
], RibbonDropDownSettings.prototype, "close", void 0);
|
|
552
|
-
__decorate$
|
|
552
|
+
__decorate$4([
|
|
553
553
|
Event()
|
|
554
554
|
], RibbonDropDownSettings.prototype, "created", void 0);
|
|
555
|
-
__decorate$
|
|
555
|
+
__decorate$4([
|
|
556
556
|
Event()
|
|
557
557
|
], RibbonDropDownSettings.prototype, "open", void 0);
|
|
558
|
-
__decorate$
|
|
558
|
+
__decorate$4([
|
|
559
559
|
Event()
|
|
560
560
|
], RibbonDropDownSettings.prototype, "select", void 0);
|
|
561
561
|
return RibbonDropDownSettings;
|
|
562
562
|
}(ChildProperty));
|
|
563
563
|
|
|
564
|
-
var __extends$
|
|
564
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
565
565
|
var extendStatics = function (d, b) {
|
|
566
566
|
extendStatics = Object.setPrototypeOf ||
|
|
567
567
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -574,7 +574,7 @@ var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
|
574
574
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
575
575
|
};
|
|
576
576
|
})();
|
|
577
|
-
var __decorate$
|
|
577
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
578
578
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
579
579
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
580
580
|
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;
|
|
@@ -584,7 +584,7 @@ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
584
584
|
* Defines the ribbon SplitButton item.
|
|
585
585
|
*/
|
|
586
586
|
var RibbonSplitButtonSettings = /** @__PURE__ @class */ (function (_super) {
|
|
587
|
-
__extends$
|
|
587
|
+
__extends$5(RibbonSplitButtonSettings, _super);
|
|
588
588
|
function RibbonSplitButtonSettings() {
|
|
589
589
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
590
590
|
}
|
|
@@ -597,55 +597,55 @@ var RibbonSplitButtonSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
597
597
|
RibbonSplitButtonSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
598
598
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
599
599
|
};
|
|
600
|
-
__decorate$
|
|
600
|
+
__decorate$5([
|
|
601
601
|
Property('')
|
|
602
602
|
], RibbonSplitButtonSettings.prototype, "closeActionEvents", void 0);
|
|
603
|
-
__decorate$
|
|
603
|
+
__decorate$5([
|
|
604
604
|
Property('')
|
|
605
605
|
], RibbonSplitButtonSettings.prototype, "content", void 0);
|
|
606
|
-
__decorate$
|
|
606
|
+
__decorate$5([
|
|
607
607
|
Property('')
|
|
608
608
|
], RibbonSplitButtonSettings.prototype, "cssClass", void 0);
|
|
609
|
-
__decorate$
|
|
609
|
+
__decorate$5([
|
|
610
610
|
Property('')
|
|
611
611
|
], RibbonSplitButtonSettings.prototype, "iconCss", void 0);
|
|
612
|
-
__decorate$
|
|
612
|
+
__decorate$5([
|
|
613
613
|
Collection([], Item)
|
|
614
614
|
], RibbonSplitButtonSettings.prototype, "items", void 0);
|
|
615
|
-
__decorate$
|
|
615
|
+
__decorate$5([
|
|
616
616
|
Property('')
|
|
617
617
|
], RibbonSplitButtonSettings.prototype, "target", void 0);
|
|
618
|
-
__decorate$
|
|
618
|
+
__decorate$5([
|
|
619
619
|
Property({})
|
|
620
620
|
], RibbonSplitButtonSettings.prototype, "htmlAttributes", void 0);
|
|
621
|
-
__decorate$
|
|
621
|
+
__decorate$5([
|
|
622
622
|
Event()
|
|
623
623
|
], RibbonSplitButtonSettings.prototype, "beforeClose", void 0);
|
|
624
|
-
__decorate$
|
|
624
|
+
__decorate$5([
|
|
625
625
|
Event()
|
|
626
626
|
], RibbonSplitButtonSettings.prototype, "beforeItemRender", void 0);
|
|
627
|
-
__decorate$
|
|
627
|
+
__decorate$5([
|
|
628
628
|
Event()
|
|
629
629
|
], RibbonSplitButtonSettings.prototype, "beforeOpen", void 0);
|
|
630
|
-
__decorate$
|
|
630
|
+
__decorate$5([
|
|
631
631
|
Event()
|
|
632
632
|
], RibbonSplitButtonSettings.prototype, "close", void 0);
|
|
633
|
-
__decorate$
|
|
633
|
+
__decorate$5([
|
|
634
634
|
Event()
|
|
635
635
|
], RibbonSplitButtonSettings.prototype, "click", void 0);
|
|
636
|
-
__decorate$
|
|
636
|
+
__decorate$5([
|
|
637
637
|
Event()
|
|
638
638
|
], RibbonSplitButtonSettings.prototype, "created", void 0);
|
|
639
|
-
__decorate$
|
|
639
|
+
__decorate$5([
|
|
640
640
|
Event()
|
|
641
641
|
], RibbonSplitButtonSettings.prototype, "open", void 0);
|
|
642
|
-
__decorate$
|
|
642
|
+
__decorate$5([
|
|
643
643
|
Event()
|
|
644
644
|
], RibbonSplitButtonSettings.prototype, "select", void 0);
|
|
645
645
|
return RibbonSplitButtonSettings;
|
|
646
646
|
}(ChildProperty));
|
|
647
647
|
|
|
648
|
-
var __extends$
|
|
648
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
649
649
|
var extendStatics = function (d, b) {
|
|
650
650
|
extendStatics = Object.setPrototypeOf ||
|
|
651
651
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -658,7 +658,7 @@ var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
|
658
658
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
659
659
|
};
|
|
660
660
|
})();
|
|
661
|
-
var __decorate$
|
|
661
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
662
662
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
663
663
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
664
664
|
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;
|
|
@@ -668,29 +668,29 @@ var __decorate$11 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
668
668
|
* Defines the ribbon tooltip.
|
|
669
669
|
*/
|
|
670
670
|
var RibbonTooltip = /** @__PURE__ @class */ (function (_super) {
|
|
671
|
-
__extends$
|
|
671
|
+
__extends$6(RibbonTooltip, _super);
|
|
672
672
|
function RibbonTooltip() {
|
|
673
673
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
674
674
|
}
|
|
675
|
-
__decorate$
|
|
675
|
+
__decorate$6([
|
|
676
676
|
Property('')
|
|
677
677
|
], RibbonTooltip.prototype, "cssClass", void 0);
|
|
678
|
-
__decorate$
|
|
678
|
+
__decorate$6([
|
|
679
679
|
Property('')
|
|
680
680
|
], RibbonTooltip.prototype, "id", void 0);
|
|
681
|
-
__decorate$
|
|
681
|
+
__decorate$6([
|
|
682
682
|
Property('')
|
|
683
683
|
], RibbonTooltip.prototype, "title", void 0);
|
|
684
|
-
__decorate$
|
|
684
|
+
__decorate$6([
|
|
685
685
|
Property('')
|
|
686
686
|
], RibbonTooltip.prototype, "content", void 0);
|
|
687
|
-
__decorate$
|
|
687
|
+
__decorate$6([
|
|
688
688
|
Property('')
|
|
689
689
|
], RibbonTooltip.prototype, "iconCss", void 0);
|
|
690
690
|
return RibbonTooltip;
|
|
691
691
|
}(ChildProperty));
|
|
692
692
|
|
|
693
|
-
var __extends$
|
|
693
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
694
694
|
var extendStatics = function (d, b) {
|
|
695
695
|
extendStatics = Object.setPrototypeOf ||
|
|
696
696
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -703,7 +703,7 @@ var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
|
703
703
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
704
704
|
};
|
|
705
705
|
})();
|
|
706
|
-
var __decorate$
|
|
706
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
707
707
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
708
708
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
709
709
|
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;
|
|
@@ -713,7 +713,7 @@ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
713
713
|
* Defines the ribbon group button settings.
|
|
714
714
|
*/
|
|
715
715
|
var RibbonGroupButtonItem = /** @__PURE__ @class */ (function (_super) {
|
|
716
|
-
__extends$
|
|
716
|
+
__extends$7(RibbonGroupButtonItem, _super);
|
|
717
717
|
function RibbonGroupButtonItem() {
|
|
718
718
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
719
719
|
}
|
|
@@ -726,34 +726,34 @@ var RibbonGroupButtonItem = /** @__PURE__ @class */ (function (_super) {
|
|
|
726
726
|
RibbonGroupButtonItem.prototype.setProperties = function (prop, muteOnChange) {
|
|
727
727
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
728
728
|
};
|
|
729
|
-
__decorate$
|
|
729
|
+
__decorate$7([
|
|
730
730
|
Property('')
|
|
731
731
|
], RibbonGroupButtonItem.prototype, "content", void 0);
|
|
732
|
-
__decorate$
|
|
732
|
+
__decorate$7([
|
|
733
733
|
Property('')
|
|
734
734
|
], RibbonGroupButtonItem.prototype, "iconCss", void 0);
|
|
735
|
-
__decorate$
|
|
735
|
+
__decorate$7([
|
|
736
736
|
Property('')
|
|
737
737
|
], RibbonGroupButtonItem.prototype, "keyTip", void 0);
|
|
738
|
-
__decorate$
|
|
738
|
+
__decorate$7([
|
|
739
739
|
Complex({}, RibbonTooltip)
|
|
740
740
|
], RibbonGroupButtonItem.prototype, "ribbonTooltipSettings", void 0);
|
|
741
|
-
__decorate$
|
|
741
|
+
__decorate$7([
|
|
742
742
|
Property(false)
|
|
743
743
|
], RibbonGroupButtonItem.prototype, "selected", void 0);
|
|
744
|
-
__decorate$
|
|
744
|
+
__decorate$7([
|
|
745
745
|
Property({})
|
|
746
746
|
], RibbonGroupButtonItem.prototype, "htmlAttributes", void 0);
|
|
747
|
-
__decorate$
|
|
747
|
+
__decorate$7([
|
|
748
748
|
Event()
|
|
749
749
|
], RibbonGroupButtonItem.prototype, "beforeClick", void 0);
|
|
750
|
-
__decorate$
|
|
750
|
+
__decorate$7([
|
|
751
751
|
Event()
|
|
752
752
|
], RibbonGroupButtonItem.prototype, "click", void 0);
|
|
753
753
|
return RibbonGroupButtonItem;
|
|
754
754
|
}(ChildProperty));
|
|
755
755
|
|
|
756
|
-
var __extends$
|
|
756
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
757
757
|
var extendStatics = function (d, b) {
|
|
758
758
|
extendStatics = Object.setPrototypeOf ||
|
|
759
759
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -766,7 +766,7 @@ var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
|
766
766
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
767
767
|
};
|
|
768
768
|
})();
|
|
769
|
-
var __decorate$
|
|
769
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
770
770
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
771
771
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
772
772
|
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;
|
|
@@ -776,23 +776,23 @@ var __decorate$12 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
776
776
|
* Defines the ribbon group button settings.
|
|
777
777
|
*/
|
|
778
778
|
var RibbonGroupButtonSettings = /** @__PURE__ @class */ (function (_super) {
|
|
779
|
-
__extends$
|
|
779
|
+
__extends$8(RibbonGroupButtonSettings, _super);
|
|
780
780
|
function RibbonGroupButtonSettings() {
|
|
781
781
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
782
782
|
}
|
|
783
|
-
__decorate$
|
|
783
|
+
__decorate$8([
|
|
784
784
|
Property('')
|
|
785
785
|
], RibbonGroupButtonSettings.prototype, "header", void 0);
|
|
786
|
-
__decorate$
|
|
786
|
+
__decorate$8([
|
|
787
787
|
Property('Single')
|
|
788
788
|
], RibbonGroupButtonSettings.prototype, "selection", void 0);
|
|
789
|
-
__decorate$
|
|
789
|
+
__decorate$8([
|
|
790
790
|
Collection([], RibbonGroupButtonItem)
|
|
791
791
|
], RibbonGroupButtonSettings.prototype, "items", void 0);
|
|
792
792
|
return RibbonGroupButtonSettings;
|
|
793
793
|
}(ChildProperty));
|
|
794
794
|
|
|
795
|
-
var __extends$
|
|
795
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
796
796
|
var extendStatics = function (d, b) {
|
|
797
797
|
extendStatics = Object.setPrototypeOf ||
|
|
798
798
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -805,7 +805,7 @@ var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
|
805
805
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
806
806
|
};
|
|
807
807
|
})();
|
|
808
|
-
var __decorate$
|
|
808
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
809
809
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
810
810
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
811
811
|
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;
|
|
@@ -815,29 +815,29 @@ var __decorate$16 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
815
815
|
* Defines the ribbon gallery item.
|
|
816
816
|
*/
|
|
817
817
|
var RibbonGalleryItem = /** @__PURE__ @class */ (function (_super) {
|
|
818
|
-
__extends$
|
|
818
|
+
__extends$9(RibbonGalleryItem, _super);
|
|
819
819
|
function RibbonGalleryItem() {
|
|
820
820
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
821
821
|
}
|
|
822
|
-
__decorate$
|
|
822
|
+
__decorate$9([
|
|
823
823
|
Property('')
|
|
824
824
|
], RibbonGalleryItem.prototype, "content", void 0);
|
|
825
|
-
__decorate$
|
|
825
|
+
__decorate$9([
|
|
826
826
|
Property('')
|
|
827
827
|
], RibbonGalleryItem.prototype, "iconCss", void 0);
|
|
828
|
-
__decorate$
|
|
828
|
+
__decorate$9([
|
|
829
829
|
Property({})
|
|
830
830
|
], RibbonGalleryItem.prototype, "htmlAttributes", void 0);
|
|
831
|
-
__decorate$
|
|
831
|
+
__decorate$9([
|
|
832
832
|
Property('')
|
|
833
833
|
], RibbonGalleryItem.prototype, "cssClass", void 0);
|
|
834
|
-
__decorate$
|
|
834
|
+
__decorate$9([
|
|
835
835
|
Property(false)
|
|
836
836
|
], RibbonGalleryItem.prototype, "disabled", void 0);
|
|
837
837
|
return RibbonGalleryItem;
|
|
838
838
|
}(ChildProperty));
|
|
839
839
|
|
|
840
|
-
var __extends$
|
|
840
|
+
var __extends$a = (undefined && undefined.__extends) || (function () {
|
|
841
841
|
var extendStatics = function (d, b) {
|
|
842
842
|
extendStatics = Object.setPrototypeOf ||
|
|
843
843
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -850,7 +850,7 @@ var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
|
850
850
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
851
851
|
};
|
|
852
852
|
})();
|
|
853
|
-
var __decorate$
|
|
853
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
854
854
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
855
855
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
856
856
|
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;
|
|
@@ -860,29 +860,29 @@ var __decorate$15 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
860
860
|
* Defines the ribbon gallery group.
|
|
861
861
|
*/
|
|
862
862
|
var RibbonGalleryGroup = /** @__PURE__ @class */ (function (_super) {
|
|
863
|
-
__extends$
|
|
863
|
+
__extends$a(RibbonGalleryGroup, _super);
|
|
864
864
|
function RibbonGalleryGroup() {
|
|
865
865
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
866
866
|
}
|
|
867
|
-
__decorate$
|
|
867
|
+
__decorate$a([
|
|
868
868
|
Collection([], RibbonGalleryItem)
|
|
869
869
|
], RibbonGalleryGroup.prototype, "items", void 0);
|
|
870
|
-
__decorate$
|
|
870
|
+
__decorate$a([
|
|
871
871
|
Property('')
|
|
872
872
|
], RibbonGalleryGroup.prototype, "header", void 0);
|
|
873
|
-
__decorate$
|
|
873
|
+
__decorate$a([
|
|
874
874
|
Property('auto')
|
|
875
875
|
], RibbonGalleryGroup.prototype, "itemWidth", void 0);
|
|
876
|
-
__decorate$
|
|
876
|
+
__decorate$a([
|
|
877
877
|
Property('auto')
|
|
878
878
|
], RibbonGalleryGroup.prototype, "itemHeight", void 0);
|
|
879
|
-
__decorate$
|
|
879
|
+
__decorate$a([
|
|
880
880
|
Property('')
|
|
881
881
|
], RibbonGalleryGroup.prototype, "cssClass", void 0);
|
|
882
882
|
return RibbonGalleryGroup;
|
|
883
883
|
}(ChildProperty));
|
|
884
884
|
|
|
885
|
-
var __extends$
|
|
885
|
+
var __extends$b = (undefined && undefined.__extends) || (function () {
|
|
886
886
|
var extendStatics = function (d, b) {
|
|
887
887
|
extendStatics = Object.setPrototypeOf ||
|
|
888
888
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -895,7 +895,7 @@ var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
|
895
895
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
896
896
|
};
|
|
897
897
|
})();
|
|
898
|
-
var __decorate$
|
|
898
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
899
899
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
900
900
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
901
901
|
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;
|
|
@@ -905,53 +905,53 @@ var __decorate$14 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
905
905
|
* Defines the ribbon gallery settings.
|
|
906
906
|
*/
|
|
907
907
|
var RibbonGallerySettings = /** @__PURE__ @class */ (function (_super) {
|
|
908
|
-
__extends$
|
|
908
|
+
__extends$b(RibbonGallerySettings, _super);
|
|
909
909
|
function RibbonGallerySettings() {
|
|
910
910
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
911
911
|
}
|
|
912
|
-
__decorate$
|
|
912
|
+
__decorate$b([
|
|
913
913
|
Collection([], RibbonGalleryGroup)
|
|
914
914
|
], RibbonGallerySettings.prototype, "groups", void 0);
|
|
915
|
-
__decorate$
|
|
915
|
+
__decorate$b([
|
|
916
916
|
Property(3)
|
|
917
917
|
], RibbonGallerySettings.prototype, "itemCount", void 0);
|
|
918
|
-
__decorate$
|
|
918
|
+
__decorate$b([
|
|
919
919
|
Property(null)
|
|
920
920
|
], RibbonGallerySettings.prototype, "selectedItemIndex", void 0);
|
|
921
|
-
__decorate$
|
|
921
|
+
__decorate$b([
|
|
922
922
|
Property('auto')
|
|
923
923
|
], RibbonGallerySettings.prototype, "popupHeight", void 0);
|
|
924
|
-
__decorate$
|
|
924
|
+
__decorate$b([
|
|
925
925
|
Property('auto')
|
|
926
926
|
], RibbonGallerySettings.prototype, "popupWidth", void 0);
|
|
927
|
-
__decorate$
|
|
927
|
+
__decorate$b([
|
|
928
928
|
Property('')
|
|
929
929
|
], RibbonGallerySettings.prototype, "template", void 0);
|
|
930
|
-
__decorate$
|
|
930
|
+
__decorate$b([
|
|
931
931
|
Property('')
|
|
932
932
|
], RibbonGallerySettings.prototype, "popupTemplate", void 0);
|
|
933
|
-
__decorate$
|
|
933
|
+
__decorate$b([
|
|
934
934
|
Event()
|
|
935
935
|
], RibbonGallerySettings.prototype, "popupOpen", void 0);
|
|
936
|
-
__decorate$
|
|
936
|
+
__decorate$b([
|
|
937
937
|
Event()
|
|
938
938
|
], RibbonGallerySettings.prototype, "popupClose", void 0);
|
|
939
|
-
__decorate$
|
|
939
|
+
__decorate$b([
|
|
940
940
|
Event()
|
|
941
941
|
], RibbonGallerySettings.prototype, "itemHover", void 0);
|
|
942
|
-
__decorate$
|
|
942
|
+
__decorate$b([
|
|
943
943
|
Event()
|
|
944
944
|
], RibbonGallerySettings.prototype, "beforeItemRender", void 0);
|
|
945
|
-
__decorate$
|
|
945
|
+
__decorate$b([
|
|
946
946
|
Event()
|
|
947
947
|
], RibbonGallerySettings.prototype, "beforeSelect", void 0);
|
|
948
|
-
__decorate$
|
|
948
|
+
__decorate$b([
|
|
949
949
|
Event()
|
|
950
950
|
], RibbonGallerySettings.prototype, "select", void 0);
|
|
951
951
|
return RibbonGallerySettings;
|
|
952
952
|
}(ChildProperty));
|
|
953
953
|
|
|
954
|
-
var __extends$
|
|
954
|
+
var __extends$c = (undefined && undefined.__extends) || (function () {
|
|
955
955
|
var extendStatics = function (d, b) {
|
|
956
956
|
extendStatics = Object.setPrototypeOf ||
|
|
957
957
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -964,7 +964,7 @@ var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
|
964
964
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
965
965
|
};
|
|
966
966
|
})();
|
|
967
|
-
var __decorate$
|
|
967
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
968
968
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
969
969
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
970
970
|
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;
|
|
@@ -974,7 +974,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
974
974
|
* Defines the ribbon item.
|
|
975
975
|
*/
|
|
976
976
|
var RibbonItem = /** @__PURE__ @class */ (function (_super) {
|
|
977
|
-
__extends$
|
|
977
|
+
__extends$c(RibbonItem, _super);
|
|
978
978
|
function RibbonItem() {
|
|
979
979
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
980
980
|
}
|
|
@@ -987,64 +987,64 @@ var RibbonItem = /** @__PURE__ @class */ (function (_super) {
|
|
|
987
987
|
RibbonItem.prototype.setProperties = function (prop, muteOnChange) {
|
|
988
988
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
989
989
|
};
|
|
990
|
-
__decorate$
|
|
990
|
+
__decorate$c([
|
|
991
991
|
Property('')
|
|
992
992
|
], RibbonItem.prototype, "keyTip", void 0);
|
|
993
|
-
__decorate$
|
|
993
|
+
__decorate$c([
|
|
994
994
|
Property(RibbonItemSize.Medium)
|
|
995
995
|
], RibbonItem.prototype, "activeSize", void 0);
|
|
996
|
-
__decorate$
|
|
996
|
+
__decorate$c([
|
|
997
997
|
Property(RibbonItemSize.Small | RibbonItemSize.Medium | RibbonItemSize.Large)
|
|
998
998
|
], RibbonItem.prototype, "allowedSizes", void 0);
|
|
999
|
-
__decorate$
|
|
999
|
+
__decorate$c([
|
|
1000
1000
|
Property('')
|
|
1001
1001
|
], RibbonItem.prototype, "id", void 0);
|
|
1002
|
-
__decorate$
|
|
1002
|
+
__decorate$c([
|
|
1003
1003
|
Property('')
|
|
1004
1004
|
], RibbonItem.prototype, "cssClass", void 0);
|
|
1005
|
-
__decorate$
|
|
1005
|
+
__decorate$c([
|
|
1006
1006
|
Property(false)
|
|
1007
1007
|
], RibbonItem.prototype, "disabled", void 0);
|
|
1008
|
-
__decorate$
|
|
1008
|
+
__decorate$c([
|
|
1009
1009
|
Property('')
|
|
1010
1010
|
], RibbonItem.prototype, "itemTemplate", void 0);
|
|
1011
|
-
__decorate$
|
|
1011
|
+
__decorate$c([
|
|
1012
1012
|
Property('Button')
|
|
1013
1013
|
], RibbonItem.prototype, "type", void 0);
|
|
1014
|
-
__decorate$
|
|
1014
|
+
__decorate$c([
|
|
1015
1015
|
Property(DisplayMode.Auto)
|
|
1016
1016
|
], RibbonItem.prototype, "displayOptions", void 0);
|
|
1017
|
-
__decorate$
|
|
1017
|
+
__decorate$c([
|
|
1018
1018
|
Complex({}, RibbonTooltip)
|
|
1019
1019
|
], RibbonItem.prototype, "ribbonTooltipSettings", void 0);
|
|
1020
|
-
__decorate$
|
|
1020
|
+
__decorate$c([
|
|
1021
1021
|
Complex({}, RibbonButtonSettings)
|
|
1022
1022
|
], RibbonItem.prototype, "buttonSettings", void 0);
|
|
1023
|
-
__decorate$
|
|
1023
|
+
__decorate$c([
|
|
1024
1024
|
Complex({}, RibbonDropDownSettings)
|
|
1025
1025
|
], RibbonItem.prototype, "dropDownSettings", void 0);
|
|
1026
|
-
__decorate$
|
|
1026
|
+
__decorate$c([
|
|
1027
1027
|
Complex({}, RibbonCheckBoxSettings)
|
|
1028
1028
|
], RibbonItem.prototype, "checkBoxSettings", void 0);
|
|
1029
|
-
__decorate$
|
|
1029
|
+
__decorate$c([
|
|
1030
1030
|
Complex({}, RibbonColorPickerSettings)
|
|
1031
1031
|
], RibbonItem.prototype, "colorPickerSettings", void 0);
|
|
1032
|
-
__decorate$
|
|
1032
|
+
__decorate$c([
|
|
1033
1033
|
Complex({}, RibbonComboBoxSettings)
|
|
1034
1034
|
], RibbonItem.prototype, "comboBoxSettings", void 0);
|
|
1035
|
-
__decorate$
|
|
1035
|
+
__decorate$c([
|
|
1036
1036
|
Complex({}, RibbonSplitButtonSettings)
|
|
1037
1037
|
], RibbonItem.prototype, "splitButtonSettings", void 0);
|
|
1038
|
-
__decorate$
|
|
1038
|
+
__decorate$c([
|
|
1039
1039
|
Complex({}, RibbonGroupButtonSettings)
|
|
1040
1040
|
], RibbonItem.prototype, "groupButtonSettings", void 0);
|
|
1041
|
-
__decorate$
|
|
1041
|
+
__decorate$c([
|
|
1042
1042
|
Complex({}, RibbonGallerySettings)
|
|
1043
1043
|
], RibbonItem.prototype, "gallerySettings", void 0);
|
|
1044
1044
|
return RibbonItem;
|
|
1045
1045
|
}(ChildProperty));
|
|
1046
1046
|
|
|
1047
|
-
var __extends$
|
|
1047
|
+
var __extends$d = (undefined && undefined.__extends) || (function () {
|
|
1048
1048
|
var extendStatics = function (d, b) {
|
|
1049
1049
|
extendStatics = Object.setPrototypeOf ||
|
|
1050
1050
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1057,7 +1057,7 @@ var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
|
1057
1057
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1058
1058
|
};
|
|
1059
1059
|
})();
|
|
1060
|
-
var __decorate$
|
|
1060
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1061
1061
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1062
1062
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1063
1063
|
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;
|
|
@@ -1067,7 +1067,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1067
1067
|
* Defines the items of Ribbon.
|
|
1068
1068
|
*/
|
|
1069
1069
|
var RibbonCollection = /** @__PURE__ @class */ (function (_super) {
|
|
1070
|
-
__extends$
|
|
1070
|
+
__extends$d(RibbonCollection, _super);
|
|
1071
1071
|
function RibbonCollection() {
|
|
1072
1072
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1073
1073
|
}
|
|
@@ -1080,19 +1080,19 @@ var RibbonCollection = /** @__PURE__ @class */ (function (_super) {
|
|
|
1080
1080
|
RibbonCollection.prototype.setProperties = function (prop, muteOnChange) {
|
|
1081
1081
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
1082
1082
|
};
|
|
1083
|
-
__decorate$
|
|
1083
|
+
__decorate$d([
|
|
1084
1084
|
Property('')
|
|
1085
1085
|
], RibbonCollection.prototype, "id", void 0);
|
|
1086
|
-
__decorate$
|
|
1086
|
+
__decorate$d([
|
|
1087
1087
|
Property('')
|
|
1088
1088
|
], RibbonCollection.prototype, "cssClass", void 0);
|
|
1089
|
-
__decorate$
|
|
1089
|
+
__decorate$d([
|
|
1090
1090
|
Collection([], RibbonItem)
|
|
1091
1091
|
], RibbonCollection.prototype, "items", void 0);
|
|
1092
1092
|
return RibbonCollection;
|
|
1093
1093
|
}(ChildProperty));
|
|
1094
1094
|
|
|
1095
|
-
var __extends$
|
|
1095
|
+
var __extends$e = (undefined && undefined.__extends) || (function () {
|
|
1096
1096
|
var extendStatics = function (d, b) {
|
|
1097
1097
|
extendStatics = Object.setPrototypeOf ||
|
|
1098
1098
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1105,7 +1105,7 @@ var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
|
1105
1105
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1106
1106
|
};
|
|
1107
1107
|
})();
|
|
1108
|
-
var __decorate$
|
|
1108
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1109
1109
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1110
1110
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1111
1111
|
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;
|
|
@@ -1115,7 +1115,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1115
1115
|
* Defines the ribbon group.
|
|
1116
1116
|
*/
|
|
1117
1117
|
var RibbonGroup = /** @__PURE__ @class */ (function (_super) {
|
|
1118
|
-
__extends$
|
|
1118
|
+
__extends$e(RibbonGroup, _super);
|
|
1119
1119
|
function RibbonGroup() {
|
|
1120
1120
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1121
1121
|
}
|
|
@@ -1128,52 +1128,52 @@ var RibbonGroup = /** @__PURE__ @class */ (function (_super) {
|
|
|
1128
1128
|
RibbonGroup.prototype.setProperties = function (prop, muteOnChange) {
|
|
1129
1129
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
1130
1130
|
};
|
|
1131
|
-
__decorate$
|
|
1131
|
+
__decorate$e([
|
|
1132
1132
|
Property('')
|
|
1133
1133
|
], RibbonGroup.prototype, "keyTip", void 0);
|
|
1134
|
-
__decorate$
|
|
1134
|
+
__decorate$e([
|
|
1135
1135
|
Property('')
|
|
1136
1136
|
], RibbonGroup.prototype, "launcherIconKeyTip", void 0);
|
|
1137
|
-
__decorate$
|
|
1137
|
+
__decorate$e([
|
|
1138
1138
|
Collection([], RibbonCollection)
|
|
1139
1139
|
], RibbonGroup.prototype, "collections", void 0);
|
|
1140
|
-
__decorate$
|
|
1140
|
+
__decorate$e([
|
|
1141
1141
|
Property('')
|
|
1142
1142
|
], RibbonGroup.prototype, "cssClass", void 0);
|
|
1143
|
-
__decorate$
|
|
1143
|
+
__decorate$e([
|
|
1144
1144
|
Property('')
|
|
1145
1145
|
], RibbonGroup.prototype, "id", void 0);
|
|
1146
|
-
__decorate$
|
|
1146
|
+
__decorate$e([
|
|
1147
1147
|
Property(false)
|
|
1148
1148
|
], RibbonGroup.prototype, "isCollapsed", void 0);
|
|
1149
|
-
__decorate$
|
|
1149
|
+
__decorate$e([
|
|
1150
1150
|
Property(true)
|
|
1151
1151
|
], RibbonGroup.prototype, "isCollapsible", void 0);
|
|
1152
|
-
__decorate$
|
|
1152
|
+
__decorate$e([
|
|
1153
1153
|
Property(false)
|
|
1154
1154
|
], RibbonGroup.prototype, "enableGroupOverflow", void 0);
|
|
1155
|
-
__decorate$
|
|
1155
|
+
__decorate$e([
|
|
1156
1156
|
Property('')
|
|
1157
1157
|
], RibbonGroup.prototype, "groupIconCss", void 0);
|
|
1158
|
-
__decorate$
|
|
1158
|
+
__decorate$e([
|
|
1159
1159
|
Property('')
|
|
1160
1160
|
], RibbonGroup.prototype, "header", void 0);
|
|
1161
|
-
__decorate$
|
|
1161
|
+
__decorate$e([
|
|
1162
1162
|
Property('Column')
|
|
1163
1163
|
], RibbonGroup.prototype, "orientation", void 0);
|
|
1164
|
-
__decorate$
|
|
1164
|
+
__decorate$e([
|
|
1165
1165
|
Property('')
|
|
1166
1166
|
], RibbonGroup.prototype, "overflowHeader", void 0);
|
|
1167
|
-
__decorate$
|
|
1167
|
+
__decorate$e([
|
|
1168
1168
|
Property(0)
|
|
1169
1169
|
], RibbonGroup.prototype, "priority", void 0);
|
|
1170
|
-
__decorate$
|
|
1170
|
+
__decorate$e([
|
|
1171
1171
|
Property(false)
|
|
1172
1172
|
], RibbonGroup.prototype, "showLauncherIcon", void 0);
|
|
1173
1173
|
return RibbonGroup;
|
|
1174
1174
|
}(ChildProperty));
|
|
1175
1175
|
|
|
1176
|
-
var __extends$
|
|
1176
|
+
var __extends$f = (undefined && undefined.__extends) || (function () {
|
|
1177
1177
|
var extendStatics = function (d, b) {
|
|
1178
1178
|
extendStatics = Object.setPrototypeOf ||
|
|
1179
1179
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1186,7 +1186,7 @@ var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
|
1186
1186
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1187
1187
|
};
|
|
1188
1188
|
})();
|
|
1189
|
-
var __decorate$
|
|
1189
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1190
1190
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1191
1191
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1192
1192
|
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;
|
|
@@ -1196,7 +1196,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1196
1196
|
* Defines the ribbon tab.
|
|
1197
1197
|
*/
|
|
1198
1198
|
var RibbonTab = /** @__PURE__ @class */ (function (_super) {
|
|
1199
|
-
__extends$
|
|
1199
|
+
__extends$f(RibbonTab, _super);
|
|
1200
1200
|
function RibbonTab() {
|
|
1201
1201
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1202
1202
|
}
|
|
@@ -1209,25 +1209,25 @@ var RibbonTab = /** @__PURE__ @class */ (function (_super) {
|
|
|
1209
1209
|
RibbonTab.prototype.setProperties = function (prop, muteOnChange) {
|
|
1210
1210
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
1211
1211
|
};
|
|
1212
|
-
__decorate$
|
|
1212
|
+
__decorate$f([
|
|
1213
1213
|
Property('')
|
|
1214
1214
|
], RibbonTab.prototype, "keyTip", void 0);
|
|
1215
|
-
__decorate$
|
|
1215
|
+
__decorate$f([
|
|
1216
1216
|
Property('')
|
|
1217
1217
|
], RibbonTab.prototype, "id", void 0);
|
|
1218
|
-
__decorate$
|
|
1218
|
+
__decorate$f([
|
|
1219
1219
|
Property('')
|
|
1220
1220
|
], RibbonTab.prototype, "cssClass", void 0);
|
|
1221
|
-
__decorate$
|
|
1221
|
+
__decorate$f([
|
|
1222
1222
|
Collection([], RibbonGroup)
|
|
1223
1223
|
], RibbonTab.prototype, "groups", void 0);
|
|
1224
|
-
__decorate$
|
|
1224
|
+
__decorate$f([
|
|
1225
1225
|
Property('')
|
|
1226
1226
|
], RibbonTab.prototype, "header", void 0);
|
|
1227
1227
|
return RibbonTab;
|
|
1228
1228
|
}(ChildProperty));
|
|
1229
1229
|
|
|
1230
|
-
var __extends$
|
|
1230
|
+
var __extends$g = (undefined && undefined.__extends) || (function () {
|
|
1231
1231
|
var extendStatics = function (d, b) {
|
|
1232
1232
|
extendStatics = Object.setPrototypeOf ||
|
|
1233
1233
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1240,7 +1240,7 @@ var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
|
1240
1240
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1241
1241
|
};
|
|
1242
1242
|
})();
|
|
1243
|
-
var __decorate$
|
|
1243
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1244
1244
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1245
1245
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1246
1246
|
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;
|
|
@@ -1250,7 +1250,7 @@ var __decorate$17 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1250
1250
|
* Defines the ribbon file menu settings.
|
|
1251
1251
|
*/
|
|
1252
1252
|
var FileMenuSettings = /** @__PURE__ @class */ (function (_super) {
|
|
1253
|
-
__extends$
|
|
1253
|
+
__extends$g(FileMenuSettings, _super);
|
|
1254
1254
|
function FileMenuSettings() {
|
|
1255
1255
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1256
1256
|
}
|
|
@@ -1263,55 +1263,55 @@ var FileMenuSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
1263
1263
|
FileMenuSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
1264
1264
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
1265
1265
|
};
|
|
1266
|
-
__decorate$
|
|
1266
|
+
__decorate$g([
|
|
1267
1267
|
Property('File')
|
|
1268
1268
|
], FileMenuSettings.prototype, "text", void 0);
|
|
1269
|
-
__decorate$
|
|
1269
|
+
__decorate$g([
|
|
1270
1270
|
Property(false)
|
|
1271
1271
|
], FileMenuSettings.prototype, "visible", void 0);
|
|
1272
|
-
__decorate$
|
|
1272
|
+
__decorate$g([
|
|
1273
1273
|
Collection([], MenuItem)
|
|
1274
1274
|
], FileMenuSettings.prototype, "menuItems", void 0);
|
|
1275
|
-
__decorate$
|
|
1275
|
+
__decorate$g([
|
|
1276
1276
|
Property(false)
|
|
1277
1277
|
], FileMenuSettings.prototype, "showItemOnClick", void 0);
|
|
1278
|
-
__decorate$
|
|
1278
|
+
__decorate$g([
|
|
1279
1279
|
Complex({}, MenuAnimationSettings)
|
|
1280
1280
|
], FileMenuSettings.prototype, "animationSettings", void 0);
|
|
1281
|
-
__decorate$
|
|
1281
|
+
__decorate$g([
|
|
1282
1282
|
Property('')
|
|
1283
1283
|
], FileMenuSettings.prototype, "itemTemplate", void 0);
|
|
1284
|
-
__decorate$
|
|
1284
|
+
__decorate$g([
|
|
1285
1285
|
Property('')
|
|
1286
1286
|
], FileMenuSettings.prototype, "popupTemplate", void 0);
|
|
1287
|
-
__decorate$
|
|
1287
|
+
__decorate$g([
|
|
1288
1288
|
Complex({}, RibbonTooltip)
|
|
1289
1289
|
], FileMenuSettings.prototype, "ribbonTooltipSettings", void 0);
|
|
1290
|
-
__decorate$
|
|
1290
|
+
__decorate$g([
|
|
1291
1291
|
Event()
|
|
1292
1292
|
], FileMenuSettings.prototype, "beforeClose", void 0);
|
|
1293
|
-
__decorate$
|
|
1293
|
+
__decorate$g([
|
|
1294
1294
|
Event()
|
|
1295
1295
|
], FileMenuSettings.prototype, "beforeOpen", void 0);
|
|
1296
|
-
__decorate$
|
|
1296
|
+
__decorate$g([
|
|
1297
1297
|
Event()
|
|
1298
1298
|
], FileMenuSettings.prototype, "beforeItemRender", void 0);
|
|
1299
|
-
__decorate$
|
|
1299
|
+
__decorate$g([
|
|
1300
1300
|
Event()
|
|
1301
1301
|
], FileMenuSettings.prototype, "close", void 0);
|
|
1302
|
-
__decorate$
|
|
1302
|
+
__decorate$g([
|
|
1303
1303
|
Event()
|
|
1304
1304
|
], FileMenuSettings.prototype, "open", void 0);
|
|
1305
|
-
__decorate$
|
|
1305
|
+
__decorate$g([
|
|
1306
1306
|
Event()
|
|
1307
1307
|
], FileMenuSettings.prototype, "select", void 0);
|
|
1308
|
-
__decorate$
|
|
1308
|
+
__decorate$g([
|
|
1309
1309
|
Property('')
|
|
1310
1310
|
], FileMenuSettings.prototype, "keyTip", void 0);
|
|
1311
1311
|
return FileMenuSettings;
|
|
1312
1312
|
}(ChildProperty));
|
|
1313
1313
|
|
|
1314
|
-
var __extends$
|
|
1314
|
+
var __extends$h = (undefined && undefined.__extends) || (function () {
|
|
1315
1315
|
var extendStatics = function (d, b) {
|
|
1316
1316
|
extendStatics = Object.setPrototypeOf ||
|
|
1317
1317
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1324,7 +1324,7 @@ var __extends$19 = (undefined && undefined.__extends) || (function () {
|
|
|
1324
1324
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1325
1325
|
};
|
|
1326
1326
|
})();
|
|
1327
|
-
var __decorate$
|
|
1327
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1328
1328
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1329
1329
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1330
1330
|
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;
|
|
@@ -1334,23 +1334,23 @@ var __decorate$19 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1334
1334
|
* Defines the ribbon backstage back button.
|
|
1335
1335
|
*/
|
|
1336
1336
|
var BackstageBackButton = /** @__PURE__ @class */ (function (_super) {
|
|
1337
|
-
__extends$
|
|
1337
|
+
__extends$h(BackstageBackButton, _super);
|
|
1338
1338
|
function BackstageBackButton() {
|
|
1339
1339
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1340
1340
|
}
|
|
1341
|
-
__decorate$
|
|
1341
|
+
__decorate$h([
|
|
1342
1342
|
Property('')
|
|
1343
1343
|
], BackstageBackButton.prototype, "text", void 0);
|
|
1344
|
-
__decorate$
|
|
1344
|
+
__decorate$h([
|
|
1345
1345
|
Property('')
|
|
1346
1346
|
], BackstageBackButton.prototype, "iconCss", void 0);
|
|
1347
|
-
__decorate$
|
|
1347
|
+
__decorate$h([
|
|
1348
1348
|
Property(true)
|
|
1349
1349
|
], BackstageBackButton.prototype, "visible", void 0);
|
|
1350
1350
|
return BackstageBackButton;
|
|
1351
1351
|
}(ChildProperty));
|
|
1352
1352
|
|
|
1353
|
-
var __extends$
|
|
1353
|
+
var __extends$i = (undefined && undefined.__extends) || (function () {
|
|
1354
1354
|
var extendStatics = function (d, b) {
|
|
1355
1355
|
extendStatics = Object.setPrototypeOf ||
|
|
1356
1356
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1363,7 +1363,7 @@ var __extends$20 = (undefined && undefined.__extends) || (function () {
|
|
|
1363
1363
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1364
1364
|
};
|
|
1365
1365
|
})();
|
|
1366
|
-
var __decorate$
|
|
1366
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1367
1367
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1368
1368
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1369
1369
|
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;
|
|
@@ -1373,38 +1373,38 @@ var __decorate$20 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1373
1373
|
* Defines the ribbon backstage back button.
|
|
1374
1374
|
*/
|
|
1375
1375
|
var BackstageItem = /** @__PURE__ @class */ (function (_super) {
|
|
1376
|
-
__extends$
|
|
1376
|
+
__extends$i(BackstageItem, _super);
|
|
1377
1377
|
function BackstageItem() {
|
|
1378
1378
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1379
1379
|
}
|
|
1380
|
-
__decorate$
|
|
1380
|
+
__decorate$i([
|
|
1381
1381
|
Property('')
|
|
1382
1382
|
], BackstageItem.prototype, "text", void 0);
|
|
1383
|
-
__decorate$
|
|
1383
|
+
__decorate$i([
|
|
1384
1384
|
Property('')
|
|
1385
1385
|
], BackstageItem.prototype, "id", void 0);
|
|
1386
|
-
__decorate$
|
|
1386
|
+
__decorate$i([
|
|
1387
1387
|
Property('')
|
|
1388
1388
|
], BackstageItem.prototype, "keyTip", void 0);
|
|
1389
|
-
__decorate$
|
|
1389
|
+
__decorate$i([
|
|
1390
1390
|
Property('')
|
|
1391
1391
|
], BackstageItem.prototype, "content", void 0);
|
|
1392
|
-
__decorate$
|
|
1392
|
+
__decorate$i([
|
|
1393
1393
|
Property('')
|
|
1394
1394
|
], BackstageItem.prototype, "iconCss", void 0);
|
|
1395
|
-
__decorate$
|
|
1395
|
+
__decorate$i([
|
|
1396
1396
|
Property(false)
|
|
1397
1397
|
], BackstageItem.prototype, "separator", void 0);
|
|
1398
|
-
__decorate$
|
|
1398
|
+
__decorate$i([
|
|
1399
1399
|
Property(false)
|
|
1400
1400
|
], BackstageItem.prototype, "isFooter", void 0);
|
|
1401
|
-
__decorate$
|
|
1401
|
+
__decorate$i([
|
|
1402
1402
|
Event()
|
|
1403
1403
|
], BackstageItem.prototype, "backStageItemClick", void 0);
|
|
1404
1404
|
return BackstageItem;
|
|
1405
1405
|
}(ChildProperty));
|
|
1406
1406
|
|
|
1407
|
-
var __extends$
|
|
1407
|
+
var __extends$j = (undefined && undefined.__extends) || (function () {
|
|
1408
1408
|
var extendStatics = function (d, b) {
|
|
1409
1409
|
extendStatics = Object.setPrototypeOf ||
|
|
1410
1410
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1417,7 +1417,7 @@ var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
|
1417
1417
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1418
1418
|
};
|
|
1419
1419
|
})();
|
|
1420
|
-
var __decorate$
|
|
1420
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1421
1421
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1422
1422
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1423
1423
|
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;
|
|
@@ -1427,7 +1427,7 @@ var __decorate$18 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1427
1427
|
* Defines the ribbon file menu settings.
|
|
1428
1428
|
*/
|
|
1429
1429
|
var BackStageMenu = /** @__PURE__ @class */ (function (_super) {
|
|
1430
|
-
__extends$
|
|
1430
|
+
__extends$j(BackStageMenu, _super);
|
|
1431
1431
|
function BackStageMenu() {
|
|
1432
1432
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1433
1433
|
}
|
|
@@ -1440,40 +1440,40 @@ var BackStageMenu = /** @__PURE__ @class */ (function (_super) {
|
|
|
1440
1440
|
BackStageMenu.prototype.setProperties = function (prop, muteOnChange) {
|
|
1441
1441
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
1442
1442
|
};
|
|
1443
|
-
__decorate$
|
|
1443
|
+
__decorate$j([
|
|
1444
1444
|
Property('File')
|
|
1445
1445
|
], BackStageMenu.prototype, "text", void 0);
|
|
1446
|
-
__decorate$
|
|
1446
|
+
__decorate$j([
|
|
1447
1447
|
Property('')
|
|
1448
1448
|
], BackStageMenu.prototype, "keyTip", void 0);
|
|
1449
|
-
__decorate$
|
|
1449
|
+
__decorate$j([
|
|
1450
1450
|
Property(false)
|
|
1451
1451
|
], BackStageMenu.prototype, "visible", void 0);
|
|
1452
|
-
__decorate$
|
|
1452
|
+
__decorate$j([
|
|
1453
1453
|
Property('auto')
|
|
1454
1454
|
], BackStageMenu.prototype, "height", void 0);
|
|
1455
|
-
__decorate$
|
|
1455
|
+
__decorate$j([
|
|
1456
1456
|
Property('auto')
|
|
1457
1457
|
], BackStageMenu.prototype, "width", void 0);
|
|
1458
|
-
__decorate$
|
|
1458
|
+
__decorate$j([
|
|
1459
1459
|
Property(null)
|
|
1460
1460
|
], BackStageMenu.prototype, "target", void 0);
|
|
1461
|
-
__decorate$
|
|
1461
|
+
__decorate$j([
|
|
1462
1462
|
Complex({}, BackstageBackButton)
|
|
1463
1463
|
], BackStageMenu.prototype, "backButton", void 0);
|
|
1464
|
-
__decorate$
|
|
1464
|
+
__decorate$j([
|
|
1465
1465
|
Collection([], BackstageItem)
|
|
1466
1466
|
], BackStageMenu.prototype, "items", void 0);
|
|
1467
|
-
__decorate$
|
|
1467
|
+
__decorate$j([
|
|
1468
1468
|
Property('')
|
|
1469
1469
|
], BackStageMenu.prototype, "template", void 0);
|
|
1470
|
-
__decorate$
|
|
1470
|
+
__decorate$j([
|
|
1471
1471
|
Complex({}, RibbonTooltip)
|
|
1472
1472
|
], BackStageMenu.prototype, "ribbonTooltipSettings", void 0);
|
|
1473
1473
|
return BackStageMenu;
|
|
1474
1474
|
}(ChildProperty));
|
|
1475
1475
|
|
|
1476
|
-
var __extends$
|
|
1476
|
+
var __extends$k = (undefined && undefined.__extends) || (function () {
|
|
1477
1477
|
var extendStatics = function (d, b) {
|
|
1478
1478
|
extendStatics = Object.setPrototypeOf ||
|
|
1479
1479
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1486,7 +1486,7 @@ var __extends$21 = (undefined && undefined.__extends) || (function () {
|
|
|
1486
1486
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1487
1487
|
};
|
|
1488
1488
|
})();
|
|
1489
|
-
var __decorate$
|
|
1489
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1490
1490
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1491
1491
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1492
1492
|
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;
|
|
@@ -1496,7 +1496,7 @@ var __decorate$21 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1496
1496
|
* Defines the ribbon contextual tab.
|
|
1497
1497
|
*/
|
|
1498
1498
|
var RibbonContextualTabSettings = /** @__PURE__ @class */ (function (_super) {
|
|
1499
|
-
__extends$
|
|
1499
|
+
__extends$k(RibbonContextualTabSettings, _super);
|
|
1500
1500
|
function RibbonContextualTabSettings() {
|
|
1501
1501
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1502
1502
|
}
|
|
@@ -1509,20 +1509,18 @@ var RibbonContextualTabSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
1509
1509
|
RibbonContextualTabSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
1510
1510
|
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
1511
1511
|
};
|
|
1512
|
-
__decorate$
|
|
1512
|
+
__decorate$k([
|
|
1513
1513
|
Property(false)
|
|
1514
1514
|
], RibbonContextualTabSettings.prototype, "visible", void 0);
|
|
1515
|
-
__decorate$
|
|
1515
|
+
__decorate$k([
|
|
1516
1516
|
Property(false)
|
|
1517
1517
|
], RibbonContextualTabSettings.prototype, "isSelected", void 0);
|
|
1518
|
-
__decorate$
|
|
1518
|
+
__decorate$k([
|
|
1519
1519
|
Collection([], RibbonTab)
|
|
1520
1520
|
], RibbonContextualTabSettings.prototype, "tabs", void 0);
|
|
1521
1521
|
return RibbonContextualTabSettings;
|
|
1522
1522
|
}(ChildProperty));
|
|
1523
1523
|
|
|
1524
|
-
// export * from './file-menu';
|
|
1525
|
-
|
|
1526
1524
|
/**
|
|
1527
1525
|
* Specifies the File Manager internal ID's
|
|
1528
1526
|
*/
|
|
@@ -1789,7 +1787,12 @@ var RibbonButton = /** @__PURE__ @class */ (function () {
|
|
|
1789
1787
|
btnSettings.clicked.call(_this, e);
|
|
1790
1788
|
}
|
|
1791
1789
|
};
|
|
1792
|
-
|
|
1790
|
+
if (btnSettings.content) {
|
|
1791
|
+
buttonEle.setAttribute('aria-label', btnSettings.content);
|
|
1792
|
+
}
|
|
1793
|
+
else {
|
|
1794
|
+
buttonEle.setAttribute('aria-label', 'button');
|
|
1795
|
+
}
|
|
1793
1796
|
};
|
|
1794
1797
|
/**
|
|
1795
1798
|
* Adds the additional event handlers as the item moved into overflow popup.
|
|
@@ -3620,6 +3623,10 @@ var RibbonGroupButton = /** @__PURE__ @class */ (function () {
|
|
|
3620
3623
|
}
|
|
3621
3624
|
if (groupBtnSettings.items[parseInt(i.toString(), 10)].content) {
|
|
3622
3625
|
groupButtonEle.classList.add(RIBBON_GROUP_BUTTON_CONTENT);
|
|
3626
|
+
groupButtonEle.setAttribute('aria-label', groupBtnSettings.items[parseInt(i.toString(), 10)].content);
|
|
3627
|
+
}
|
|
3628
|
+
else {
|
|
3629
|
+
groupButtonEle.setAttribute('aria-label', 'groupbuttonitem');
|
|
3623
3630
|
}
|
|
3624
3631
|
var buttonEle = itemElement.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + i);
|
|
3625
3632
|
if (groupBtnSettings.selection === RibbonGroupButtonSelection.Single) {
|
|
@@ -3738,7 +3745,8 @@ var RibbonGroupButton = /** @__PURE__ @class */ (function () {
|
|
|
3738
3745
|
for (var j = 0; j < grpBtnSettings.items.length; j++) {
|
|
3739
3746
|
if (document.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + j) && document.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + j).classList.contains('e-active')) {
|
|
3740
3747
|
document.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + j).classList.remove('e-active');
|
|
3741
|
-
grpBtnSettings.items[parseInt(j.toString(), 10)].
|
|
3748
|
+
grpBtnSettings.items[parseInt(j.toString(), 10)].
|
|
3749
|
+
setProperties({ selected: false }, true);
|
|
3742
3750
|
}
|
|
3743
3751
|
}
|
|
3744
3752
|
document.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + itemIndex).classList.toggle('e-active');
|
|
@@ -3759,10 +3767,12 @@ var RibbonGroupButton = /** @__PURE__ @class */ (function () {
|
|
|
3759
3767
|
}
|
|
3760
3768
|
document.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + itemIndex).classList.toggle('e-active');
|
|
3761
3769
|
if (document.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID + itemIndex).classList.contains('e-active')) {
|
|
3762
|
-
grpBtnSettings.items[parseInt(itemIndex.toString(), 10)].
|
|
3770
|
+
grpBtnSettings.items[parseInt(itemIndex.toString(), 10)].
|
|
3771
|
+
setProperties({ selected: true }, true);
|
|
3763
3772
|
}
|
|
3764
3773
|
else {
|
|
3765
|
-
grpBtnSettings.items[parseInt(itemIndex.toString(), 10)].
|
|
3774
|
+
grpBtnSettings.items[parseInt(itemIndex.toString(), 10)].
|
|
3775
|
+
setProperties({ selected: false }, true);
|
|
3766
3776
|
}
|
|
3767
3777
|
var activeEleCount = 0;
|
|
3768
3778
|
for (var n = 0; n < grpBtnSettings.items.length; n++) {
|
|
@@ -3965,6 +3975,7 @@ var RibbonGroupButton = /** @__PURE__ @class */ (function () {
|
|
|
3965
3975
|
*
|
|
3966
3976
|
* @param {RibbonItemModel} item - Gets the ribbon item model.
|
|
3967
3977
|
* @param {HTMLElement} itemEle - Gets the ribbon item element.
|
|
3978
|
+
* @param {DropDownButton} overflowButton - Gets the overflow button.
|
|
3968
3979
|
* @returns {void}
|
|
3969
3980
|
* @hidden
|
|
3970
3981
|
*/
|
|
@@ -4070,7 +4081,12 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4070
4081
|
this.count = 0;
|
|
4071
4082
|
this.isAdded = false;
|
|
4072
4083
|
this.galleryItemsIndex = 0;
|
|
4084
|
+
this.registeredTemplate = {};
|
|
4073
4085
|
this.parent = parent;
|
|
4086
|
+
var ref = 'viewContainerRef';
|
|
4087
|
+
setValue('registeredTemplate', this.registeredTemplate, this);
|
|
4088
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4089
|
+
setValue(ref, this.parent["" + ref], this);
|
|
4074
4090
|
}
|
|
4075
4091
|
RibbonGallery.prototype.getModuleName = function () {
|
|
4076
4092
|
return 'ribbonGallery';
|
|
@@ -4094,13 +4110,19 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4094
4110
|
id: item.id + '_popupButton',
|
|
4095
4111
|
className: 'e-ribbon-gallery-button e-icons e-drop-icon'
|
|
4096
4112
|
});
|
|
4113
|
+
buttonEle.setAttribute('aria-label', 'gallerydropdownbutton');
|
|
4097
4114
|
itemEle.appendChild(buttonEle);
|
|
4098
4115
|
this.createPopup(item, buttonEle);
|
|
4099
4116
|
buttonEle.onclick = function (args) {
|
|
4100
4117
|
var popupEle = document.querySelector('#' + item.id + '_galleryPopup');
|
|
4101
4118
|
if (popupEle) {
|
|
4102
4119
|
var popup = getComponent(popupEle, Popup);
|
|
4103
|
-
popupEle.classList.contains('e-popup-close')
|
|
4120
|
+
if (popupEle.classList.contains('e-popup-close')) {
|
|
4121
|
+
_this.showPopup(popup, popupEle, args, gallerySettings, item.id);
|
|
4122
|
+
}
|
|
4123
|
+
else {
|
|
4124
|
+
_this.hidePopup(popup, popupEle, args, gallerySettings, item.id);
|
|
4125
|
+
}
|
|
4104
4126
|
}
|
|
4105
4127
|
};
|
|
4106
4128
|
document.onclick = function (args) {
|
|
@@ -4156,7 +4178,7 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4156
4178
|
var _loop_2 = function (j) {
|
|
4157
4179
|
galleryEle = this_1.parent.createElement('li', {
|
|
4158
4180
|
className: 'e-ribbon-gallery-item',
|
|
4159
|
-
id: galleryContainerEle.id + '_gallery' + j,
|
|
4181
|
+
id: (isPopup ? 'popup_' : '') + galleryContainerEle.id + '_gallery' + j,
|
|
4160
4182
|
attrs: { 'tabindex': '0' }
|
|
4161
4183
|
});
|
|
4162
4184
|
var itemEventArgs = { name: 'beforeItemRender', item: gallerySettings.groups[parseInt(i.toString(), 10)].items[parseInt(j.toString(), 10)] };
|
|
@@ -4175,11 +4197,11 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4175
4197
|
}
|
|
4176
4198
|
this_1.count = this_1.count + 1;
|
|
4177
4199
|
galleryEle.onclick = function (e) {
|
|
4178
|
-
_this.setActiveState(e.currentTarget, gallerySettings, id, true, e);
|
|
4200
|
+
_this.setActiveState(e.currentTarget, gallerySettings, id, true, e, isPopup);
|
|
4179
4201
|
};
|
|
4180
4202
|
galleryEle.onkeydown = function (e) {
|
|
4181
4203
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
4182
|
-
_this.setActiveState(e.currentTarget, gallerySettings, id, true, e);
|
|
4204
|
+
_this.setActiveState(e.currentTarget, gallerySettings, id, true, e, isPopup);
|
|
4183
4205
|
}
|
|
4184
4206
|
};
|
|
4185
4207
|
galleryEle.onmouseover = function (e) {
|
|
@@ -4199,9 +4221,12 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4199
4221
|
galleryContainerEle.style.flexFlow = 'wrap';
|
|
4200
4222
|
}
|
|
4201
4223
|
}
|
|
4202
|
-
if ((!gallerySettings.template && !gallerySettings.popupTemplate) ||
|
|
4224
|
+
if ((!gallerySettings.template && !gallerySettings.popupTemplate) ||
|
|
4225
|
+
((gallerySettings.template && !gallerySettings.popupTemplate) && isPopup) ||
|
|
4226
|
+
((gallerySettings.popupTemplate && !gallerySettings.template) && !isPopup)) {
|
|
4203
4227
|
if (gallerySettings.groups[parseInt(i.toString(), 10)].items[parseInt(j.toString(), 10)].htmlAttributes) {
|
|
4204
|
-
setCustomAttributes(galleryEle, gallerySettings.groups[parseInt(i.toString(), 10)]
|
|
4228
|
+
setCustomAttributes(galleryEle, gallerySettings.groups[parseInt(i.toString(), 10)]
|
|
4229
|
+
.items[parseInt(j.toString(), 10)].htmlAttributes);
|
|
4205
4230
|
}
|
|
4206
4231
|
if (gallerySettings.groups[parseInt(i.toString(), 10)].items[parseInt(j.toString(), 10)].iconCss) {
|
|
4207
4232
|
var iconEle = this_1.parent.createElement('span', {
|
|
@@ -4245,7 +4270,12 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4245
4270
|
if (this_1.isAdded && !isPopup) {
|
|
4246
4271
|
return "break";
|
|
4247
4272
|
}
|
|
4248
|
-
!isPopup
|
|
4273
|
+
if (!isPopup) {
|
|
4274
|
+
galleryWrapper.appendChild(galleryContainerEle);
|
|
4275
|
+
}
|
|
4276
|
+
else {
|
|
4277
|
+
itemEle.appendChild(galleryContainerEle);
|
|
4278
|
+
}
|
|
4249
4279
|
if (isPopup && gallerySettings.groups[parseInt(i.toString(), 10)].header) {
|
|
4250
4280
|
var headerEle = (this_1.parent.createElement('div', {
|
|
4251
4281
|
className: 'e-ribbon-gallery-header',
|
|
@@ -4262,6 +4292,14 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4262
4292
|
}
|
|
4263
4293
|
this.count = 0;
|
|
4264
4294
|
this.isAdded = false;
|
|
4295
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4296
|
+
if (this.parent.isReact) {
|
|
4297
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4298
|
+
this.parent.portals = this.parent.portals.concat(this['portals']);
|
|
4299
|
+
this.parent['renderReactTemplates']();
|
|
4300
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4301
|
+
this['portals'] = undefined;
|
|
4302
|
+
}
|
|
4265
4303
|
};
|
|
4266
4304
|
RibbonGallery.prototype.setWrapperWidth = function (itemCount, galleryWrapper, gallerySettings, itemID) {
|
|
4267
4305
|
var count = 1;
|
|
@@ -4269,74 +4307,77 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4269
4307
|
var isWidthApplied = false;
|
|
4270
4308
|
for (var i = 0; i < gallerySettings.groups.length; i++) {
|
|
4271
4309
|
for (var j = 0; j < gallerySettings.groups[parseInt(i.toString(), 10)].items.length; j++) {
|
|
4272
|
-
if (
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4310
|
+
if (itemCount >= count) {
|
|
4311
|
+
var galleryItemEle = galleryWrapper.querySelector('#' + itemID + '_galleryContainer' + i + '_gallery' + j);
|
|
4312
|
+
if (galleryItemEle) {
|
|
4313
|
+
itemsWidth += galleryItemEle.offsetWidth;
|
|
4314
|
+
var itemStyles = window.getComputedStyle(galleryItemEle);
|
|
4315
|
+
if (itemStyles) {
|
|
4316
|
+
var paddingWidth = parseFloat(itemStyles.paddingLeft) + parseFloat(itemStyles.paddingRight);
|
|
4317
|
+
if (!(isNullOrUndefined(paddingWidth))) {
|
|
4318
|
+
itemsWidth += paddingWidth;
|
|
4319
|
+
}
|
|
4320
|
+
var marginWidth = parseFloat(itemStyles.marginLeft) + parseFloat(itemStyles.marginRight);
|
|
4321
|
+
if (!(isNullOrUndefined(marginWidth))) {
|
|
4322
|
+
itemsWidth += marginWidth;
|
|
4285
4323
|
}
|
|
4286
4324
|
}
|
|
4287
4325
|
}
|
|
4288
|
-
else {
|
|
4289
|
-
isWidthApplied = true;
|
|
4290
|
-
break;
|
|
4291
|
-
}
|
|
4292
|
-
count++;
|
|
4293
4326
|
}
|
|
4327
|
+
else {
|
|
4328
|
+
isWidthApplied = true;
|
|
4329
|
+
break;
|
|
4330
|
+
}
|
|
4331
|
+
count++;
|
|
4294
4332
|
}
|
|
4295
4333
|
if (isWidthApplied) {
|
|
4296
4334
|
break;
|
|
4297
4335
|
}
|
|
4298
4336
|
}
|
|
4299
|
-
if (itemsWidth > 0)
|
|
4337
|
+
if (itemsWidth > 0) {
|
|
4300
4338
|
galleryWrapper.style.width = itemsWidth + 'px';
|
|
4339
|
+
}
|
|
4301
4340
|
};
|
|
4302
4341
|
/**
|
|
4303
4342
|
* Checks the gallery items height.
|
|
4304
4343
|
*
|
|
4305
|
-
* @param {number} selectedTab - Gets the current selected tab.
|
|
4306
4344
|
* @param {HTMLElement} activeContent - Gets the current active content.
|
|
4307
4345
|
* @returns {void}
|
|
4308
4346
|
* @hidden
|
|
4309
4347
|
*/
|
|
4310
|
-
RibbonGallery.prototype.checkAvailableHeight = function (
|
|
4348
|
+
RibbonGallery.prototype.checkAvailableHeight = function (activeContent) {
|
|
4311
4349
|
var galleryWrapperItems = activeContent.querySelectorAll('.e-ribbon-gallery-wrapper');
|
|
4312
4350
|
for (var n = 0; n < galleryWrapperItems.length; n++) {
|
|
4351
|
+
var count = 0;
|
|
4352
|
+
var simplifiedItemsCount = 0;
|
|
4313
4353
|
var isHeight = false;
|
|
4314
|
-
var itemsCount = 0;
|
|
4315
4354
|
var galleryWrapper = galleryWrapperItems[parseInt(n.toString(), 10)];
|
|
4316
|
-
var galleryWrapperHeight = galleryWrapper.offsetHeight;
|
|
4317
4355
|
var itemID = galleryWrapper.id.replace(/_galleryWrapper/g, '');
|
|
4356
|
+
var galleryWrapperHeight = galleryWrapper.offsetHeight;
|
|
4318
4357
|
var itemProp = getItem(this.parent.tabs, itemID);
|
|
4319
4358
|
if (itemProp) {
|
|
4320
4359
|
this.setWrapperWidth(itemProp.item.gallerySettings.itemCount, galleryWrapper, itemProp.item.gallerySettings, itemID);
|
|
4321
4360
|
for (var i = 0; i < itemProp.item.gallerySettings.groups.length; i++) {
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
if (
|
|
4326
|
-
|
|
4361
|
+
for (var j = 0; j < itemProp.item.gallerySettings.groups[parseInt(i.toString(), 10)].items.length; j++) {
|
|
4362
|
+
var galleryItemEle = galleryWrapper.querySelector('#' + itemID + '_galleryContainer' + i + '_gallery' + j);
|
|
4363
|
+
if (galleryItemEle) {
|
|
4364
|
+
if (this.parent.activeLayout === 'Classic') {
|
|
4365
|
+
if (galleryItemEle.classList.contains('e-hidden')) {
|
|
4366
|
+
galleryItemEle.classList.remove('e-hidden');
|
|
4367
|
+
}
|
|
4327
4368
|
if (!isHeight) {
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
itemsValues += paddingWidth;
|
|
4335
|
-
var marginWidth = parseFloat(itemStyles.marginTop) + parseFloat(itemStyles.marginBottom);
|
|
4336
|
-
if (!(isNullOrUndefined(marginWidth)))
|
|
4337
|
-
itemsValues += marginWidth;
|
|
4369
|
+
var itemsValues = 0;
|
|
4370
|
+
var itemStyles = window.getComputedStyle(galleryItemEle);
|
|
4371
|
+
if (itemStyles) {
|
|
4372
|
+
var marginWidth = parseFloat(itemStyles.marginTop) + parseFloat(itemStyles.marginBottom);
|
|
4373
|
+
if (!(isNullOrUndefined(marginWidth))) {
|
|
4374
|
+
itemsValues += marginWidth;
|
|
4338
4375
|
}
|
|
4339
|
-
|
|
4376
|
+
}
|
|
4377
|
+
count++;
|
|
4378
|
+
if (itemProp.item.gallerySettings.itemCount === count) {
|
|
4379
|
+
count = 0;
|
|
4380
|
+
if (galleryWrapperHeight >= (galleryItemEle.offsetHeight + itemsValues)) {
|
|
4340
4381
|
galleryWrapperHeight -= (galleryItemEle.offsetHeight + itemsValues);
|
|
4341
4382
|
}
|
|
4342
4383
|
else {
|
|
@@ -4344,30 +4385,49 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4344
4385
|
galleryItemEle.remove();
|
|
4345
4386
|
}
|
|
4346
4387
|
}
|
|
4347
|
-
if (
|
|
4348
|
-
|
|
4388
|
+
else if (galleryWrapperHeight < (galleryItemEle.offsetHeight + itemsValues)) {
|
|
4389
|
+
isHeight = true;
|
|
4390
|
+
galleryItemEle.remove();
|
|
4349
4391
|
}
|
|
4350
4392
|
}
|
|
4351
4393
|
else {
|
|
4352
4394
|
galleryItemEle.remove();
|
|
4353
4395
|
}
|
|
4354
4396
|
}
|
|
4397
|
+
else {
|
|
4398
|
+
simplifiedItemsCount++;
|
|
4399
|
+
if (simplifiedItemsCount > itemProp.item.gallerySettings.itemCount) {
|
|
4400
|
+
galleryItemEle.classList.add('e-hidden');
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4355
4403
|
}
|
|
4356
4404
|
}
|
|
4357
4405
|
}
|
|
4358
4406
|
}
|
|
4359
4407
|
}
|
|
4360
4408
|
};
|
|
4361
|
-
|
|
4409
|
+
/**
|
|
4410
|
+
* Checks the popup collision.
|
|
4411
|
+
*
|
|
4412
|
+
* @param {Popup} popup - Gets the popup.
|
|
4413
|
+
* @param {HTMLElement} popupEle - Gets the popup element.
|
|
4414
|
+
* @param {number} offsetValue - Gets the offset value of gallery popup button.
|
|
4415
|
+
* @returns {void}
|
|
4416
|
+
* @hidden
|
|
4417
|
+
*/
|
|
4418
|
+
RibbonGallery.prototype.checkCollision = function (popup, popupEle, offsetValue) {
|
|
4419
|
+
if (offsetValue === void 0) { offsetValue = 0; }
|
|
4362
4420
|
var paddingWidth = 0;
|
|
4363
4421
|
var marginWidth = 0;
|
|
4364
4422
|
if (popupEle) {
|
|
4365
|
-
var
|
|
4423
|
+
var windowWidth = window.innerWidth;
|
|
4424
|
+
var screenWidth = offsetValue === 0 ? windowWidth : Math.abs(windowWidth - (windowWidth - offsetValue));
|
|
4366
4425
|
var paddingStyles = window.getComputedStyle(popupEle);
|
|
4367
4426
|
if (paddingStyles) {
|
|
4368
4427
|
paddingWidth = parseFloat(paddingStyles.paddingLeft) + parseFloat(paddingStyles.paddingRight);
|
|
4369
|
-
if (!(isNullOrUndefined(paddingWidth)))
|
|
4428
|
+
if (!(isNullOrUndefined(paddingWidth))) {
|
|
4370
4429
|
screenWidth = screenWidth - paddingWidth;
|
|
4430
|
+
}
|
|
4371
4431
|
}
|
|
4372
4432
|
var popupContainerItems = popupEle.querySelectorAll('.e-ribbon-gallery-container');
|
|
4373
4433
|
if (popup.width !== 'auto') {
|
|
@@ -4379,15 +4439,16 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4379
4439
|
for (var i = 0; i < popupContainerItems.length; i++) {
|
|
4380
4440
|
var itemsWidth = 0;
|
|
4381
4441
|
for (var j = 0; j < popupContainerItems[parseInt(i.toString(), 10)].querySelectorAll('.e-ribbon-gallery-item').length; j++) {
|
|
4382
|
-
var
|
|
4383
|
-
if (
|
|
4384
|
-
marginWidth = parseFloat(
|
|
4385
|
-
if (!(isNullOrUndefined(marginWidth)))
|
|
4442
|
+
var popupItemStyles = window.getComputedStyle(popupContainerItems[parseInt(i.toString(), 10)].querySelectorAll('.e-ribbon-gallery-item')[parseInt(j.toString(), 10)]);
|
|
4443
|
+
if (popupItemStyles) {
|
|
4444
|
+
marginWidth = parseFloat(popupItemStyles.marginLeft) + parseFloat(popupItemStyles.marginRight);
|
|
4445
|
+
if (!(isNullOrUndefined(marginWidth))) {
|
|
4386
4446
|
itemsWidth += marginWidth;
|
|
4447
|
+
}
|
|
4387
4448
|
}
|
|
4388
|
-
itemsWidth +=
|
|
4449
|
+
itemsWidth += Math.round(parseFloat(popupItemStyles.width));
|
|
4389
4450
|
if (((screenWidth <= itemsWidth) && popup.width === 'auto') || ((popup.width !== 'auto') && (screenWidth <= parseInt(popup.width.toString(), 10)) && (screenWidth <= itemsWidth))) {
|
|
4390
|
-
popupEle.style.width = ((itemsWidth + Math.abs(paddingWidth - marginWidth)) -
|
|
4451
|
+
popupEle.style.width = ((itemsWidth + Math.abs(paddingWidth - marginWidth)) - Math.round(parseFloat(popupItemStyles.width))) + 'px';
|
|
4391
4452
|
isCollideOccurs = true;
|
|
4392
4453
|
break;
|
|
4393
4454
|
}
|
|
@@ -4396,6 +4457,9 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4396
4457
|
popupContainerItems.forEach(function (ele) {
|
|
4397
4458
|
ele.style.flexFlow = 'wrap';
|
|
4398
4459
|
});
|
|
4460
|
+
if (popup.height === 'auto') {
|
|
4461
|
+
this.setGalleryPopupHeight(popupEle, parseFloat(paddingStyles.height), parseFloat(paddingStyles.top));
|
|
4462
|
+
}
|
|
4399
4463
|
break;
|
|
4400
4464
|
}
|
|
4401
4465
|
}
|
|
@@ -4409,9 +4473,20 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4409
4473
|
else {
|
|
4410
4474
|
popupEle.style.width = (popup.width).toString();
|
|
4411
4475
|
}
|
|
4476
|
+
if (popup.height === 'auto') {
|
|
4477
|
+
this.setGalleryPopupHeight(popupEle, parseFloat(paddingStyles.height), parseFloat(paddingStyles.top));
|
|
4478
|
+
}
|
|
4412
4479
|
}
|
|
4413
4480
|
}
|
|
4414
4481
|
};
|
|
4482
|
+
RibbonGallery.prototype.setGalleryPopupHeight = function (popupEle, popupHeight, popupTop) {
|
|
4483
|
+
if (window.innerHeight < popupHeight || window.innerHeight < Math.round(popupHeight + popupTop)) {
|
|
4484
|
+
popupEle.style.height = (window.innerHeight - popupTop) + 'px';
|
|
4485
|
+
}
|
|
4486
|
+
else {
|
|
4487
|
+
popupEle.style.height = 'auto';
|
|
4488
|
+
}
|
|
4489
|
+
};
|
|
4415
4490
|
RibbonGallery.prototype.createPopup = function (item, buttonEle) {
|
|
4416
4491
|
var popupContainer = this.parent.createElement('div', {
|
|
4417
4492
|
className: 'e-ribbon-popup-container',
|
|
@@ -4446,15 +4521,18 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4446
4521
|
*/
|
|
4447
4522
|
RibbonGallery.prototype.switchGalleryItems = function (activeLayout, itemID) {
|
|
4448
4523
|
var itemEle = this.parent.element.querySelector('#' + itemID + CONTAINER_ID);
|
|
4449
|
-
var count = 0;
|
|
4450
4524
|
var itemProp = getItem(this.parent.tabs, itemID);
|
|
4451
4525
|
if (itemEle) {
|
|
4452
|
-
var galleryWrapper = itemEle.querySelector('.e-ribbon-gallery-wrapper');
|
|
4453
4526
|
var galleryIcons = itemEle.querySelectorAll('.e-ribbon-gallery-icons');
|
|
4454
4527
|
var galleryContainer = itemEle.querySelectorAll('.e-ribbon-gallery-container');
|
|
4455
4528
|
if (galleryIcons.length) {
|
|
4456
4529
|
for (var i = 0; i < galleryIcons.length; i++) {
|
|
4457
|
-
activeLayout === 'Simplified'
|
|
4530
|
+
if (activeLayout === 'Simplified') {
|
|
4531
|
+
galleryIcons[parseInt(i.toString(), 10)].classList.add('e-hidden');
|
|
4532
|
+
}
|
|
4533
|
+
else {
|
|
4534
|
+
galleryIcons[parseInt(i.toString(), 10)].classList.remove('e-hidden');
|
|
4535
|
+
}
|
|
4458
4536
|
}
|
|
4459
4537
|
}
|
|
4460
4538
|
if (galleryContainer.length && itemProp) {
|
|
@@ -4462,24 +4540,20 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4462
4540
|
for (var i = 0; i < galleryContainer.length; i++) {
|
|
4463
4541
|
if (itemProp.item.gallerySettings.groups[parseInt(n.toString(), 10)].itemHeight && itemProp.item.gallerySettings.groups[parseInt(n.toString(), 10)].itemHeight !== 'auto') {
|
|
4464
4542
|
if (itemID + '_galleryContainer' + n === galleryContainer[parseInt(i.toString(), 10)].id) {
|
|
4465
|
-
activeLayout === 'Simplified'
|
|
4543
|
+
if (activeLayout === 'Simplified') {
|
|
4544
|
+
galleryContainer[parseInt(i.toString(), 10)].style.flexFlow = 'nowrap';
|
|
4545
|
+
}
|
|
4546
|
+
else {
|
|
4547
|
+
galleryContainer[parseInt(i.toString(), 10)].style.flexFlow = 'wrap';
|
|
4548
|
+
}
|
|
4466
4549
|
}
|
|
4467
4550
|
}
|
|
4468
4551
|
}
|
|
4469
4552
|
}
|
|
4470
4553
|
}
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
count++;
|
|
4475
|
-
if (count > itemProp.item.gallerySettings.itemCount) {
|
|
4476
|
-
var galleryItemEle = galleryWrapper.querySelector('#' + itemID + '_galleryContainer' + n + '_gallery' + i);
|
|
4477
|
-
if (galleryItemEle) {
|
|
4478
|
-
activeLayout === 'Simplified' ? galleryItemEle.classList.add('e-hidden') : galleryItemEle.classList.remove('e-hidden');
|
|
4479
|
-
}
|
|
4480
|
-
}
|
|
4481
|
-
}
|
|
4482
|
-
}
|
|
4554
|
+
var activeContent = this.parent.tabObj.element.querySelector('#' + this.parent.tabs[this.parent.selectedTab].id + CONTENT_ID);
|
|
4555
|
+
if (activeContent) {
|
|
4556
|
+
this.checkAvailableHeight(activeContent);
|
|
4483
4557
|
}
|
|
4484
4558
|
}
|
|
4485
4559
|
};
|
|
@@ -4488,15 +4562,14 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4488
4562
|
*
|
|
4489
4563
|
* @param {RibbonItemModel} item - Gets the ribbon item model.
|
|
4490
4564
|
* @param {HTMLElement} itemEle - Gets the ribbon item element.
|
|
4491
|
-
* @param {DropDownButton} overflowButton - Gets the overflow button.
|
|
4492
4565
|
* @returns {void}
|
|
4493
4566
|
* @hidden
|
|
4494
4567
|
*/
|
|
4495
|
-
RibbonGallery.prototype.addOverFlowEvents = function (item, itemEle
|
|
4568
|
+
RibbonGallery.prototype.addOverFlowEvents = function (item, itemEle) {
|
|
4496
4569
|
var _this = this;
|
|
4497
4570
|
if (itemEle.closest('.e-ribbon-overflow-target')) {
|
|
4498
4571
|
var buttonEle = this.parent.createElement('button', {
|
|
4499
|
-
id: item.id
|
|
4572
|
+
id: item.id
|
|
4500
4573
|
});
|
|
4501
4574
|
itemEle.appendChild(buttonEle);
|
|
4502
4575
|
itemEle.querySelector('.e-ribbon-gallery-wrapper').classList.add('e-hidden');
|
|
@@ -4504,8 +4577,9 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4504
4577
|
ele.classList.add('e-hidden');
|
|
4505
4578
|
});
|
|
4506
4579
|
var popupButton = itemEle.querySelector('#' + item.id + '_popupButton');
|
|
4507
|
-
if (popupButton)
|
|
4580
|
+
if (popupButton) {
|
|
4508
4581
|
popupButton.classList.add('e-hidden');
|
|
4582
|
+
}
|
|
4509
4583
|
var itemProp = getItem(this.parent.tabs, item.id);
|
|
4510
4584
|
var iconCss = itemProp && itemProp.group.groupIconCss ? itemProp.group.groupIconCss : '';
|
|
4511
4585
|
var content = itemProp && itemProp.group.header ? itemProp.group.header : '';
|
|
@@ -4525,7 +4599,7 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4525
4599
|
var popupEle = document.querySelector('#' + item.id + '_galleryPopup');
|
|
4526
4600
|
var popup = getComponent(popupEle, Popup);
|
|
4527
4601
|
var popupContainerEle_1 = document.querySelector('#' + item.id + '_galleryPopup .e-ribbon-popup-container');
|
|
4528
|
-
var
|
|
4602
|
+
var dropdown = new DropDownButton({
|
|
4529
4603
|
iconCss: iconCss,
|
|
4530
4604
|
content: content,
|
|
4531
4605
|
target: popupContainerEle_1,
|
|
@@ -4534,7 +4608,6 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4534
4608
|
disabled: item.disabled,
|
|
4535
4609
|
open: function () {
|
|
4536
4610
|
_this.setFoucsToFirstItem(popupContainerEle_1, true, item.id);
|
|
4537
|
-
_this.checkCollision(dropdown_1.dropDown, dropdown_1.dropDown.element);
|
|
4538
4611
|
},
|
|
4539
4612
|
beforeClose: function (args) {
|
|
4540
4613
|
var isCancelled = _this.popupEvents(args.event, item.gallerySettings, 'popupClose', false);
|
|
@@ -4544,11 +4617,11 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4544
4617
|
}
|
|
4545
4618
|
}, buttonEle);
|
|
4546
4619
|
if (popup.width !== 'auto') {
|
|
4547
|
-
|
|
4620
|
+
dropdown.dropDown.width = formatUnit(popup.width);
|
|
4548
4621
|
}
|
|
4549
4622
|
if (popup.height !== 'auto') {
|
|
4550
|
-
|
|
4551
|
-
|
|
4623
|
+
dropdown.dropDown.height = formatUnit(popup.height);
|
|
4624
|
+
dropdown.dropDown.element.style.height = (popup.height).toString();
|
|
4552
4625
|
}
|
|
4553
4626
|
}
|
|
4554
4627
|
};
|
|
@@ -4578,7 +4651,7 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4578
4651
|
remove(galleryDDBEle);
|
|
4579
4652
|
}
|
|
4580
4653
|
};
|
|
4581
|
-
RibbonGallery.prototype.setActiveState = function (galleryEle, gallerySettings, itemID, isInteracted, event) {
|
|
4654
|
+
RibbonGallery.prototype.setActiveState = function (galleryEle, gallerySettings, itemID, isInteracted, event, isPopup) {
|
|
4582
4655
|
var previousItem;
|
|
4583
4656
|
var currentItem;
|
|
4584
4657
|
var itemEle = document.querySelector('#' + itemID + CONTAINER_ID);
|
|
@@ -4593,12 +4666,13 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4593
4666
|
if (selctedGalleryItem[0].id === itemID + '_galleryContainer' + i + '_gallery' + j) {
|
|
4594
4667
|
previousItem = gallerySettings.groups[parseInt(i.toString(), 10)].items[parseInt(j.toString(), 10)];
|
|
4595
4668
|
}
|
|
4596
|
-
if (galleryEle.id === itemID + '_galleryContainer' + i + '_gallery' + j) {
|
|
4669
|
+
if (galleryEle.id === (isPopup ? 'popup_' : '') + itemID + '_galleryContainer' + i + '_gallery' + j) {
|
|
4597
4670
|
currentItem = gallerySettings.groups[parseInt(i.toString(), 10)].items[parseInt(j.toString(), 10)];
|
|
4598
4671
|
}
|
|
4599
4672
|
}
|
|
4600
4673
|
}
|
|
4601
|
-
var galleryItem = document.
|
|
4674
|
+
var galleryItem = document.getElementById(galleryEle.id);
|
|
4675
|
+
var galleryItemPopup;
|
|
4602
4676
|
var selectingEventArgs = { cancel: false, name: 'beforeSelect', previousItem: previousItem, currentItem: currentItem, isInteracted: isInteracted, event: event };
|
|
4603
4677
|
if (gallerySettings.beforeSelect) {
|
|
4604
4678
|
gallerySettings.beforeSelect.call(this, selectingEventArgs);
|
|
@@ -4610,9 +4684,16 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4610
4684
|
for (var i = 0; i < selctedGalleryItem.length; i++) {
|
|
4611
4685
|
selctedGalleryItem[parseInt(i.toString(), 10)].classList.remove('e-ribbon-gallery-selected');
|
|
4612
4686
|
}
|
|
4613
|
-
|
|
4614
|
-
|
|
4687
|
+
if (!galleryItem.id.startsWith('popup_')) {
|
|
4688
|
+
galleryItemPopup = document.getElementById('popup_' + galleryEle.id);
|
|
4689
|
+
}
|
|
4690
|
+
else if (document.getElementById(galleryItem.id.slice(6))) {
|
|
4691
|
+
galleryItemPopup = document.getElementById(galleryItem.id.slice(6));
|
|
4615
4692
|
}
|
|
4693
|
+
if (galleryItemPopup) {
|
|
4694
|
+
galleryItemPopup.classList.add('e-ribbon-gallery-selected');
|
|
4695
|
+
}
|
|
4696
|
+
galleryItem.classList.add('e-ribbon-gallery-selected');
|
|
4616
4697
|
var selectedEventArgs = { previousItem: previousItem, currentItem: currentItem, name: 'select', isInteracted: isInteracted, event: event };
|
|
4617
4698
|
var galleryPopupItems = document.querySelectorAll('#' + itemID + '_popupContainer .e-ribbon-gallery-item');
|
|
4618
4699
|
for (var i = 0; i < galleryPopupItems.length; i++) {
|
|
@@ -4649,6 +4730,9 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4649
4730
|
var buttonEle = document.querySelector('#' + itemID + '_popupButton');
|
|
4650
4731
|
buttonEle.classList.add('e-gallery-button-active');
|
|
4651
4732
|
var buttonPosition = buttonEle.getBoundingClientRect();
|
|
4733
|
+
if (popupEle.offsetWidth > buttonPosition.left) {
|
|
4734
|
+
this.checkCollision(popup, popupEle, buttonPosition.left);
|
|
4735
|
+
}
|
|
4652
4736
|
var offsetX = Math.abs((popupEle.offsetWidth - buttonPosition.left)) + buttonEle.offsetWidth;
|
|
4653
4737
|
popupEle.style.left = offsetX + 'px';
|
|
4654
4738
|
popupEle.style.top = popupEle.getBoundingClientRect().top + 2 + 'px';
|
|
@@ -4730,10 +4814,7 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4730
4814
|
galleryPopupEle[this.galleryItemsIndex].focus();
|
|
4731
4815
|
}
|
|
4732
4816
|
}
|
|
4733
|
-
else if (e.key === 'Enter' || e.code === 'Space') {
|
|
4734
|
-
galleryPopupEle[this.galleryItemsIndex].click();
|
|
4735
|
-
}
|
|
4736
|
-
else if (e.key === 'Escape' && !isDropdown) {
|
|
4817
|
+
else if ((e.key === 'Enter' || e.code === 'Space') || (e.key === 'Escape' && !isDropdown)) {
|
|
4737
4818
|
this.hidePopup(popup, popupEle, e, gallerySettings, itemID);
|
|
4738
4819
|
}
|
|
4739
4820
|
}
|
|
@@ -4749,8 +4830,7 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4749
4830
|
if (items.cssClass) {
|
|
4750
4831
|
galleryItemEle.classList.add(items.cssClass);
|
|
4751
4832
|
}
|
|
4752
|
-
append(templateFunction({ items: items }, this, templateName, (id + 'galleryTemplate'), this.parent.isStringTemplate), galleryItemEle);
|
|
4753
|
-
this.parent['renderReactTemplates']();
|
|
4833
|
+
append(templateFunction({ items: items }, this, templateName, (id + 'galleryTemplate'), this.parent.isStringTemplate, null, null, this.parent), galleryItemEle);
|
|
4754
4834
|
};
|
|
4755
4835
|
RibbonGallery.prototype.createGalleryPopupTemplate = function (galleryItemEle, gallerySettings, id, items) {
|
|
4756
4836
|
galleryItemEle.classList.add('e-ribbon-gallery-popup-template');
|
|
@@ -4763,13 +4843,12 @@ var RibbonGallery = /** @__PURE__ @class */ (function () {
|
|
|
4763
4843
|
if (items.cssClass) {
|
|
4764
4844
|
galleryItemEle.classList.add(items.cssClass);
|
|
4765
4845
|
}
|
|
4766
|
-
append(templateFunction({ items: items }, this, templateName, (id + 'galleryPopupTemplate'), this.parent.isStringTemplate), galleryItemEle);
|
|
4767
|
-
this.parent['renderReactTemplates']();
|
|
4846
|
+
append(templateFunction({ items: items }, this, templateName, (id + 'galleryPopupTemplate'), this.parent.isStringTemplate, null, null, this.parent), galleryItemEle);
|
|
4768
4847
|
};
|
|
4769
4848
|
return RibbonGallery;
|
|
4770
4849
|
}());
|
|
4771
4850
|
|
|
4772
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
4851
|
+
var __extends$l = (undefined && undefined.__extends) || (function () {
|
|
4773
4852
|
var extendStatics = function (d, b) {
|
|
4774
4853
|
extendStatics = Object.setPrototypeOf ||
|
|
4775
4854
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -4782,7 +4861,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
4782
4861
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4783
4862
|
};
|
|
4784
4863
|
})();
|
|
4785
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4864
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4786
4865
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4787
4866
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4788
4867
|
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;
|
|
@@ -4792,7 +4871,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
4792
4871
|
* The Ribbon Component is a structured layout to manage tools with tabs and groups.
|
|
4793
4872
|
*/
|
|
4794
4873
|
var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
4795
|
-
__extends(Ribbon, _super);
|
|
4874
|
+
__extends$l(Ribbon, _super);
|
|
4796
4875
|
/**
|
|
4797
4876
|
* Constructor for creating the widget.
|
|
4798
4877
|
*
|
|
@@ -5169,7 +5248,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5169
5248
|
this.ribbonKeyTipModule.removeKeytip();
|
|
5170
5249
|
}
|
|
5171
5250
|
};
|
|
5172
|
-
Ribbon.prototype.mouseEventHandler = function (
|
|
5251
|
+
Ribbon.prototype.mouseEventHandler = function () {
|
|
5173
5252
|
if (this.ribbonKeyTipModule && this.enableKeyTips) {
|
|
5174
5253
|
this.ribbonKeyTipModule.removeKeytip();
|
|
5175
5254
|
}
|
|
@@ -5245,25 +5324,24 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5245
5324
|
Ribbon.prototype.addKeyTip = function (tabIndex, keyTip, id, type) {
|
|
5246
5325
|
if (this.keyTipElements && this.keyTipElements[parseInt(tabIndex.toString(), 10)]) {
|
|
5247
5326
|
var isKeyTipExist = false;
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
this.keyTipElements[parseInt(tabIndex.toString(), 10)][type] = [];
|
|
5327
|
+
if (!(this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type])) {
|
|
5328
|
+
this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type] = [];
|
|
5251
5329
|
}
|
|
5252
|
-
if (Object.keys(this.keyTipElements[tabIndex][type]).length) {
|
|
5253
|
-
var keytipData = this.keyTipElements[tabIndex][type];
|
|
5254
|
-
for (var i = 0; i < Object.keys(this.keyTipElements[tabIndex][type]).length; i++) {
|
|
5330
|
+
if (Object.keys(this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type]).length) {
|
|
5331
|
+
var keytipData = this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type];
|
|
5332
|
+
for (var i = 0; i < Object.keys(this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type]).length; i++) {
|
|
5255
5333
|
if (keytipData[parseInt(i.toString(), 10)].id === id) {
|
|
5256
5334
|
isKeyTipExist = true;
|
|
5257
5335
|
}
|
|
5258
5336
|
}
|
|
5259
5337
|
if (!isKeyTipExist) {
|
|
5260
|
-
this.keyTipElements[tabIndex
|
|
5338
|
+
this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type].
|
|
5339
|
+
push({ id: id, type: type, keyTip: keyTip });
|
|
5261
5340
|
}
|
|
5262
5341
|
}
|
|
5263
5342
|
else {
|
|
5264
|
-
this.keyTipElements[tabIndex][type].push({ id: id, type: type, keyTip: keyTip });
|
|
5343
|
+
this.keyTipElements[parseInt(tabIndex.toString(), 10)]["" + type].push({ id: id, type: type, keyTip: keyTip });
|
|
5265
5344
|
}
|
|
5266
|
-
/* eslint-enable */
|
|
5267
5345
|
}
|
|
5268
5346
|
};
|
|
5269
5347
|
Ribbon.prototype.renderTabs = function () {
|
|
@@ -5350,10 +5428,10 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5350
5428
|
this.isUpdateItems = false;
|
|
5351
5429
|
}
|
|
5352
5430
|
}
|
|
5353
|
-
this.
|
|
5354
|
-
|
|
5355
|
-
this.ribbonGalleryModule.checkAvailableHeight(selectedIndex, e.selectedContent.firstChild);
|
|
5431
|
+
if (this.ribbonGalleryModule) {
|
|
5432
|
+
this.ribbonGalleryModule.checkAvailableHeight(e.selectedContent.firstChild);
|
|
5356
5433
|
}
|
|
5434
|
+
this.checkOverflow(selectedIndex, e.selectedContent.firstChild);
|
|
5357
5435
|
if (this.activeLayout === 'Simplified' && this.overflowDDB) {
|
|
5358
5436
|
var overflowTarget = this.overflowDDB.target;
|
|
5359
5437
|
var ofTabContainer = overflowTarget.querySelector('.' + RIBBON_TAB_ACTIVE);
|
|
@@ -5382,7 +5460,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5382
5460
|
break;
|
|
5383
5461
|
}
|
|
5384
5462
|
}
|
|
5385
|
-
this.contextualTabs[parseInt(i.toString(), 10)].
|
|
5463
|
+
this.contextualTabs[parseInt(i.toString(), 10)].
|
|
5464
|
+
setProperties({ isSelected: isSelected }, true);
|
|
5386
5465
|
}
|
|
5387
5466
|
}
|
|
5388
5467
|
};
|
|
@@ -5580,7 +5659,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5580
5659
|
item.setProperties({ activeSize: RibbonItemSize.Medium }, true);
|
|
5581
5660
|
this.setItemSize(itemEle, item);
|
|
5582
5661
|
}
|
|
5583
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5662
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5663
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
5584
5664
|
this.updatePopupItems(item, itemContainer, group.enableGroupOverflow, true);
|
|
5585
5665
|
}
|
|
5586
5666
|
}
|
|
@@ -5610,6 +5690,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5610
5690
|
return isEmptyCollection;
|
|
5611
5691
|
};
|
|
5612
5692
|
Ribbon.prototype.updatePopupItems = function (item, itemEle, isGroupOF, isMenu) {
|
|
5693
|
+
var _this = this;
|
|
5613
5694
|
var dropdown = getComponent(itemEle.querySelector('#' + item.id), (item.type === RibbonItemType.DropDown || item.type === RibbonItemType.Gallery || item.type === RibbonItemType.GroupButton) ? DropDownButton : SplitButton);
|
|
5614
5695
|
var dropDownPopup = dropdown.dropDown;
|
|
5615
5696
|
// popup is on right if (isGroupOF && isMenu)
|
|
@@ -5621,6 +5702,9 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5621
5702
|
if (isMenu) {
|
|
5622
5703
|
dropdown.beforeOpen = function () {
|
|
5623
5704
|
if (isLeft) {
|
|
5705
|
+
if (item.type === RibbonItemType.Gallery && _this.ribbonGalleryModule) {
|
|
5706
|
+
_this.ribbonGalleryModule.checkCollision(dropDownPopup, dropDownPopup.element);
|
|
5707
|
+
}
|
|
5624
5708
|
dropDownPopup.element.style.setProperty('visibility', 'hidden');
|
|
5625
5709
|
dropDownPopup.element.style.setProperty('display', 'block');
|
|
5626
5710
|
dropDownPopup.setProperties({ offsetX: -1 * dropDownPopup.element.offsetWidth });
|
|
@@ -5676,7 +5760,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5676
5760
|
break;
|
|
5677
5761
|
}
|
|
5678
5762
|
var groupEle = tabContent.querySelector('#' + collection.id);
|
|
5679
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5763
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5764
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
5680
5765
|
this.updatePopupItems(item, itemContainer, group.enableGroupOverflow, false);
|
|
5681
5766
|
}
|
|
5682
5767
|
groupEle.append(itemContainer);
|
|
@@ -5721,7 +5806,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5721
5806
|
}
|
|
5722
5807
|
if (overflowDDB) {
|
|
5723
5808
|
if (group.enableGroupOverflow) {
|
|
5724
|
-
if (overflowtarget.childElementCount === 0 ||
|
|
5809
|
+
if (overflowtarget.childElementCount === 0 ||
|
|
5810
|
+
(overflowtarget.childElementCount === 1 && this.isHeaderVisible(overflowtarget, group.id))) {
|
|
5725
5811
|
this.removeOverflowButton(overflowDDB);
|
|
5726
5812
|
}
|
|
5727
5813
|
}
|
|
@@ -5834,8 +5920,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5834
5920
|
overflowBtnTarget.classList.add('e-hide-group');
|
|
5835
5921
|
}
|
|
5836
5922
|
}
|
|
5837
|
-
|
|
5838
|
-
|
|
5923
|
+
if (isResize) {
|
|
5924
|
+
overflowBtnTarget.insertBefore(itemEle, overflowBtnTarget.querySelector('.' + RIBBON_ITEM));
|
|
5925
|
+
}
|
|
5926
|
+
else {
|
|
5927
|
+
overflowBtnTarget.append(itemEle);
|
|
5928
|
+
}
|
|
5839
5929
|
}
|
|
5840
5930
|
else {
|
|
5841
5931
|
if (!this.overflowDDB) {
|
|
@@ -5847,7 +5937,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5847
5937
|
else {
|
|
5848
5938
|
this.overflowDDB.element.classList.remove(HIDE_CSS);
|
|
5849
5939
|
var overflowEle = this.overflowDDB.target;
|
|
5850
|
-
var ofTabContainer = overflowEle.querySelector('#' +
|
|
5940
|
+
var ofTabContainer = overflowEle.querySelector('#' +
|
|
5941
|
+
this.tabs[parseInt(tabIndex.toString(), 10)].id + OVERFLOW_ID);
|
|
5851
5942
|
if (ofTabContainer) {
|
|
5852
5943
|
var ofGroupContainer = overflowEle.querySelector('#' + groupId + CONTAINER_ID);
|
|
5853
5944
|
if (!ofGroupContainer) {
|
|
@@ -5865,7 +5956,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5865
5956
|
}
|
|
5866
5957
|
ofTabContainer.append(ofGroupContainer);
|
|
5867
5958
|
}
|
|
5868
|
-
|
|
5959
|
+
if (isResize) {
|
|
5960
|
+
ofGroupContainer.insertBefore(itemEle, ofGroupContainer.querySelector('.' + RIBBON_ITEM));
|
|
5961
|
+
}
|
|
5962
|
+
else {
|
|
5963
|
+
ofGroupContainer.append(itemEle);
|
|
5964
|
+
}
|
|
5869
5965
|
}
|
|
5870
5966
|
else {
|
|
5871
5967
|
this.createOfTabContainer(groupId, groupHeader, itemEle, tabIndex);
|
|
@@ -5905,7 +6001,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5905
6001
|
break;
|
|
5906
6002
|
case 'Gallery':
|
|
5907
6003
|
if (this.activeLayout === 'Simplified') {
|
|
5908
|
-
this.ribbonGalleryModule.addOverFlowEvents(item, itemEle
|
|
6004
|
+
this.ribbonGalleryModule.addOverFlowEvents(item, itemEle);
|
|
5909
6005
|
}
|
|
5910
6006
|
break;
|
|
5911
6007
|
case 'GroupButton':
|
|
@@ -5923,7 +6019,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5923
6019
|
var overflowtarget = this.overflowDDB.target;
|
|
5924
6020
|
overflowtarget.append(ofTabContainer);
|
|
5925
6021
|
var itemProp = getGroup(this.tabs, groupId);
|
|
5926
|
-
var ofGroupContainer = itemProp.group.overflowHeader ?
|
|
6022
|
+
var ofGroupContainer = itemProp.group.overflowHeader ?
|
|
6023
|
+
this.createGroupContainer(groupId, itemProp.group.overflowHeader) : this.createGroupContainer(groupId, groupHeader);
|
|
5927
6024
|
ofGroupContainer.append(itemEle);
|
|
5928
6025
|
ofTabContainer.append(ofGroupContainer);
|
|
5929
6026
|
if (tabIndex === this.selectedTab) {
|
|
@@ -6281,7 +6378,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6281
6378
|
}
|
|
6282
6379
|
var item = collection.items[parseInt(l.toString(), 10)];
|
|
6283
6380
|
if (canReduceItem(item)) {
|
|
6284
|
-
item.type !== RibbonItemType.GroupButton
|
|
6381
|
+
if (item.type !== RibbonItemType.GroupButton) {
|
|
6382
|
+
setWidth(item.id);
|
|
6383
|
+
}
|
|
6384
|
+
else {
|
|
6385
|
+
setWidth(item.id + RIBBON_GROUP_BUTTON_ID);
|
|
6386
|
+
}
|
|
6285
6387
|
reduceItemsToSmall(k, l, l);
|
|
6286
6388
|
if (!shouldSkip && (tabContent.offsetWidth > activeContent.offsetWidth)) {
|
|
6287
6389
|
return true;
|
|
@@ -6534,7 +6636,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6534
6636
|
};
|
|
6535
6637
|
Ribbon.prototype.handleContentSize = function (itemEle, isRemoveOverflow) {
|
|
6536
6638
|
var itemContainer = itemEle.closest('.' + RIBBON_GROUP_CONTENT);
|
|
6537
|
-
(isRemoveOverflow
|
|
6639
|
+
if (isRemoveOverflow) {
|
|
6640
|
+
itemContainer.classList.add(RIBBON_CONTENT_HEIGHT);
|
|
6641
|
+
}
|
|
6642
|
+
else {
|
|
6643
|
+
itemContainer.classList.remove(RIBBON_CONTENT_HEIGHT);
|
|
6644
|
+
}
|
|
6538
6645
|
};
|
|
6539
6646
|
Ribbon.prototype.setItemSize = function (itemEle, item) {
|
|
6540
6647
|
if (itemEle) {
|
|
@@ -6743,7 +6850,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6743
6850
|
var previousIndex = getIndex(this.tabs, (function (tab) { return (tab.id === previousTabId); }));
|
|
6744
6851
|
nextIndex = nextIndex === -1 ? this.selectedTab : nextIndex;
|
|
6745
6852
|
var eventArgs = {
|
|
6746
|
-
cancel: e.cancel, isInteracted: e.isInteracted, previousIndex: previousIndex,
|
|
6853
|
+
cancel: e.cancel, isInteracted: e.isInteracted, previousIndex: previousIndex,
|
|
6854
|
+
selectedIndex: nextIndex, isContextual: isContextual
|
|
6747
6855
|
};
|
|
6748
6856
|
this.trigger('tabSelecting', eventArgs, function (args) {
|
|
6749
6857
|
if (args.cancel) {
|
|
@@ -6801,9 +6909,10 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6801
6909
|
this.element.classList.add(RIBBON_SIMPLIFIED_MODE);
|
|
6802
6910
|
}
|
|
6803
6911
|
var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + CONTENT_ID);
|
|
6912
|
+
if (this.ribbonGalleryModule) {
|
|
6913
|
+
this.ribbonGalleryModule.checkAvailableHeight(activeContent);
|
|
6914
|
+
}
|
|
6804
6915
|
this.checkOverflow(this.selectedTab, activeContent);
|
|
6805
|
-
if (this.activeLayout === 'Classic' && this.ribbonGalleryModule)
|
|
6806
|
-
this.ribbonGalleryModule.checkAvailableHeight(this.selectedTab, activeContent);
|
|
6807
6916
|
};
|
|
6808
6917
|
Ribbon.prototype.addOverflowButton = function (btnId, isGroupOF) {
|
|
6809
6918
|
var _this = this;
|
|
@@ -6861,7 +6970,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6861
6970
|
items = currentList.getElementsByClassName('e-ribbon-item');
|
|
6862
6971
|
}
|
|
6863
6972
|
var control = items[(!this.itemIndex || this.itemIndex < 0) ? 0 : this.itemIndex].querySelector('.e-control');
|
|
6864
|
-
var comboBoxEle = control && control.classList.contains('e-combobox') ?
|
|
6973
|
+
var comboBoxEle = control && control.classList.contains('e-combobox') ?
|
|
6974
|
+
items[(!this.itemIndex || this.itemIndex < 0) ? 0 : this.itemIndex].querySelector('.e-combobox') : null;
|
|
6865
6975
|
var ribbonItem;
|
|
6866
6976
|
var templateEle;
|
|
6867
6977
|
if (comboBoxEle === null || (e.key === 'Tab') || this.itemIndex < 0) {
|
|
@@ -6918,7 +7028,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6918
7028
|
target.setAttribute('index', this.itemIndex.toString());
|
|
6919
7029
|
}
|
|
6920
7030
|
var currentItemIndex = parseInt(target.getAttribute('index'), 10);
|
|
6921
|
-
var itemType =
|
|
7031
|
+
var itemType = '';
|
|
6922
7032
|
var controlItem = items[parseInt(currentItemIndex.toString(), 10)] ? items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-control') : null;
|
|
6923
7033
|
if (controlItem) {
|
|
6924
7034
|
itemType = controlItem.getAttribute('data-control');
|
|
@@ -6948,12 +7058,20 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6948
7058
|
}
|
|
6949
7059
|
if (((itemType === 'SplitButton') && (e.key === 'ArrowRight' || e.key === 'ArrowLeft'))) {
|
|
6950
7060
|
if (e.key === 'ArrowRight') {
|
|
6951
|
-
this.enableRtl
|
|
7061
|
+
if (this.enableRtl) {
|
|
7062
|
+
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-control').focus();
|
|
7063
|
+
}
|
|
7064
|
+
else {
|
|
6952
7065
|
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-dropdown-btn').focus();
|
|
7066
|
+
}
|
|
6953
7067
|
}
|
|
6954
7068
|
if (e.key === 'ArrowLeft') {
|
|
6955
|
-
this.enableRtl
|
|
7069
|
+
if (this.enableRtl) {
|
|
7070
|
+
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-dropdown-btn').focus();
|
|
7071
|
+
}
|
|
7072
|
+
else {
|
|
6956
7073
|
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-control').focus();
|
|
7074
|
+
}
|
|
6957
7075
|
}
|
|
6958
7076
|
}
|
|
6959
7077
|
if (e.key === 'Enter') {
|
|
@@ -7064,7 +7182,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7064
7182
|
Ribbon.prototype.reRenderTabs = function (tabs) {
|
|
7065
7183
|
this.destroyScroll();
|
|
7066
7184
|
this.checkID(this.tabs, 'tab', this.element.id);
|
|
7067
|
-
for (var
|
|
7185
|
+
for (var _i = 0, _a = Object.keys(tabs); _i < _a.length; _i++) {
|
|
7186
|
+
var key = _a[_i];
|
|
7068
7187
|
var index = parseInt(key, 10);
|
|
7069
7188
|
var tab = tabs[parseInt(index.toString(), 10)];
|
|
7070
7189
|
var isNewTab = false;
|
|
@@ -7109,13 +7228,13 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7109
7228
|
}
|
|
7110
7229
|
// Check whether group is passed by the user, and if it is, then remove the old values.
|
|
7111
7230
|
if (tab.groups) {
|
|
7112
|
-
for (var
|
|
7113
|
-
var group = groups_1[
|
|
7231
|
+
for (var _b = 0, groups_1 = groups; _b < groups_1.length; _b++) {
|
|
7232
|
+
var group = groups_1[_b];
|
|
7114
7233
|
var dropdownElement = group.isCollapsed ? contentEle.querySelector('#' + group.id + OVERFLOW_ID + DROPDOWN_ID) : null;
|
|
7115
|
-
for (var
|
|
7116
|
-
var collection =
|
|
7117
|
-
for (var
|
|
7118
|
-
var item =
|
|
7234
|
+
for (var _c = 0, _d = group.collections; _c < _d.length; _c++) {
|
|
7235
|
+
var collection = _d[_c];
|
|
7236
|
+
for (var _e = 0, _f = collection.items; _e < _f.length; _e++) {
|
|
7237
|
+
var item = _f[_e];
|
|
7119
7238
|
var ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) : contentEle.querySelector('#' + item.id);
|
|
7120
7239
|
if (ele) {
|
|
7121
7240
|
this.destroyFunction(item, ele);
|
|
@@ -7213,7 +7332,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7213
7332
|
itemEle = groupContainer.querySelector('#' + item.id + CONTAINER_ID);
|
|
7214
7333
|
if (item.displayOptions === (DisplayMode.Classic | DisplayMode.Overflow)) {
|
|
7215
7334
|
this.createOverflowPopup(item, tabIndex, group.enableGroupOverflow, group.id, group.header, itemEle, groupContainer);
|
|
7216
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7335
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7336
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
7217
7337
|
this.updatePopupItems(item, itemEle, group.enableGroupOverflow, true);
|
|
7218
7338
|
}
|
|
7219
7339
|
}
|
|
@@ -7312,7 +7432,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7312
7432
|
var itemEle = groupContainer.querySelector('#' + item.id + CONTAINER_ID);
|
|
7313
7433
|
if (!itemEle && overflowtarget) {
|
|
7314
7434
|
itemEle = overflowtarget.querySelector('#' + item.id + CONTAINER_ID);
|
|
7315
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7435
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7436
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
7316
7437
|
this.updatePopupItems(item, itemEle, group.enableGroupOverflow, false);
|
|
7317
7438
|
}
|
|
7318
7439
|
this.removeOverflowEvent(item, itemEle);
|
|
@@ -7337,7 +7458,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7337
7458
|
}
|
|
7338
7459
|
}
|
|
7339
7460
|
if (group.enableGroupOverflow && overflowDDB) {
|
|
7340
|
-
if (overflowtarget.childElementCount === 0 ||
|
|
7461
|
+
if (overflowtarget.childElementCount === 0 ||
|
|
7462
|
+
(overflowtarget.childElementCount === 1 && this.isHeaderVisible(overflowtarget, group.id))) {
|
|
7341
7463
|
this.removeOverflowButton(overflowDDB);
|
|
7342
7464
|
}
|
|
7343
7465
|
}
|
|
@@ -7450,7 +7572,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7450
7572
|
// eslint-disable-next-line
|
|
7451
7573
|
var groupIndex = initialProps[key].indexOf(groupEle.id);
|
|
7452
7574
|
if (groupIndex !== -1) {
|
|
7453
|
-
key === 'hiddenGroups'
|
|
7575
|
+
if (key === 'hiddenGroups') {
|
|
7576
|
+
groupEle.classList.add('e-hidden');
|
|
7577
|
+
}
|
|
7578
|
+
else {
|
|
7579
|
+
groupEle.classList.add('e-disabled');
|
|
7580
|
+
}
|
|
7454
7581
|
}
|
|
7455
7582
|
};
|
|
7456
7583
|
Ribbon.prototype.validateItemSize = function () {
|
|
@@ -7575,7 +7702,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7575
7702
|
}
|
|
7576
7703
|
if (item.type === RibbonItemType.GroupButton) {
|
|
7577
7704
|
for (var i_7 = 0; i_7 < item.groupButtonSettings.items.length; i_7++) {
|
|
7578
|
-
if (this.keyTipElements[parseInt(tabIndex.toString(), 10)] &&
|
|
7705
|
+
if (this.keyTipElements[parseInt(tabIndex.toString(), 10)] &&
|
|
7706
|
+
item.groupButtonSettings.items[parseInt(i_7.toString(), 10)].keyTip) {
|
|
7579
7707
|
this.addKeyTip(tabIndex, item.groupButtonSettings.items[parseInt(i_7.toString(), 10)].keyTip, item.id + (RIBBON_GROUP_BUTTON_ID + i_7), 'item');
|
|
7580
7708
|
}
|
|
7581
7709
|
}
|
|
@@ -7612,7 +7740,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7612
7740
|
this.createRibbonItem(item, itemEle);
|
|
7613
7741
|
if ((this.activeLayout === 'Simplified') && ((item.displayOptions === DisplayMode.Overflow) || (item.displayOptions === (DisplayMode.Classic | DisplayMode.Overflow)))) {
|
|
7614
7742
|
this.createOverflowPopup(item, tabIndex, isGroupOF, groupId, groupHeader, itemEle, groupContainer);
|
|
7615
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7743
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7744
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
7616
7745
|
this.updatePopupItems(item, itemEle, isGroupOF, true);
|
|
7617
7746
|
}
|
|
7618
7747
|
}
|
|
@@ -7685,8 +7814,6 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7685
7814
|
case 'collection':
|
|
7686
7815
|
listitem.setProperties({ items: this.checkID(listitem.items, 'item', listitem.id) }, true);
|
|
7687
7816
|
break;
|
|
7688
|
-
default:
|
|
7689
|
-
break;
|
|
7690
7817
|
}
|
|
7691
7818
|
}
|
|
7692
7819
|
return list;
|
|
@@ -7832,8 +7959,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7832
7959
|
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) :
|
|
7833
7960
|
contentEle.querySelector('#' + item.id);
|
|
7834
7961
|
if (item.type === RibbonItemType.GroupButton) {
|
|
7835
|
-
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
7836
|
-
contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
7962
|
+
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
7963
|
+
RIBBON_GROUP_BUTTON_ID) : contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
7837
7964
|
}
|
|
7838
7965
|
if (item.type === RibbonItemType.Gallery) {
|
|
7839
7966
|
ele = contentEle.querySelector('#' + item.id + CONTAINER_ID);
|
|
@@ -8000,6 +8127,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8000
8127
|
* Shows a specific tab in the ribbon.
|
|
8001
8128
|
*
|
|
8002
8129
|
* @param {string} tabId - The ID of the tab to be shown.
|
|
8130
|
+
* @param {boolean} isContextual - The boolean if the rendering is contextual.
|
|
8003
8131
|
* @returns {void}
|
|
8004
8132
|
*/
|
|
8005
8133
|
Ribbon.prototype.showTab = function (tabId, isContextual) {
|
|
@@ -8010,6 +8138,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8010
8138
|
* Hides a specific tab in the ribbon.
|
|
8011
8139
|
*
|
|
8012
8140
|
* @param {string} tabId - The ID of the tab to be hidden.
|
|
8141
|
+
* @param {boolean} isContextual - The boolean if the rendering is contextual.
|
|
8013
8142
|
* @returns {void}
|
|
8014
8143
|
*/
|
|
8015
8144
|
Ribbon.prototype.hideTab = function (tabId, isContextual) {
|
|
@@ -8035,7 +8164,9 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8035
8164
|
if (contextualTab_1) {
|
|
8036
8165
|
var isTabHidden = true;
|
|
8037
8166
|
var _loop_5 = function (i) {
|
|
8038
|
-
var index_1 = getIndex(this_5.tabs, function (e) {
|
|
8167
|
+
var index_1 = getIndex(this_5.tabs, function (e) {
|
|
8168
|
+
return e.id === contextualTab_1.tabs[parseInt(i.toString(), 10)].id;
|
|
8169
|
+
});
|
|
8039
8170
|
if (index_1 !== -1) {
|
|
8040
8171
|
var toolbarEle = tabEle.querySelectorAll('.e-toolbar-item')[parseInt(index_1.toString(), 10)];
|
|
8041
8172
|
if (!(toolbarEle.classList.contains('e-hidden'))) {
|
|
@@ -8124,8 +8255,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8124
8255
|
var item = _d[_c];
|
|
8125
8256
|
var ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) : contentEle.querySelector('#' + item.id);
|
|
8126
8257
|
if (item.type === RibbonItemType.GroupButton && this.activeLayout === 'Classic') {
|
|
8127
|
-
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
8128
|
-
contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
8258
|
+
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
8259
|
+
RIBBON_GROUP_BUTTON_ID) : contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
8129
8260
|
}
|
|
8130
8261
|
if (ele) {
|
|
8131
8262
|
this.destroyFunction(item, ele);
|
|
@@ -8223,7 +8354,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8223
8354
|
}
|
|
8224
8355
|
if (this.activeLayout === RibbonLayout.Simplified) {
|
|
8225
8356
|
if (itemProp.group.enableGroupOverflow) {
|
|
8226
|
-
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
8357
|
+
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
8358
|
+
=== 1 && this.isHeaderVisible(dropdown.target, itemProp.group.id))) {
|
|
8227
8359
|
this.removeOverflowButton(dropdown);
|
|
8228
8360
|
}
|
|
8229
8361
|
}
|
|
@@ -8296,13 +8428,23 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8296
8428
|
overflowtarget = overflowDDB.target;
|
|
8297
8429
|
}
|
|
8298
8430
|
if (overflowtarget) {
|
|
8299
|
-
|
|
8431
|
+
if (isHidden) {
|
|
8432
|
+
overflowtarget.classList.add('e-hidden');
|
|
8433
|
+
}
|
|
8434
|
+
else {
|
|
8435
|
+
overflowtarget.classList.remove('e-hidden');
|
|
8436
|
+
}
|
|
8300
8437
|
}
|
|
8301
8438
|
}
|
|
8302
8439
|
else if (ofTabContainer) {
|
|
8303
8440
|
var grpContainer = ofTabContainer.querySelector('#' + groupID + CONTAINER_ID);
|
|
8304
8441
|
if (grpContainer) {
|
|
8305
|
-
|
|
8442
|
+
if (isHidden) {
|
|
8443
|
+
grpContainer.classList.add('e-hidden');
|
|
8444
|
+
}
|
|
8445
|
+
else {
|
|
8446
|
+
grpContainer.classList.remove('e-hidden');
|
|
8447
|
+
}
|
|
8306
8448
|
}
|
|
8307
8449
|
}
|
|
8308
8450
|
}
|
|
@@ -8340,38 +8482,35 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8340
8482
|
hiddenProps = this.hiddenElements[parseInt(tabIndex.toString(), 10)];
|
|
8341
8483
|
}
|
|
8342
8484
|
if (hiddenProps) {
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
hiddenProps[key] = [];
|
|
8485
|
+
if (!hiddenProps["" + key]) {
|
|
8486
|
+
hiddenProps["" + key] = [];
|
|
8346
8487
|
}
|
|
8347
|
-
if (hiddenProps[key].length) {
|
|
8348
|
-
var index = hiddenProps[key].indexOf(id);
|
|
8488
|
+
if (hiddenProps["" + key].length) {
|
|
8489
|
+
var index = hiddenProps["" + key].indexOf(id);
|
|
8349
8490
|
if (index === -1) {
|
|
8350
|
-
hiddenProps[key].push(id);
|
|
8491
|
+
hiddenProps["" + key].push(id);
|
|
8351
8492
|
}
|
|
8352
8493
|
}
|
|
8353
8494
|
else {
|
|
8354
|
-
hiddenProps[key].push(id);
|
|
8495
|
+
hiddenProps["" + key].push(id);
|
|
8355
8496
|
}
|
|
8356
|
-
/* eslint-enable */
|
|
8357
8497
|
}
|
|
8358
8498
|
}
|
|
8359
8499
|
};
|
|
8360
8500
|
Ribbon.prototype.updateItemsSimplifiedWidth = function (tabIndex, key) {
|
|
8361
8501
|
var hiddenProps = this.hiddenElements[parseInt(tabIndex.toString(), 10)];
|
|
8362
|
-
|
|
8363
|
-
if (hiddenProps && hiddenProps[key] && hiddenProps[key].length) {
|
|
8502
|
+
if (hiddenProps && hiddenProps["" + key] && hiddenProps["" + key].length) {
|
|
8364
8503
|
var _loop_6 = function (i) {
|
|
8365
|
-
var contentEle = this_6.tabObj.items[tabIndex].content;
|
|
8504
|
+
var contentEle = this_6.tabObj.items[parseInt(tabIndex.toString(), 10)].content;
|
|
8366
8505
|
var hiddenEle;
|
|
8367
8506
|
var groupEle = void 0;
|
|
8368
8507
|
var isGroupHidden = false;
|
|
8369
8508
|
var widthDifference = 0;
|
|
8370
8509
|
if (key === 'hideGroup' || key === 'showGroup') {
|
|
8371
|
-
hiddenEle = contentEle.querySelector('#' + hiddenProps[key][i]);
|
|
8510
|
+
hiddenEle = contentEle.querySelector('#' + hiddenProps["" + key][parseInt(i.toString(), 10)]);
|
|
8372
8511
|
}
|
|
8373
8512
|
else {
|
|
8374
|
-
hiddenEle = contentEle.querySelector('#' + hiddenProps[key][i] + CONTAINER_ID);
|
|
8513
|
+
hiddenEle = contentEle.querySelector('#' + hiddenProps["" + key][parseInt(i.toString(), 10)] + CONTAINER_ID);
|
|
8375
8514
|
}
|
|
8376
8515
|
if (hiddenEle) {
|
|
8377
8516
|
if (key === 'hideGroup' || key === 'hideItem') {
|
|
@@ -8431,15 +8570,15 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8431
8570
|
groupEle.classList.add('e-ribbon-emptyCollection');
|
|
8432
8571
|
}
|
|
8433
8572
|
}
|
|
8434
|
-
var index = hiddenProps[key].indexOf(hiddenProps[key][i]);
|
|
8573
|
+
var index = hiddenProps["" + key].indexOf(hiddenProps["" + key][parseInt(i.toString(), 10)]);
|
|
8435
8574
|
if (index !== -1) {
|
|
8436
|
-
hiddenProps[key].splice(index, 1);
|
|
8575
|
+
hiddenProps["" + key].splice(index, 1);
|
|
8437
8576
|
i--;
|
|
8438
8577
|
}
|
|
8439
8578
|
out_i_1 = i;
|
|
8440
8579
|
};
|
|
8441
8580
|
var this_6 = this, out_i_1;
|
|
8442
|
-
for (var i = 0; i < hiddenProps[key].length; i++) {
|
|
8581
|
+
for (var i = 0; i < hiddenProps["" + key].length; i++) {
|
|
8443
8582
|
_loop_6(i);
|
|
8444
8583
|
i = out_i_1;
|
|
8445
8584
|
}
|
|
@@ -8573,7 +8712,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8573
8712
|
var contentEle = this.tabObj.items[itemProp.tabIndex].content;
|
|
8574
8713
|
var groupEle = contentEle.querySelector('#' + groupID);
|
|
8575
8714
|
if (groupEle) {
|
|
8576
|
-
|
|
8715
|
+
if (isDisabled) {
|
|
8716
|
+
groupEle.classList.add('e-disabled');
|
|
8717
|
+
}
|
|
8718
|
+
else {
|
|
8719
|
+
groupEle.classList.remove('e-disabled');
|
|
8720
|
+
}
|
|
8577
8721
|
}
|
|
8578
8722
|
else {
|
|
8579
8723
|
this.updateInitialProps(itemProp.tabIndex, groupID, 'disabledGroups', isDisabled);
|
|
@@ -8588,13 +8732,23 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8588
8732
|
overflowtarget = overflowDDB.target;
|
|
8589
8733
|
}
|
|
8590
8734
|
if (overflowtarget) {
|
|
8591
|
-
|
|
8735
|
+
if (isDisabled) {
|
|
8736
|
+
overflowtarget.classList.add('e-disabled');
|
|
8737
|
+
}
|
|
8738
|
+
else {
|
|
8739
|
+
overflowtarget.classList.remove('e-disabled');
|
|
8740
|
+
}
|
|
8592
8741
|
}
|
|
8593
8742
|
}
|
|
8594
8743
|
else if (ofTabContainer) {
|
|
8595
8744
|
var grpContainer = ofTabContainer.querySelector('#' + groupID + CONTAINER_ID);
|
|
8596
8745
|
if (grpContainer) {
|
|
8597
|
-
|
|
8746
|
+
if (isDisabled) {
|
|
8747
|
+
grpContainer.classList.add('e-disabled');
|
|
8748
|
+
}
|
|
8749
|
+
else {
|
|
8750
|
+
grpContainer.classList.remove('e-disabled');
|
|
8751
|
+
}
|
|
8598
8752
|
}
|
|
8599
8753
|
}
|
|
8600
8754
|
}
|
|
@@ -8820,19 +8974,22 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8820
8974
|
initialProps = this.initialPropsData[parseInt(tabIndex.toString(), 10)];
|
|
8821
8975
|
}
|
|
8822
8976
|
if (initialProps) {
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
var itemIndex = initialProps[key].indexOf(id);
|
|
8977
|
+
if (!initialProps["" + key]) {
|
|
8978
|
+
initialProps["" + key] = [];
|
|
8979
|
+
}
|
|
8980
|
+
var itemIndex = initialProps["" + key].indexOf(id);
|
|
8827
8981
|
if (isInsert) {
|
|
8828
|
-
if (itemIndex === -1)
|
|
8829
|
-
initialProps[key].push(id);
|
|
8982
|
+
if (itemIndex === -1) {
|
|
8983
|
+
initialProps["" + key].push(id);
|
|
8984
|
+
}
|
|
8830
8985
|
}
|
|
8831
8986
|
else {
|
|
8832
|
-
if (itemIndex !== -1)
|
|
8833
|
-
initialProps[key].splice(itemIndex, 1);
|
|
8834
|
-
|
|
8835
|
-
|
|
8987
|
+
if (itemIndex !== -1) {
|
|
8988
|
+
initialProps["" + key].splice(itemIndex, 1);
|
|
8989
|
+
}
|
|
8990
|
+
if (initialProps["" + key].length === 0) {
|
|
8991
|
+
delete initialProps["" + key];
|
|
8992
|
+
}
|
|
8836
8993
|
if (Object.keys(initialProps).length === 0) {
|
|
8837
8994
|
delete this.initialPropsData[parseInt(tabIndex.toString(), 10)];
|
|
8838
8995
|
}
|
|
@@ -8893,7 +9050,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8893
9050
|
overflowtarget = overflowDDB.target;
|
|
8894
9051
|
}
|
|
8895
9052
|
if (overflowtarget) {
|
|
8896
|
-
|
|
9053
|
+
if (isHidden) {
|
|
9054
|
+
overflowtarget.classList.add('e-hide-group');
|
|
9055
|
+
}
|
|
9056
|
+
else {
|
|
9057
|
+
overflowtarget.classList.remove('e-hide-group');
|
|
9058
|
+
}
|
|
8897
9059
|
}
|
|
8898
9060
|
}
|
|
8899
9061
|
else {
|
|
@@ -8903,7 +9065,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8903
9065
|
if (ofTabContainer) {
|
|
8904
9066
|
var grpContainer = ofTabContainer.querySelector('#' + groupID + CONTAINER_ID);
|
|
8905
9067
|
if (grpContainer) {
|
|
8906
|
-
|
|
9068
|
+
if (isHidden) {
|
|
9069
|
+
grpContainer.classList.add('e-hide-group');
|
|
9070
|
+
}
|
|
9071
|
+
else {
|
|
9072
|
+
grpContainer.classList.remove('e-hide-group');
|
|
9073
|
+
}
|
|
8907
9074
|
}
|
|
8908
9075
|
}
|
|
8909
9076
|
}
|
|
@@ -8943,8 +9110,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8943
9110
|
var item = _d[_c];
|
|
8944
9111
|
var ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) : contentEle.querySelector('#' + item.id);
|
|
8945
9112
|
if (item.type === RibbonItemType.GroupButton && this.activeLayout === 'Classic') {
|
|
8946
|
-
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
8947
|
-
contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
9113
|
+
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
9114
|
+
RIBBON_GROUP_BUTTON_ID) : contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
8948
9115
|
}
|
|
8949
9116
|
if (ele) {
|
|
8950
9117
|
this.destroyFunction(item, ele);
|
|
@@ -9050,7 +9217,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9050
9217
|
}
|
|
9051
9218
|
if (this.activeLayout === RibbonLayout.Simplified) {
|
|
9052
9219
|
if (itemProp.group.enableGroupOverflow) {
|
|
9053
|
-
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
9220
|
+
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
9221
|
+
=== 1 && this.isHeaderVisible(dropdown.target, itemProp.group.id))) {
|
|
9054
9222
|
this.removeOverflowButton(dropdown);
|
|
9055
9223
|
}
|
|
9056
9224
|
}
|
|
@@ -9348,7 +9516,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9348
9516
|
* Gets the Ribbon item model associated with the specified item ID.
|
|
9349
9517
|
*
|
|
9350
9518
|
* @param {string} itemId - The unique ID of the Ribbon item.
|
|
9351
|
-
* @returns {RibbonItemModel}
|
|
9519
|
+
* @returns {RibbonItemModel} - Returns the Ribbon item model.
|
|
9352
9520
|
*/
|
|
9353
9521
|
Ribbon.prototype.getItem = function (itemId) {
|
|
9354
9522
|
return getItem(this.tabs, itemId).item;
|
|
@@ -9370,7 +9538,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9370
9538
|
if (ele) {
|
|
9371
9539
|
var itemEle = closest(ele, '.e-ribbon-item');
|
|
9372
9540
|
var moduleName = this.getItemModuleName(itemProp.item);
|
|
9373
|
-
isUpdated = isDisabled ? !itemEle.classList.contains(DISABLED_CSS) :
|
|
9541
|
+
isUpdated = isDisabled ? !itemEle.classList.contains(DISABLED_CSS) :
|
|
9542
|
+
itemEle.classList.contains(DISABLED_CSS);
|
|
9374
9543
|
if (moduleName !== 'template') {
|
|
9375
9544
|
if (isUpdated) {
|
|
9376
9545
|
if (moduleName === 'group-btn' && this.activeLayout === 'Simplified') {
|
|
@@ -9511,13 +9680,14 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9511
9680
|
}
|
|
9512
9681
|
}
|
|
9513
9682
|
break;
|
|
9514
|
-
case 'selectedTab':
|
|
9683
|
+
case 'selectedTab': {
|
|
9515
9684
|
var tabEle = this.tabObj.element;
|
|
9516
9685
|
var toolbarItem = tabEle.querySelectorAll('.e-toolbar-item')[parseInt(newProp.selectedTab.toString(), 10)];
|
|
9517
9686
|
if (!(toolbarItem.classList.contains('e-hidden') || toolbarItem.classList.contains('e-disable'))) {
|
|
9518
9687
|
this.tabObj.setProperties({ selectedItem: newProp.selectedTab });
|
|
9519
9688
|
}
|
|
9520
9689
|
break;
|
|
9690
|
+
}
|
|
9521
9691
|
case 'tabAnimation':
|
|
9522
9692
|
this.tabObj.setProperties({ animation: newProp.tabAnimation });
|
|
9523
9693
|
break;
|
|
@@ -9535,21 +9705,23 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9535
9705
|
this.element.style.width = formatUnit(newProp.width);
|
|
9536
9706
|
this.refreshLayout();
|
|
9537
9707
|
break;
|
|
9538
|
-
case 'fileMenu':
|
|
9708
|
+
case 'fileMenu': {
|
|
9539
9709
|
if (this.ribbonFileMenuModule) {
|
|
9540
9710
|
this.ribbonFileMenuModule.updateFileMenu(this.fileMenu);
|
|
9541
9711
|
}
|
|
9542
9712
|
var toolbarEle = this.tabObj['tbObj'];
|
|
9543
9713
|
toolbarEle.refreshOverflow();
|
|
9544
9714
|
break;
|
|
9545
|
-
|
|
9715
|
+
}
|
|
9716
|
+
case 'backStageMenu': {
|
|
9546
9717
|
if (this.ribbonBackstageModule) {
|
|
9547
9718
|
this.ribbonBackstageModule.updateBackStageMenu(this.backStageMenu);
|
|
9548
9719
|
}
|
|
9549
9720
|
var toolbarElement = this.tabObj['tbObj'];
|
|
9550
9721
|
toolbarElement.refreshOverflow();
|
|
9551
9722
|
break;
|
|
9552
|
-
|
|
9723
|
+
}
|
|
9724
|
+
case 'helpPaneTemplate': {
|
|
9553
9725
|
if (this.ribbonTempEle) {
|
|
9554
9726
|
remove(this.ribbonTempEle);
|
|
9555
9727
|
this.ribbonTempEle = null;
|
|
@@ -9561,95 +9733,97 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9561
9733
|
var toolbar_1 = this.tabObj['tbObj'];
|
|
9562
9734
|
toolbar_1.refreshOverflow();
|
|
9563
9735
|
break;
|
|
9736
|
+
}
|
|
9564
9737
|
case 'hideLayoutSwitcher':
|
|
9565
|
-
this.hideLayoutSwitcher
|
|
9738
|
+
if (this.hideLayoutSwitcher) {
|
|
9739
|
+
this.removeExpandCollapse();
|
|
9740
|
+
}
|
|
9741
|
+
else {
|
|
9742
|
+
this.addExpandCollapse();
|
|
9743
|
+
}
|
|
9566
9744
|
break;
|
|
9567
9745
|
}
|
|
9568
9746
|
}
|
|
9569
9747
|
};
|
|
9570
9748
|
var Ribbon_1;
|
|
9571
|
-
__decorate([
|
|
9749
|
+
__decorate$l([
|
|
9572
9750
|
Property('Classic')
|
|
9573
9751
|
], Ribbon.prototype, "activeLayout", void 0);
|
|
9574
|
-
__decorate([
|
|
9752
|
+
__decorate$l([
|
|
9575
9753
|
Property('')
|
|
9576
9754
|
], Ribbon.prototype, "cssClass", void 0);
|
|
9577
|
-
__decorate([
|
|
9755
|
+
__decorate$l([
|
|
9578
9756
|
Property(false)
|
|
9579
9757
|
], Ribbon.prototype, "enableKeyTips", void 0);
|
|
9580
|
-
__decorate([
|
|
9758
|
+
__decorate$l([
|
|
9581
9759
|
Property('')
|
|
9582
9760
|
], Ribbon.prototype, "layoutSwitcherKeyTip", void 0);
|
|
9583
|
-
__decorate([
|
|
9761
|
+
__decorate$l([
|
|
9584
9762
|
Complex({}, FileMenuSettings)
|
|
9585
9763
|
], Ribbon.prototype, "fileMenu", void 0);
|
|
9586
|
-
__decorate([
|
|
9764
|
+
__decorate$l([
|
|
9587
9765
|
Complex({}, BackStageMenu)
|
|
9588
9766
|
], Ribbon.prototype, "backStageMenu", void 0);
|
|
9589
|
-
__decorate([
|
|
9767
|
+
__decorate$l([
|
|
9590
9768
|
Property('')
|
|
9591
9769
|
], Ribbon.prototype, "launcherIconCss", void 0);
|
|
9592
|
-
__decorate([
|
|
9770
|
+
__decorate$l([
|
|
9593
9771
|
Property(false)
|
|
9594
9772
|
], Ribbon.prototype, "isMinimized", void 0);
|
|
9595
|
-
__decorate([
|
|
9773
|
+
__decorate$l([
|
|
9596
9774
|
Property('en-us')
|
|
9597
9775
|
], Ribbon.prototype, "locale", void 0);
|
|
9598
|
-
__decorate([
|
|
9776
|
+
__decorate$l([
|
|
9599
9777
|
Property(0)
|
|
9600
9778
|
], Ribbon.prototype, "selectedTab", void 0);
|
|
9601
|
-
__decorate([
|
|
9779
|
+
__decorate$l([
|
|
9602
9780
|
Complex({}, TabAnimationSettings)
|
|
9603
9781
|
], Ribbon.prototype, "tabAnimation", void 0);
|
|
9604
|
-
__decorate([
|
|
9782
|
+
__decorate$l([
|
|
9605
9783
|
Collection([], RibbonTab)
|
|
9606
9784
|
], Ribbon.prototype, "tabs", void 0);
|
|
9607
|
-
__decorate([
|
|
9785
|
+
__decorate$l([
|
|
9608
9786
|
Collection([], RibbonContextualTabSettings)
|
|
9609
9787
|
], Ribbon.prototype, "contextualTabs", void 0);
|
|
9610
|
-
__decorate([
|
|
9788
|
+
__decorate$l([
|
|
9611
9789
|
Property('100%')
|
|
9612
9790
|
], Ribbon.prototype, "width", void 0);
|
|
9613
|
-
__decorate([
|
|
9791
|
+
__decorate$l([
|
|
9614
9792
|
Property('')
|
|
9615
9793
|
], Ribbon.prototype, "helpPaneTemplate", void 0);
|
|
9616
|
-
__decorate([
|
|
9794
|
+
__decorate$l([
|
|
9617
9795
|
Property(false)
|
|
9618
9796
|
], Ribbon.prototype, "hideLayoutSwitcher", void 0);
|
|
9619
|
-
__decorate([
|
|
9797
|
+
__decorate$l([
|
|
9620
9798
|
Event()
|
|
9621
9799
|
], Ribbon.prototype, "tabSelecting", void 0);
|
|
9622
|
-
__decorate([
|
|
9800
|
+
__decorate$l([
|
|
9623
9801
|
Event()
|
|
9624
9802
|
], Ribbon.prototype, "tabSelected", void 0);
|
|
9625
|
-
__decorate([
|
|
9803
|
+
__decorate$l([
|
|
9626
9804
|
Event()
|
|
9627
9805
|
], Ribbon.prototype, "ribbonExpanding", void 0);
|
|
9628
|
-
__decorate([
|
|
9806
|
+
__decorate$l([
|
|
9629
9807
|
Event()
|
|
9630
9808
|
], Ribbon.prototype, "ribbonCollapsing", void 0);
|
|
9631
|
-
__decorate([
|
|
9809
|
+
__decorate$l([
|
|
9632
9810
|
Event()
|
|
9633
9811
|
], Ribbon.prototype, "launcherIconClick", void 0);
|
|
9634
|
-
__decorate([
|
|
9812
|
+
__decorate$l([
|
|
9635
9813
|
Event()
|
|
9636
9814
|
], Ribbon.prototype, "created", void 0);
|
|
9637
|
-
__decorate([
|
|
9815
|
+
__decorate$l([
|
|
9638
9816
|
Event()
|
|
9639
9817
|
], Ribbon.prototype, "overflowPopupOpen", void 0);
|
|
9640
|
-
__decorate([
|
|
9818
|
+
__decorate$l([
|
|
9641
9819
|
Event()
|
|
9642
9820
|
], Ribbon.prototype, "overflowPopupClose", void 0);
|
|
9643
|
-
Ribbon = Ribbon_1 = __decorate([
|
|
9821
|
+
Ribbon = Ribbon_1 = __decorate$l([
|
|
9644
9822
|
NotifyPropertyChanges
|
|
9645
9823
|
], Ribbon);
|
|
9646
9824
|
return Ribbon;
|
|
9647
9825
|
}(Component));
|
|
9648
9826
|
|
|
9649
|
-
/**
|
|
9650
|
-
* Ribbon modules
|
|
9651
|
-
*/
|
|
9652
|
-
|
|
9653
9827
|
/**
|
|
9654
9828
|
* Defines the items of Ribbon.
|
|
9655
9829
|
*/
|
|
@@ -9984,7 +10158,7 @@ var RibbonFileMenu = /** @__PURE__ @class */ (function () {
|
|
|
9984
10158
|
return RibbonFileMenu;
|
|
9985
10159
|
}());
|
|
9986
10160
|
|
|
9987
|
-
var __extends$
|
|
10161
|
+
var __extends$m = (undefined && undefined.__extends) || (function () {
|
|
9988
10162
|
var extendStatics = function (d, b) {
|
|
9989
10163
|
extendStatics = Object.setPrototypeOf ||
|
|
9990
10164
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10001,16 +10175,16 @@ var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
|
10001
10175
|
* Defines the items of Ribbon.
|
|
10002
10176
|
*/
|
|
10003
10177
|
var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
10004
|
-
__extends$
|
|
10178
|
+
__extends$m(RibbonBackstage, _super);
|
|
10005
10179
|
function RibbonBackstage(parent) {
|
|
10006
10180
|
var _this = _super.call(this) || this;
|
|
10007
10181
|
_this.parent = parent;
|
|
10008
10182
|
return _this;
|
|
10009
10183
|
}
|
|
10010
10184
|
/**
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10185
|
+
* @private
|
|
10186
|
+
* @returns {void}
|
|
10187
|
+
*/
|
|
10014
10188
|
RibbonBackstage.prototype.render = function () {
|
|
10015
10189
|
// render code
|
|
10016
10190
|
};
|
|
@@ -10112,6 +10286,8 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10112
10286
|
if (firstMenuEle) {
|
|
10113
10287
|
firstMenuEle.classList.add('e-selected');
|
|
10114
10288
|
firstMenuEle.focus();
|
|
10289
|
+
_this.menuIndex = 0;
|
|
10290
|
+
_this.isCloseBtn = false;
|
|
10115
10291
|
}
|
|
10116
10292
|
_this.createBackStageContent(_this.menuCtrl.items[0].id, item.content);
|
|
10117
10293
|
break;
|
|
@@ -10176,7 +10352,8 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10176
10352
|
});
|
|
10177
10353
|
var targetEle;
|
|
10178
10354
|
if (backStageOptions.target) {
|
|
10179
|
-
targetEle = backStageOptions.target instanceof HTMLElement ? backStageOptions.target :
|
|
10355
|
+
targetEle = backStageOptions.target instanceof HTMLElement ? backStageOptions.target :
|
|
10356
|
+
document.querySelector(backStageOptions.target);
|
|
10180
10357
|
targetEle.appendChild(this.popupHTMLElement);
|
|
10181
10358
|
}
|
|
10182
10359
|
else {
|
|
@@ -10191,10 +10368,47 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10191
10368
|
if (this.parent.enableRtl) {
|
|
10192
10369
|
this.updatePopupPositionOnRtl(this.parent.enableRtl);
|
|
10193
10370
|
}
|
|
10194
|
-
this.popupHTMLElement.onkeydown = function (e) { if (e.code === 'Escape') {
|
|
10195
|
-
_this.hideBackstage();
|
|
10196
|
-
} };
|
|
10197
10371
|
this.hideBackstage();
|
|
10372
|
+
EventHandler.add(this.popupHTMLElement, 'keyup', function (e) {
|
|
10373
|
+
if (e.code === 'Escape') {
|
|
10374
|
+
_this.hideBackstage();
|
|
10375
|
+
}
|
|
10376
|
+
_this.handleNavigation(e);
|
|
10377
|
+
}, this);
|
|
10378
|
+
};
|
|
10379
|
+
RibbonBackstage.prototype.handleNavigation = function (e) {
|
|
10380
|
+
var closeBtnEle = this.popupHTMLElement.querySelector('.e-ribbon-close-btn');
|
|
10381
|
+
var menuItems = this.popupHTMLElement.querySelectorAll('.e-menu-item');
|
|
10382
|
+
var arrowUp = e.key === 'ArrowUp';
|
|
10383
|
+
var arrowDown = e.key === 'ArrowDown';
|
|
10384
|
+
if (arrowUp || arrowDown) {
|
|
10385
|
+
if ((arrowUp && this.menuIndex > 0) || (arrowDown && this.menuIndex < menuItems.length - 1 && !this.isCloseBtn)) {
|
|
10386
|
+
this.menuIndex = arrowUp ? this.menuIndex - 1 : this.menuIndex + 1;
|
|
10387
|
+
}
|
|
10388
|
+
else {
|
|
10389
|
+
if (closeBtnEle && !this.isCloseBtn) {
|
|
10390
|
+
closeBtnEle.focus();
|
|
10391
|
+
this.isCloseBtn = true;
|
|
10392
|
+
}
|
|
10393
|
+
else {
|
|
10394
|
+
this.menuIndex = arrowUp ? menuItems.length - 1 : 0;
|
|
10395
|
+
this.isCloseBtn = false;
|
|
10396
|
+
}
|
|
10397
|
+
}
|
|
10398
|
+
for (var i = 0; i < menuItems.length; i++) {
|
|
10399
|
+
menuItems[parseInt(i.toString(), 10)].classList.remove('e-focused');
|
|
10400
|
+
}
|
|
10401
|
+
if (!this.isCloseBtn) {
|
|
10402
|
+
if (arrowUp && menuItems[this.menuIndex].classList.contains('e-separator')) {
|
|
10403
|
+
this.menuIndex--;
|
|
10404
|
+
}
|
|
10405
|
+
else if (arrowDown && menuItems[this.menuIndex].classList.contains('e-separator')) {
|
|
10406
|
+
this.menuIndex++;
|
|
10407
|
+
}
|
|
10408
|
+
menuItems[this.menuIndex].classList.add('e-focused');
|
|
10409
|
+
menuItems[this.menuIndex].focus();
|
|
10410
|
+
}
|
|
10411
|
+
}
|
|
10198
10412
|
};
|
|
10199
10413
|
RibbonBackstage.prototype.updatePopupPositionOnRtl = function (enableRtl) {
|
|
10200
10414
|
var popupStyle = this.popupHTMLElement.style;
|
|
@@ -10349,11 +10563,13 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10349
10563
|
var item = menuOptions.items[parseInt(i.toString(), 10)];
|
|
10350
10564
|
if (item.text === args.item.text) {
|
|
10351
10565
|
this.contentItem = item;
|
|
10566
|
+
this.menuIndex = i;
|
|
10352
10567
|
break;
|
|
10353
10568
|
}
|
|
10354
10569
|
}
|
|
10355
10570
|
this.createBackStageContent(args.item.id, this.contentItem.content);
|
|
10356
|
-
var eventArgs = { cancel: false, target: args.element,
|
|
10571
|
+
var eventArgs = { cancel: false, target: args.element,
|
|
10572
|
+
item: this.contentItem, isBackButton: this.isBackButtonClicked };
|
|
10357
10573
|
if (this.contentItem.backStageItemClick) {
|
|
10358
10574
|
this.contentItem.backStageItemClick.call(this, eventArgs);
|
|
10359
10575
|
}
|
|
@@ -10373,8 +10589,9 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10373
10589
|
this.backstageButton.setProperties(commonProp);
|
|
10374
10590
|
if (this.popupEle) {
|
|
10375
10591
|
this.popupEle.setProperties(commonProp);
|
|
10376
|
-
if (this.popupHTMLElement)
|
|
10592
|
+
if (this.popupHTMLElement) {
|
|
10377
10593
|
this.updatePopupPositionOnRtl(commonProp.enableRtl);
|
|
10594
|
+
}
|
|
10378
10595
|
if (this.menuCtrl) {
|
|
10379
10596
|
this.menuCtrl.setProperties(commonProp);
|
|
10380
10597
|
if (this.closeBtn) {
|
|
@@ -10407,7 +10624,7 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10407
10624
|
this.popupEle.setProperties({
|
|
10408
10625
|
height: backStageOptions.height,
|
|
10409
10626
|
width: backStageOptions.width,
|
|
10410
|
-
target: backStageOptions.target || this.parent.element
|
|
10627
|
+
target: backStageOptions.target || this.parent.element
|
|
10411
10628
|
});
|
|
10412
10629
|
}
|
|
10413
10630
|
if (backStageOptions.template) {
|
|
@@ -10516,10 +10733,20 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10516
10733
|
for (var i = 0; i < items.length; i++) {
|
|
10517
10734
|
var item = items[parseInt(i.toString(), 10)];
|
|
10518
10735
|
if (item.isFooter) {
|
|
10519
|
-
|
|
10736
|
+
if (isAfter) {
|
|
10737
|
+
this.footerMenuCtrl.insertAfter(items, target, isUniqueId);
|
|
10738
|
+
}
|
|
10739
|
+
else {
|
|
10740
|
+
this.footerMenuCtrl.insertBefore(items, target, isUniqueId);
|
|
10741
|
+
}
|
|
10520
10742
|
}
|
|
10521
10743
|
else {
|
|
10522
|
-
|
|
10744
|
+
if (isAfter) {
|
|
10745
|
+
this.menuCtrl.insertAfter(items, target, isUniqueId);
|
|
10746
|
+
}
|
|
10747
|
+
else {
|
|
10748
|
+
this.menuCtrl.insertBefore(items, target, isUniqueId);
|
|
10749
|
+
}
|
|
10523
10750
|
}
|
|
10524
10751
|
}
|
|
10525
10752
|
var backstageItems = [].concat(this.menuCtrl.items, this.footerMenuCtrl.items);
|
|
@@ -10647,11 +10874,14 @@ var RibbonContextualTab = /** @__PURE__ @class */ (function () {
|
|
|
10647
10874
|
if (newProp.tabs) {
|
|
10648
10875
|
var _loop_1 = function (key) {
|
|
10649
10876
|
var index = parseInt(key, 10);
|
|
10650
|
-
var tab = this_1.parent.tabs.filter(function (e) {
|
|
10877
|
+
var tab = this_1.parent.tabs.filter(function (e) {
|
|
10878
|
+
return e.id === contextualTab.tabs[parseInt(index.toString(), 10)].id;
|
|
10879
|
+
})[0];
|
|
10651
10880
|
this_1.parent.updateTab(tab);
|
|
10652
10881
|
};
|
|
10653
10882
|
var this_1 = this;
|
|
10654
|
-
for (var
|
|
10883
|
+
for (var _i = 0, _a = Object.keys(newProp.tabs); _i < _a.length; _i++) {
|
|
10884
|
+
var key = _a[_i];
|
|
10655
10885
|
_loop_1(key);
|
|
10656
10886
|
}
|
|
10657
10887
|
}
|
|
@@ -10686,8 +10916,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10686
10916
|
if (key === 'tab') {
|
|
10687
10917
|
for (var i = 0; i < this.parent.tabs.length; i++) {
|
|
10688
10918
|
if (this.parent.keyTipElements[parseInt(i.toString(), 10)]) {
|
|
10689
|
-
|
|
10690
|
-
keytipData = this.parent.keyTipElements[i][key];
|
|
10919
|
+
keytipData = this.parent.keyTipElements[parseInt(i.toString(), 10)]["" + key];
|
|
10691
10920
|
this.createKeyTipElement((keytipData[0].id), keytipData[0].keyTip, 'tab', 'center', 'bottom', true);
|
|
10692
10921
|
}
|
|
10693
10922
|
}
|
|
@@ -10770,15 +10999,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10770
10999
|
if (isMethod === void 0) { isMethod = false; }
|
|
10771
11000
|
var xOffset;
|
|
10772
11001
|
var yOffset;
|
|
10773
|
-
var keytipData;
|
|
10774
|
-
/* eslint-disable */
|
|
10775
|
-
keytipData = this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)][key];
|
|
11002
|
+
var keytipData = this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)]["" + key];
|
|
10776
11003
|
if (keytipData) {
|
|
10777
|
-
for (var i = 0; i < Object.keys(this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)][key]).length; i++) {
|
|
10778
|
-
/* eslint-enable */
|
|
11004
|
+
for (var i = 0; i < Object.keys(this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)]["" + key]).length; i++) {
|
|
10779
11005
|
if ((isMethod && (keytipData[parseInt(i.toString(), 10)].keyTip === keyTip)) || !isMethod) {
|
|
10780
11006
|
var itemID = keytipData[parseInt(i.toString(), 10)].id;
|
|
10781
|
-
if (keytipData[parseInt(i.toString(), 10)].id.
|
|
11007
|
+
if (keytipData[parseInt(i.toString(), 10)].id.indexOf('_grpbtn') !== -1) {
|
|
10782
11008
|
itemID = keytipData[parseInt(i.toString(), 10)].id.replace(/_grpbtn\d+/, '');
|
|
10783
11009
|
}
|
|
10784
11010
|
var itemProp = getItem(this.parent.tabs, itemID);
|
|
@@ -10806,7 +11032,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10806
11032
|
yOffset = 'bottom';
|
|
10807
11033
|
}
|
|
10808
11034
|
}
|
|
10809
|
-
key === 'item'
|
|
11035
|
+
if (key === 'item') {
|
|
11036
|
+
this.createKeyTipElement((keytipData[parseInt(i.toString(), 10)].id), keytipData[parseInt(i.toString(), 10)].keyTip, key, xOffset, yOffset);
|
|
11037
|
+
}
|
|
11038
|
+
else {
|
|
11039
|
+
this.createKeyTipElement((keytipData[parseInt(i.toString(), 10)].id), keytipData[parseInt(i.toString(), 10)].keyTip, key, xOffset, yOffset, false, true);
|
|
11040
|
+
}
|
|
10810
11041
|
}
|
|
10811
11042
|
}
|
|
10812
11043
|
}
|
|
@@ -10856,13 +11087,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10856
11087
|
enableRtl: this.parent.enableRtl
|
|
10857
11088
|
});
|
|
10858
11089
|
keytipPopup.show();
|
|
10859
|
-
this.calculateKeyTipPosition(keyEle, keytipElement, type, yOffset
|
|
11090
|
+
this.calculateKeyTipPosition(keyEle, keytipElement, type, yOffset);
|
|
10860
11091
|
this.parent.isKeytipOpen = true;
|
|
10861
11092
|
}
|
|
10862
11093
|
}
|
|
10863
11094
|
};
|
|
10864
|
-
RibbonKeyTip.prototype.calculateKeyTipPosition = function (itemEle, keytipElement, type, yOffset
|
|
10865
|
-
if (isTabOverflow === void 0) { isTabOverflow = false; }
|
|
11095
|
+
RibbonKeyTip.prototype.calculateKeyTipPosition = function (itemEle, keytipElement, type, yOffset) {
|
|
10866
11096
|
var position = itemEle.getBoundingClientRect();
|
|
10867
11097
|
if (type === 'backstageMenu') {
|
|
10868
11098
|
keytipElement.style.top = position.top + ((keytipElement.offsetHeight) / 2) + 'px';
|
|
@@ -10884,6 +11114,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10884
11114
|
* Performs keytip action.
|
|
10885
11115
|
*
|
|
10886
11116
|
* @param {string} keyPress - Gets the keytip text.
|
|
11117
|
+
* @param {boolean} isMethod - Gets the isMethod.
|
|
10887
11118
|
* @returns {void}
|
|
10888
11119
|
* @hidden
|
|
10889
11120
|
*/
|
|
@@ -10893,9 +11124,11 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10893
11124
|
this.isKeytipPresent = false;
|
|
10894
11125
|
for (var i = 0; ((i < Object.keys(this.parent.keyTipElements).length) && !this.isKeytipPresent); i++) {
|
|
10895
11126
|
if (this.parent.keyTipElements[parseInt(i.toString(), 10)]) {
|
|
10896
|
-
for (var j = 0; ((j < Object.keys(this.parent.keyTipElements[parseInt(i.toString(), 10)]).length) &&
|
|
10897
|
-
|
|
10898
|
-
|
|
11127
|
+
for (var j = 0; ((j < Object.keys(this.parent.keyTipElements[parseInt(i.toString(), 10)]).length) &&
|
|
11128
|
+
!this.isKeytipPresent); j++) {
|
|
11129
|
+
var keytipData = this.parent.keyTipElements[parseInt(i.toString(), 10)][Object.
|
|
11130
|
+
keys(this.parent.keyTipElements[parseInt(i.toString(), 10)])[parseInt(j.toString(), 10)]];
|
|
11131
|
+
for (var k = 0; ((k < Object.keys(keytipData).length) && !this.isKeytipPresent); k++) {
|
|
10899
11132
|
if (keyPress.toUpperCase() === keytipData[parseInt(k.toString(), 10)].keyTip) {
|
|
10900
11133
|
var keyTipElement = document.querySelector('#' + keytipData[parseInt(k.toString(), 10)].id + RIBBON_KEYTIP_ID);
|
|
10901
11134
|
if (keyTipElement || isMethod) {
|
|
@@ -10906,8 +11139,9 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10906
11139
|
this.parent.tabObj.select(i);
|
|
10907
11140
|
setTimeout(function () {
|
|
10908
11141
|
var tabOverflow = _this.parent.tabObj.element.querySelector('.e-nav-active');
|
|
10909
|
-
if (tabOverflow)
|
|
11142
|
+
if (tabOverflow) {
|
|
10910
11143
|
tabOverflow.click();
|
|
11144
|
+
}
|
|
10911
11145
|
_this.createKeytip('item');
|
|
10912
11146
|
}, 600);
|
|
10913
11147
|
}
|
|
@@ -10922,7 +11156,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10922
11156
|
}
|
|
10923
11157
|
else {
|
|
10924
11158
|
var itemProp = void 0;
|
|
10925
|
-
if ((keytipData[parseInt(k.toString(), 10)].id).
|
|
11159
|
+
if ((keytipData[parseInt(k.toString(), 10)].id).indexOf('_popupButton') !== -1) {
|
|
10926
11160
|
var galleryID = keytipData[parseInt(k.toString(), 10)].id.replace(/_popupButton/g, '');
|
|
10927
11161
|
itemProp = getItem(this.parent.tabs, galleryID);
|
|
10928
11162
|
}
|
|
@@ -10940,7 +11174,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10940
11174
|
if (keyEle) {
|
|
10941
11175
|
var groupID = keytipData[parseInt(k.toString(), 10)].id;
|
|
10942
11176
|
if (isMethod) {
|
|
10943
|
-
if (keytipData[parseInt(k.toString(), 10)].id.
|
|
11177
|
+
if (keytipData[parseInt(k.toString(), 10)].id.indexOf('_launcher') !== -1 || keytipData[parseInt(k.toString(), 10)].id.indexOf('_sim_grp_overflow') !== -1 || keytipData[parseInt(k.toString(), 10)].id.indexOf('_overflow_dropdown') !== -1) {
|
|
10944
11178
|
groupID = keytipData[parseInt(k.toString(), 10)].id.replace(/_launcher|_sim_grp_overflow|_overflow_dropdown/g, '');
|
|
10945
11179
|
var itemProp = getGroup(this.parent.tabs, groupID);
|
|
10946
11180
|
if (itemProp.tabIndex === this.parent.selectedTab) {
|
|
@@ -10971,7 +11205,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10971
11205
|
keyEle.click();
|
|
10972
11206
|
if (!(keytipData[parseInt(k.toString(), 10)].type === 'launcher')) {
|
|
10973
11207
|
this.isKeytipPopupOpen = true;
|
|
10974
|
-
keytipData[parseInt(k.toString(), 10)].type === 'grpoverflow'
|
|
11208
|
+
if (keytipData[parseInt(k.toString(), 10)].type === 'grpoverflow') {
|
|
11209
|
+
this.createKeytip('grpoverflowpopup');
|
|
11210
|
+
}
|
|
11211
|
+
else {
|
|
11212
|
+
this.createKeytip('popupitem');
|
|
11213
|
+
}
|
|
10975
11214
|
}
|
|
10976
11215
|
}
|
|
10977
11216
|
else {
|
|
@@ -11008,21 +11247,24 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11008
11247
|
case 'colorpicker':
|
|
11009
11248
|
this.parent.ribbonColorPickerModule.toggle(itemID);
|
|
11010
11249
|
break;
|
|
11011
|
-
case 'combobox':
|
|
11250
|
+
case 'combobox': {
|
|
11012
11251
|
var itemEle_1 = document.querySelector('#' + itemID);
|
|
11013
11252
|
setTimeout(function () {
|
|
11014
11253
|
itemEle_1.focus();
|
|
11015
11254
|
}, 100);
|
|
11016
11255
|
break;
|
|
11017
|
-
|
|
11256
|
+
}
|
|
11257
|
+
case 'gallery': {
|
|
11018
11258
|
var galleryEle = document.querySelector('#' + itemID);
|
|
11019
11259
|
galleryEle.click();
|
|
11020
11260
|
break;
|
|
11021
|
-
|
|
11261
|
+
}
|
|
11262
|
+
case 'template': {
|
|
11022
11263
|
var templateEle = document.querySelector('#' + itemID);
|
|
11023
11264
|
templateEle.focus();
|
|
11024
11265
|
break;
|
|
11025
|
-
|
|
11266
|
+
}
|
|
11267
|
+
case 'group-btn': {
|
|
11026
11268
|
var itemElement = document.querySelector('#' + itemID);
|
|
11027
11269
|
if (itemElement) {
|
|
11028
11270
|
var item = getInstance(itemElement, DropDownButton);
|
|
@@ -11034,21 +11276,20 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11034
11276
|
}
|
|
11035
11277
|
}
|
|
11036
11278
|
break;
|
|
11279
|
+
}
|
|
11037
11280
|
}
|
|
11038
11281
|
}
|
|
11039
11282
|
};
|
|
11040
11283
|
RibbonKeyTip.prototype.commonItemsKeyTipPress = function (keyPress, key, isMethod) {
|
|
11041
11284
|
var _this = this;
|
|
11042
|
-
|
|
11043
|
-
if (this.parent.keyTipElements[key]) {
|
|
11285
|
+
if (this.parent.keyTipElements["" + key]) {
|
|
11044
11286
|
var isKeyPressed = false;
|
|
11045
|
-
var keytipData = this.parent.keyTipElements[key];
|
|
11287
|
+
var keytipData = this.parent.keyTipElements["" + key];
|
|
11046
11288
|
var keyEle = void 0;
|
|
11047
11289
|
var keytipElement = void 0;
|
|
11048
11290
|
if (keytipData) {
|
|
11049
11291
|
if (key === 'backstageMenu') {
|
|
11050
|
-
for (var i = 0; i < Object.keys(this.parent.keyTipElements[key]).length; i++) {
|
|
11051
|
-
/* eslint-enable */
|
|
11292
|
+
for (var i = 0; i < Object.keys(this.parent.keyTipElements["" + key]).length; i++) {
|
|
11052
11293
|
if (keytipData[parseInt(i.toString(), 10)].keyTip === keyPress.toUpperCase()) {
|
|
11053
11294
|
keyEle = document.querySelector('#' + keytipData[parseInt(i.toString(), 10)].id);
|
|
11054
11295
|
keytipElement = document.querySelector('#' + keyEle.id + RIBBON_KEYTIP_ID);
|
|
@@ -11113,34 +11354,34 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11113
11354
|
var _loop_1 = function (i) {
|
|
11114
11355
|
var keyTipItem = keyTipItems[parseInt(i.toString(), 10)];
|
|
11115
11356
|
if (key === 'Escape' && this_1.parent.keyTipElements && this_1.parent.keyTipElements[this_1.parent.selectedTab]) {
|
|
11116
|
-
/* eslint-disable */
|
|
11117
11357
|
for (var j = 0; j < Object.keys(this_1.parent.keyTipElements[this_1.parent.selectedTab]).length; j++) {
|
|
11118
|
-
var keyText = (Object.keys(this_1.parent.keyTipElements[this_1.parent.selectedTab]))[j];
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11358
|
+
var keyText = (Object.keys(this_1.parent.keyTipElements[parseInt(this_1.parent.selectedTab.toString(), 10)]))[parseInt(j.toString(), 10)];
|
|
11359
|
+
var keyTipElement = this_1.parent.keyTipElements[parseInt(this_1.parent.selectedTab.toString(), 10)];
|
|
11360
|
+
var index = getIndex(keyTipElement["" + keyText], function (e) {
|
|
11361
|
+
return e.id +
|
|
11362
|
+
RIBBON_KEYTIP_ID === keyTipItems[parseInt(i.toString(), 10)].id;
|
|
11363
|
+
});
|
|
11364
|
+
if (index !== -1) {
|
|
11365
|
+
if ((keyText === 'item' && !(this_1.isKeytipPopupOpen)) || (keyText === 'grpoverflow' && this_1.parent.activeLayout === 'Classic')) {
|
|
11366
|
+
this_1.createKeytip('tab');
|
|
11367
|
+
key = '';
|
|
11368
|
+
isKeyTipExist = true;
|
|
11369
|
+
break;
|
|
11370
|
+
}
|
|
11371
|
+
else if (this_1.isKeytipPopupOpen) {
|
|
11372
|
+
if ((keyText === 'popupitem' && this_1.parent.activeLayout === 'Simplified') || (keyText === 'grpoverflowpopup' && this_1.parent.activeLayout === 'Classic')) {
|
|
11373
|
+
this_1.createKeytip('item');
|
|
11125
11374
|
key = '';
|
|
11126
11375
|
isKeyTipExist = true;
|
|
11127
11376
|
break;
|
|
11128
11377
|
}
|
|
11129
|
-
else if (this_1.isKeytipPopupOpen) {
|
|
11130
|
-
if ((keyText === 'popupitem' && this_1.parent.activeLayout === 'Simplified') || (keyText === 'grpoverflowpopup' && this_1.parent.activeLayout === 'Classic')) {
|
|
11131
|
-
this_1.createKeytip('item');
|
|
11132
|
-
key = '';
|
|
11133
|
-
isKeyTipExist = true;
|
|
11134
|
-
break;
|
|
11135
|
-
}
|
|
11136
|
-
}
|
|
11137
11378
|
}
|
|
11138
11379
|
}
|
|
11139
11380
|
}
|
|
11140
11381
|
for (var n = 0; n < Object.keys(this_1.parent.keyTipElements).length; n++) {
|
|
11141
11382
|
if (this_1.parent.keyTipElements[parseInt(n.toString(), 10)]) {
|
|
11142
11383
|
var keytipData = this_1.parent.keyTipElements[parseInt(n.toString(), 10)]['tab'];
|
|
11143
|
-
for (var j = 0; j < keytipData.length; j++) {
|
|
11384
|
+
for (var j = 0; j < Object.keys(keytipData).length; j++) {
|
|
11144
11385
|
if (keyTipItem.id === keytipData[0].id + RIBBON_KEYTIP_ID) {
|
|
11145
11386
|
if (document.querySelector('#' + keytipData[0].id + HEADER_ID).closest('.e-toolbar-pop')) {
|
|
11146
11387
|
var tabOverflow = this_1.parent.tabObj.element.querySelector('.e-nav-active');
|
|
@@ -11177,8 +11418,9 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11177
11418
|
_loop_1(i);
|
|
11178
11419
|
}
|
|
11179
11420
|
this.isKeytipPopupOpen = false;
|
|
11180
|
-
if (!isKeyTipExist)
|
|
11421
|
+
if (!isKeyTipExist) {
|
|
11181
11422
|
this.parent.isKeytipOpen = false;
|
|
11423
|
+
}
|
|
11182
11424
|
};
|
|
11183
11425
|
/**
|
|
11184
11426
|
* Shows the Keytip dynamically.
|
|
@@ -11207,12 +11449,5 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11207
11449
|
return RibbonKeyTip;
|
|
11208
11450
|
}());
|
|
11209
11451
|
|
|
11210
|
-
|
|
11211
|
-
* Ribbon modules
|
|
11212
|
-
*/
|
|
11213
|
-
|
|
11214
|
-
// export all modules from current location
|
|
11215
|
-
// example: export * from './module'
|
|
11216
|
-
|
|
11217
|
-
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 };
|
|
11452
|
+
export { BACKSTAGE_CLOSE_ICON, BackStageMenu, BackstageBackButton, BackstageItem, COLLAPSE_BUTTON_ID, COLLECTION_ID, CONTAINER_ID, CONTENT_ID, DISABLED_CSS, DROPDOWNBUTTON, DROPDOWNBUTTON_HIDE, DROPDOWN_ID, DisplayMode, EXPAND_COLLAPSE_ICON, FileMenuSettings, GROUPOF_BUTTON_ID, GROUP_ID, HEADER_ID, HIDE_CSS, HORIZONTAL_SCROLLBAR, ITEM_ID, ITEM_VERTICAL_CENTER, ItemOrientation, LAUNCHER_ID, OVERFLOW_ICON, OVERFLOW_ID, OVRLOF_BUTTON_ID, RIBBON_BACKSTAGE, RIBBON_BACKSTAGE_CONTENT, RIBBON_BACKSTAGE_ITEMS_WRAPPER, RIBBON_BACKSTAGE_MENU, RIBBON_BACKSTAGE_MENU_ID, RIBBON_BACKSTAGE_MENU_WRAPPER, RIBBON_BACKSTAGE_OPEN, RIBBON_BACKSTAGE_POPUP, RIBBON_BACKSTAGE_POPUP_ID, RIBBON_BACKSTAGE_TEMPLATE, RIBBON_BACKSTAGE_TEXT_MENU, RIBBON_COLLAPSE_BUTTON, RIBBON_COLLAPSIBLE, RIBBON_COLLECTION, RIBBON_COLUMN, RIBBON_CONTENT_HEIGHT, RIBBON_CONTEXTUAL_TAB, RIBBON_CONTROL, RIBBON_EXPAND_BUTTON, RIBBON_FILE_MENU_ID, RIBBON_FILE_MENU_LIST, RIBBON_FILE_MENU_WIDTH, RIBBON_FOOTER_MENU_LIST, RIBBON_GROUP, RIBBON_GROUP_BUTTON, RIBBON_GROUP_BUTTON_CONTENT, RIBBON_GROUP_BUTTON_ID, RIBBON_GROUP_BUTTON_OVERFLOW_POPUP, RIBBON_GROUP_CONTAINER, RIBBON_GROUP_CONTENT, RIBBON_GROUP_HEADER, RIBBON_GROUP_OF_BUTTON, RIBBON_GROUP_OVERFLOW, RIBBON_GROUP_OVERFLOW_DDB, RIBBON_HELP_PANE_TEMPLATE_ID, RIBBON_HELP_PANE_TEMPLATE_WIDTH, RIBBON_HELP_TEMPLATE, RIBBON_HOVER, RIBBON_ITEM, RIBBON_KEYTIP, RIBBON_KEYTIP_ID, RIBBON_LARGE_ITEM, RIBBON_LAUNCHER, RIBBON_LAUNCHER_ICON, RIBBON_LAUNCHER_ICON_ELE, RIBBON_MEDIUM_ITEM, RIBBON_MENU_LIST, RIBBON_MINIMIZE, RIBBON_MULTIPLE_BUTTON_SELECTION, RIBBON_OF_GROUP_CONTAINER, RIBBON_OF_TAB_CONTAINER, RIBBON_OVERALL_OF_BUTTON, RIBBON_OVERFLOW, RIBBON_OVERFLOW_HEADER, RIBBON_OVERFLOW_TARGET, RIBBON_POPUP_CONTROL, RIBBON_POPUP_OPEN, RIBBON_ROW, RIBBON_SELECTED_CONTENT, RIBBON_SIMPLIFIED_MODE, RIBBON_SINGLE_BUTTON_SELECTION, RIBBON_SMALL_ITEM, RIBBON_TAB, RIBBON_TAB_ACTIVE, RIBBON_TAB_ITEM, RIBBON_TEMPLATE, RIBBON_TEXT_CONTAINER, RIBBON_TOOLTIP, RIBBON_TOOLTIP_CONTAINER, RIBBON_TOOLTIP_CONTENT, RIBBON_TOOLTIP_ICON, RIBBON_TOOLTIP_TARGET, RIBBON_TOOLTIP_TITLE, RTL_CSS, Ribbon, RibbonBackstage, RibbonButton, RibbonButtonSettings, RibbonCheckBox, RibbonCheckBoxSettings, RibbonCollection, RibbonColorPicker, RibbonColorPickerSettings, RibbonComboBox, RibbonComboBoxSettings, RibbonContextualTab, RibbonContextualTabSettings, RibbonDropDown, RibbonDropDownSettings, RibbonFileMenu, RibbonGallery, RibbonGalleryGroup, RibbonGalleryItem, RibbonGallerySettings, RibbonGroup, RibbonGroupButton, RibbonGroupButtonItem, RibbonGroupButtonSelection, RibbonGroupButtonSettings, RibbonItem, RibbonItemSize, RibbonItemType, RibbonKeyTip, RibbonLayout, RibbonSplitButton, RibbonSplitButtonSettings, RibbonTab, RibbonTooltip, SPACE, TAB_CONTENT, TAB_ID, VERTICAL_DDB, createTooltip, destroyControl, destroyTooltip, getCollection, getGroup, getIndex, getItem, getItemElement, getTemplateFunction, isTooltipPresent, setCustomAttributes, setToolTipContent, updateCommonProperty, updateControlDisabled, updateTooltipProp };
|
|
11218
11453
|
//# sourceMappingURL=ej2-ribbon.es5.js.map
|