@syncfusion/ej2-ribbon 25.2.5 → 26.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +830 -593
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +821 -578
- 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 +204 -95
- 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 +477 -269
- package/styles/bootstrap-dark.scss +18 -1
- package/styles/bootstrap.css +481 -276
- package/styles/bootstrap.scss +18 -1
- package/styles/bootstrap4.css +480 -272
- package/styles/bootstrap4.scss +18 -1
- package/styles/bootstrap5-dark.css +495 -278
- package/styles/bootstrap5-dark.scss +18 -1
- package/styles/bootstrap5.css +495 -278
- package/styles/bootstrap5.scss +18 -1
- package/styles/fabric-dark.css +476 -269
- package/styles/fabric-dark.scss +18 -1
- package/styles/fabric.css +475 -272
- package/styles/fabric.scss +18 -1
- package/styles/fluent-dark.css +497 -277
- package/styles/fluent-dark.scss +18 -1
- package/styles/fluent.css +497 -277
- package/styles/fluent.scss +18 -1
- package/styles/fluent2.css +3893 -0
- package/styles/fluent2.scss +18 -0
- package/styles/highcontrast-light.css +470 -263
- package/styles/highcontrast-light.scss +17 -1
- package/styles/highcontrast.css +476 -273
- package/styles/highcontrast.scss +18 -1
- package/styles/material-dark.css +565 -283
- package/styles/material-dark.scss +18 -1
- package/styles/material.css +564 -289
- package/styles/material.scss +18 -1
- package/styles/material3-dark.css +521 -280
- package/styles/material3-dark.scss +18 -1
- package/styles/material3.css +521 -280
- package/styles/material3.scss +18 -1
- package/styles/ribbon/_bds-definition.scss +58 -20
- package/styles/ribbon/_bootstrap-dark-definition.scss +58 -20
- package/styles/ribbon/_bootstrap-definition.scss +59 -21
- package/styles/ribbon/_bootstrap4-definition.scss +59 -21
- package/styles/ribbon/_bootstrap5-definition.scss +59 -21
- package/styles/ribbon/_bootstrap5.3-definition.scss +398 -0
- package/styles/ribbon/_fabric-dark-definition.scss +57 -19
- package/styles/ribbon/_fabric-definition.scss +58 -20
- package/styles/ribbon/_fluent-definition.scss +61 -23
- package/styles/ribbon/_fluent2-definition.scss +398 -0
- package/styles/ribbon/_fusionnew-definition.scss +52 -14
- package/styles/ribbon/_highcontrast-definition.scss +60 -22
- package/styles/ribbon/_highcontrast-light-definition.scss +51 -13
- package/styles/ribbon/_layout.scss +371 -399
- package/styles/ribbon/_material-dark-definition.scss +58 -20
- package/styles/ribbon/_material-definition.scss +58 -20
- package/styles/ribbon/_material3-definition.scss +58 -19
- package/styles/ribbon/_tailwind-definition.scss +58 -20
- package/styles/ribbon/_theme.scss +118 -170
- package/styles/ribbon/bootstrap-dark.css +477 -269
- package/styles/ribbon/bootstrap.css +481 -276
- package/styles/ribbon/bootstrap4.css +480 -272
- package/styles/ribbon/bootstrap5-dark.css +495 -278
- package/styles/ribbon/bootstrap5.css +495 -278
- package/styles/ribbon/fabric-dark.css +476 -269
- package/styles/ribbon/fabric.css +475 -272
- package/styles/ribbon/fluent-dark.css +497 -277
- package/styles/ribbon/fluent.css +497 -277
- package/styles/ribbon/fluent2.css +3893 -0
- package/styles/ribbon/fluent2.scss +18 -0
- package/styles/ribbon/highcontrast-light.css +470 -263
- package/styles/ribbon/highcontrast.css +476 -273
- package/styles/ribbon/icons/_bootstrap5.3.scss +9 -0
- package/styles/ribbon/icons/_fluent2.scss +9 -0
- package/styles/ribbon/material-dark.css +565 -283
- package/styles/ribbon/material.css +564 -289
- package/styles/ribbon/material3-dark.css +521 -280
- package/styles/ribbon/material3.css +521 -280
- package/styles/ribbon/tailwind-dark.css +531 -280
- package/styles/ribbon/tailwind.css +531 -280
- package/styles/tailwind-dark.css +531 -280
- package/styles/tailwind-dark.scss +18 -1
- package/styles/tailwind.css +531 -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));
|
|
4692
|
+
}
|
|
4693
|
+
if (galleryItemPopup) {
|
|
4694
|
+
galleryItemPopup.classList.add('e-ribbon-gallery-selected');
|
|
4615
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 () {
|
|
@@ -5332,6 +5410,11 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5332
5410
|
var selectedTabId = e.selectedItem.getAttribute('data-id');
|
|
5333
5411
|
var selectedIndex = getIndex(this.tabs, (function (tab) { return (tab.id === selectedTabId); }));
|
|
5334
5412
|
selectedIndex = selectedIndex === -1 ? this.selectedTab : selectedIndex;
|
|
5413
|
+
var selectedContent = this.tabObj.items[parseInt(selectedIndex.toString(), 10)].content;
|
|
5414
|
+
if ((!selectedContent.querySelector('.' + RIBBON_GROUP)) && (this.tabs[parseInt(selectedIndex.toString(), 10)].groups.length !== 0)) {
|
|
5415
|
+
var elements = this.createGroups(this.tabs[parseInt(selectedIndex.toString(), 10)].groups, selectedIndex);
|
|
5416
|
+
append(elements, selectedContent);
|
|
5417
|
+
}
|
|
5335
5418
|
var isContextual = this.isContextualTab(selectedTabId);
|
|
5336
5419
|
this.updateSelectedState(selectedTabId);
|
|
5337
5420
|
var eventArgs = { previousIndex: this.selectedTab, selectedIndex: selectedIndex, isContextual: isContextual };
|
|
@@ -5350,10 +5433,10 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5350
5433
|
this.isUpdateItems = false;
|
|
5351
5434
|
}
|
|
5352
5435
|
}
|
|
5353
|
-
this.
|
|
5354
|
-
|
|
5355
|
-
this.ribbonGalleryModule.checkAvailableHeight(selectedIndex, e.selectedContent.firstChild);
|
|
5436
|
+
if (this.ribbonGalleryModule) {
|
|
5437
|
+
this.ribbonGalleryModule.checkAvailableHeight(e.selectedContent.firstChild);
|
|
5356
5438
|
}
|
|
5439
|
+
this.checkOverflow(selectedIndex, selectedContent);
|
|
5357
5440
|
if (this.activeLayout === 'Simplified' && this.overflowDDB) {
|
|
5358
5441
|
var overflowTarget = this.overflowDDB.target;
|
|
5359
5442
|
var ofTabContainer = overflowTarget.querySelector('.' + RIBBON_TAB_ACTIVE);
|
|
@@ -5382,7 +5465,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5382
5465
|
break;
|
|
5383
5466
|
}
|
|
5384
5467
|
}
|
|
5385
|
-
this.contextualTabs[parseInt(i.toString(), 10)].
|
|
5468
|
+
this.contextualTabs[parseInt(i.toString(), 10)].
|
|
5469
|
+
setProperties({ isSelected: isSelected }, true);
|
|
5386
5470
|
}
|
|
5387
5471
|
}
|
|
5388
5472
|
};
|
|
@@ -5580,7 +5664,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5580
5664
|
item.setProperties({ activeSize: RibbonItemSize.Medium }, true);
|
|
5581
5665
|
this.setItemSize(itemEle, item);
|
|
5582
5666
|
}
|
|
5583
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5667
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5668
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
5584
5669
|
this.updatePopupItems(item, itemContainer, group.enableGroupOverflow, true);
|
|
5585
5670
|
}
|
|
5586
5671
|
}
|
|
@@ -5610,6 +5695,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5610
5695
|
return isEmptyCollection;
|
|
5611
5696
|
};
|
|
5612
5697
|
Ribbon.prototype.updatePopupItems = function (item, itemEle, isGroupOF, isMenu) {
|
|
5698
|
+
var _this = this;
|
|
5613
5699
|
var dropdown = getComponent(itemEle.querySelector('#' + item.id), (item.type === RibbonItemType.DropDown || item.type === RibbonItemType.Gallery || item.type === RibbonItemType.GroupButton) ? DropDownButton : SplitButton);
|
|
5614
5700
|
var dropDownPopup = dropdown.dropDown;
|
|
5615
5701
|
// popup is on right if (isGroupOF && isMenu)
|
|
@@ -5621,6 +5707,9 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5621
5707
|
if (isMenu) {
|
|
5622
5708
|
dropdown.beforeOpen = function () {
|
|
5623
5709
|
if (isLeft) {
|
|
5710
|
+
if (item.type === RibbonItemType.Gallery && _this.ribbonGalleryModule) {
|
|
5711
|
+
_this.ribbonGalleryModule.checkCollision(dropDownPopup, dropDownPopup.element);
|
|
5712
|
+
}
|
|
5624
5713
|
dropDownPopup.element.style.setProperty('visibility', 'hidden');
|
|
5625
5714
|
dropDownPopup.element.style.setProperty('display', 'block');
|
|
5626
5715
|
dropDownPopup.setProperties({ offsetX: -1 * dropDownPopup.element.offsetWidth });
|
|
@@ -5676,7 +5765,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5676
5765
|
break;
|
|
5677
5766
|
}
|
|
5678
5767
|
var groupEle = tabContent.querySelector('#' + collection.id);
|
|
5679
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5768
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
5769
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
5680
5770
|
this.updatePopupItems(item, itemContainer, group.enableGroupOverflow, false);
|
|
5681
5771
|
}
|
|
5682
5772
|
groupEle.append(itemContainer);
|
|
@@ -5721,7 +5811,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5721
5811
|
}
|
|
5722
5812
|
if (overflowDDB) {
|
|
5723
5813
|
if (group.enableGroupOverflow) {
|
|
5724
|
-
if (overflowtarget.childElementCount === 0 ||
|
|
5814
|
+
if (overflowtarget.childElementCount === 0 ||
|
|
5815
|
+
(overflowtarget.childElementCount === 1 && this.isHeaderVisible(overflowtarget, group.id))) {
|
|
5725
5816
|
this.removeOverflowButton(overflowDDB);
|
|
5726
5817
|
}
|
|
5727
5818
|
}
|
|
@@ -5834,8 +5925,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5834
5925
|
overflowBtnTarget.classList.add('e-hide-group');
|
|
5835
5926
|
}
|
|
5836
5927
|
}
|
|
5837
|
-
|
|
5838
|
-
|
|
5928
|
+
if (isResize) {
|
|
5929
|
+
overflowBtnTarget.insertBefore(itemEle, overflowBtnTarget.querySelector('.' + RIBBON_ITEM));
|
|
5930
|
+
}
|
|
5931
|
+
else {
|
|
5932
|
+
overflowBtnTarget.append(itemEle);
|
|
5933
|
+
}
|
|
5839
5934
|
}
|
|
5840
5935
|
else {
|
|
5841
5936
|
if (!this.overflowDDB) {
|
|
@@ -5847,7 +5942,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5847
5942
|
else {
|
|
5848
5943
|
this.overflowDDB.element.classList.remove(HIDE_CSS);
|
|
5849
5944
|
var overflowEle = this.overflowDDB.target;
|
|
5850
|
-
var ofTabContainer = overflowEle.querySelector('#' +
|
|
5945
|
+
var ofTabContainer = overflowEle.querySelector('#' +
|
|
5946
|
+
this.tabs[parseInt(tabIndex.toString(), 10)].id + OVERFLOW_ID);
|
|
5851
5947
|
if (ofTabContainer) {
|
|
5852
5948
|
var ofGroupContainer = overflowEle.querySelector('#' + groupId + CONTAINER_ID);
|
|
5853
5949
|
if (!ofGroupContainer) {
|
|
@@ -5865,7 +5961,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5865
5961
|
}
|
|
5866
5962
|
ofTabContainer.append(ofGroupContainer);
|
|
5867
5963
|
}
|
|
5868
|
-
|
|
5964
|
+
if (isResize) {
|
|
5965
|
+
ofGroupContainer.insertBefore(itemEle, ofGroupContainer.querySelector('.' + RIBBON_ITEM));
|
|
5966
|
+
}
|
|
5967
|
+
else {
|
|
5968
|
+
ofGroupContainer.append(itemEle);
|
|
5969
|
+
}
|
|
5869
5970
|
}
|
|
5870
5971
|
else {
|
|
5871
5972
|
this.createOfTabContainer(groupId, groupHeader, itemEle, tabIndex);
|
|
@@ -5905,7 +6006,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5905
6006
|
break;
|
|
5906
6007
|
case 'Gallery':
|
|
5907
6008
|
if (this.activeLayout === 'Simplified') {
|
|
5908
|
-
this.ribbonGalleryModule.addOverFlowEvents(item, itemEle
|
|
6009
|
+
this.ribbonGalleryModule.addOverFlowEvents(item, itemEle);
|
|
5909
6010
|
}
|
|
5910
6011
|
break;
|
|
5911
6012
|
case 'GroupButton':
|
|
@@ -5923,7 +6024,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5923
6024
|
var overflowtarget = this.overflowDDB.target;
|
|
5924
6025
|
overflowtarget.append(ofTabContainer);
|
|
5925
6026
|
var itemProp = getGroup(this.tabs, groupId);
|
|
5926
|
-
var ofGroupContainer = itemProp.group.overflowHeader ?
|
|
6027
|
+
var ofGroupContainer = itemProp.group.overflowHeader ?
|
|
6028
|
+
this.createGroupContainer(groupId, itemProp.group.overflowHeader) : this.createGroupContainer(groupId, groupHeader);
|
|
5927
6029
|
ofGroupContainer.append(itemEle);
|
|
5928
6030
|
ofTabContainer.append(ofGroupContainer);
|
|
5929
6031
|
if (tabIndex === this.selectedTab) {
|
|
@@ -6281,7 +6383,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6281
6383
|
}
|
|
6282
6384
|
var item = collection.items[parseInt(l.toString(), 10)];
|
|
6283
6385
|
if (canReduceItem(item)) {
|
|
6284
|
-
item.type !== RibbonItemType.GroupButton
|
|
6386
|
+
if (item.type !== RibbonItemType.GroupButton) {
|
|
6387
|
+
setWidth(item.id);
|
|
6388
|
+
}
|
|
6389
|
+
else {
|
|
6390
|
+
setWidth(item.id + RIBBON_GROUP_BUTTON_ID);
|
|
6391
|
+
}
|
|
6285
6392
|
reduceItemsToSmall(k, l, l);
|
|
6286
6393
|
if (!shouldSkip && (tabContent.offsetWidth > activeContent.offsetWidth)) {
|
|
6287
6394
|
return true;
|
|
@@ -6534,7 +6641,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6534
6641
|
};
|
|
6535
6642
|
Ribbon.prototype.handleContentSize = function (itemEle, isRemoveOverflow) {
|
|
6536
6643
|
var itemContainer = itemEle.closest('.' + RIBBON_GROUP_CONTENT);
|
|
6537
|
-
(isRemoveOverflow
|
|
6644
|
+
if (isRemoveOverflow) {
|
|
6645
|
+
itemContainer.classList.add(RIBBON_CONTENT_HEIGHT);
|
|
6646
|
+
}
|
|
6647
|
+
else {
|
|
6648
|
+
itemContainer.classList.remove(RIBBON_CONTENT_HEIGHT);
|
|
6649
|
+
}
|
|
6538
6650
|
};
|
|
6539
6651
|
Ribbon.prototype.setItemSize = function (itemEle, item) {
|
|
6540
6652
|
if (itemEle) {
|
|
@@ -6736,14 +6848,15 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6736
6848
|
Ribbon.prototype.ribbonTabSelecting = function (e) {
|
|
6737
6849
|
var _this = this;
|
|
6738
6850
|
this.currentControlIndex = 0;
|
|
6739
|
-
var nextTabId = e.selectingItem.getAttribute('data-id');
|
|
6851
|
+
var nextTabId = e.selectingItem ? e.selectingItem.getAttribute('data-id') : null;
|
|
6740
6852
|
var previousTabId = e.previousItem.getAttribute('data-id');
|
|
6741
6853
|
var nextIndex = getIndex(this.tabs, (function (tab) { return (tab.id === nextTabId); }));
|
|
6742
6854
|
var isContextual = this.isContextualTab(nextTabId);
|
|
6743
6855
|
var previousIndex = getIndex(this.tabs, (function (tab) { return (tab.id === previousTabId); }));
|
|
6744
6856
|
nextIndex = nextIndex === -1 ? this.selectedTab : nextIndex;
|
|
6745
6857
|
var eventArgs = {
|
|
6746
|
-
cancel: e.cancel, isInteracted: e.isInteracted, previousIndex: previousIndex,
|
|
6858
|
+
cancel: e.cancel, isInteracted: e.isInteracted, previousIndex: previousIndex,
|
|
6859
|
+
selectedIndex: nextIndex, isContextual: isContextual
|
|
6747
6860
|
};
|
|
6748
6861
|
this.trigger('tabSelecting', eventArgs, function (args) {
|
|
6749
6862
|
if (args.cancel) {
|
|
@@ -6801,9 +6914,10 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6801
6914
|
this.element.classList.add(RIBBON_SIMPLIFIED_MODE);
|
|
6802
6915
|
}
|
|
6803
6916
|
var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + CONTENT_ID);
|
|
6917
|
+
if (this.ribbonGalleryModule) {
|
|
6918
|
+
this.ribbonGalleryModule.checkAvailableHeight(activeContent);
|
|
6919
|
+
}
|
|
6804
6920
|
this.checkOverflow(this.selectedTab, activeContent);
|
|
6805
|
-
if (this.activeLayout === 'Classic' && this.ribbonGalleryModule)
|
|
6806
|
-
this.ribbonGalleryModule.checkAvailableHeight(this.selectedTab, activeContent);
|
|
6807
6921
|
};
|
|
6808
6922
|
Ribbon.prototype.addOverflowButton = function (btnId, isGroupOF) {
|
|
6809
6923
|
var _this = this;
|
|
@@ -6861,7 +6975,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6861
6975
|
items = currentList.getElementsByClassName('e-ribbon-item');
|
|
6862
6976
|
}
|
|
6863
6977
|
var control = items[(!this.itemIndex || this.itemIndex < 0) ? 0 : this.itemIndex].querySelector('.e-control');
|
|
6864
|
-
var comboBoxEle = control && control.classList.contains('e-combobox') ?
|
|
6978
|
+
var comboBoxEle = control && control.classList.contains('e-combobox') ?
|
|
6979
|
+
items[(!this.itemIndex || this.itemIndex < 0) ? 0 : this.itemIndex].querySelector('.e-combobox') : null;
|
|
6865
6980
|
var ribbonItem;
|
|
6866
6981
|
var templateEle;
|
|
6867
6982
|
if (comboBoxEle === null || (e.key === 'Tab') || this.itemIndex < 0) {
|
|
@@ -6918,7 +7033,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6918
7033
|
target.setAttribute('index', this.itemIndex.toString());
|
|
6919
7034
|
}
|
|
6920
7035
|
var currentItemIndex = parseInt(target.getAttribute('index'), 10);
|
|
6921
|
-
var itemType =
|
|
7036
|
+
var itemType = '';
|
|
6922
7037
|
var controlItem = items[parseInt(currentItemIndex.toString(), 10)] ? items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-control') : null;
|
|
6923
7038
|
if (controlItem) {
|
|
6924
7039
|
itemType = controlItem.getAttribute('data-control');
|
|
@@ -6948,12 +7063,20 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
6948
7063
|
}
|
|
6949
7064
|
if (((itemType === 'SplitButton') && (e.key === 'ArrowRight' || e.key === 'ArrowLeft'))) {
|
|
6950
7065
|
if (e.key === 'ArrowRight') {
|
|
6951
|
-
this.enableRtl
|
|
7066
|
+
if (this.enableRtl) {
|
|
7067
|
+
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-control').focus();
|
|
7068
|
+
}
|
|
7069
|
+
else {
|
|
6952
7070
|
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-dropdown-btn').focus();
|
|
7071
|
+
}
|
|
6953
7072
|
}
|
|
6954
7073
|
if (e.key === 'ArrowLeft') {
|
|
6955
|
-
this.enableRtl
|
|
7074
|
+
if (this.enableRtl) {
|
|
7075
|
+
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-dropdown-btn').focus();
|
|
7076
|
+
}
|
|
7077
|
+
else {
|
|
6956
7078
|
items[parseInt(currentItemIndex.toString(), 10)].querySelector('.e-control').focus();
|
|
7079
|
+
}
|
|
6957
7080
|
}
|
|
6958
7081
|
}
|
|
6959
7082
|
if (e.key === 'Enter') {
|
|
@@ -7064,7 +7187,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7064
7187
|
Ribbon.prototype.reRenderTabs = function (tabs) {
|
|
7065
7188
|
this.destroyScroll();
|
|
7066
7189
|
this.checkID(this.tabs, 'tab', this.element.id);
|
|
7067
|
-
for (var
|
|
7190
|
+
for (var _i = 0, _a = Object.keys(tabs); _i < _a.length; _i++) {
|
|
7191
|
+
var key = _a[_i];
|
|
7068
7192
|
var index = parseInt(key, 10);
|
|
7069
7193
|
var tab = tabs[parseInt(index.toString(), 10)];
|
|
7070
7194
|
var isNewTab = false;
|
|
@@ -7109,13 +7233,13 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7109
7233
|
}
|
|
7110
7234
|
// Check whether group is passed by the user, and if it is, then remove the old values.
|
|
7111
7235
|
if (tab.groups) {
|
|
7112
|
-
for (var
|
|
7113
|
-
var group = groups_1[
|
|
7236
|
+
for (var _b = 0, groups_1 = groups; _b < groups_1.length; _b++) {
|
|
7237
|
+
var group = groups_1[_b];
|
|
7114
7238
|
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 =
|
|
7239
|
+
for (var _c = 0, _d = group.collections; _c < _d.length; _c++) {
|
|
7240
|
+
var collection = _d[_c];
|
|
7241
|
+
for (var _e = 0, _f = collection.items; _e < _f.length; _e++) {
|
|
7242
|
+
var item = _f[_e];
|
|
7119
7243
|
var ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) : contentEle.querySelector('#' + item.id);
|
|
7120
7244
|
if (ele) {
|
|
7121
7245
|
this.destroyFunction(item, ele);
|
|
@@ -7213,7 +7337,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7213
7337
|
itemEle = groupContainer.querySelector('#' + item.id + CONTAINER_ID);
|
|
7214
7338
|
if (item.displayOptions === (DisplayMode.Classic | DisplayMode.Overflow)) {
|
|
7215
7339
|
this.createOverflowPopup(item, tabIndex, group.enableGroupOverflow, group.id, group.header, itemEle, groupContainer);
|
|
7216
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7340
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7341
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
7217
7342
|
this.updatePopupItems(item, itemEle, group.enableGroupOverflow, true);
|
|
7218
7343
|
}
|
|
7219
7344
|
}
|
|
@@ -7312,7 +7437,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7312
7437
|
var itemEle = groupContainer.querySelector('#' + item.id + CONTAINER_ID);
|
|
7313
7438
|
if (!itemEle && overflowtarget) {
|
|
7314
7439
|
itemEle = overflowtarget.querySelector('#' + item.id + CONTAINER_ID);
|
|
7315
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7440
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7441
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
7316
7442
|
this.updatePopupItems(item, itemEle, group.enableGroupOverflow, false);
|
|
7317
7443
|
}
|
|
7318
7444
|
this.removeOverflowEvent(item, itemEle);
|
|
@@ -7337,7 +7463,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7337
7463
|
}
|
|
7338
7464
|
}
|
|
7339
7465
|
if (group.enableGroupOverflow && overflowDDB) {
|
|
7340
|
-
if (overflowtarget.childElementCount === 0 ||
|
|
7466
|
+
if (overflowtarget.childElementCount === 0 ||
|
|
7467
|
+
(overflowtarget.childElementCount === 1 && this.isHeaderVisible(overflowtarget, group.id))) {
|
|
7341
7468
|
this.removeOverflowButton(overflowDDB);
|
|
7342
7469
|
}
|
|
7343
7470
|
}
|
|
@@ -7450,7 +7577,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7450
7577
|
// eslint-disable-next-line
|
|
7451
7578
|
var groupIndex = initialProps[key].indexOf(groupEle.id);
|
|
7452
7579
|
if (groupIndex !== -1) {
|
|
7453
|
-
key === 'hiddenGroups'
|
|
7580
|
+
if (key === 'hiddenGroups') {
|
|
7581
|
+
groupEle.classList.add('e-hidden');
|
|
7582
|
+
}
|
|
7583
|
+
else {
|
|
7584
|
+
groupEle.classList.add('e-disabled');
|
|
7585
|
+
}
|
|
7454
7586
|
}
|
|
7455
7587
|
};
|
|
7456
7588
|
Ribbon.prototype.validateItemSize = function () {
|
|
@@ -7575,7 +7707,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7575
7707
|
}
|
|
7576
7708
|
if (item.type === RibbonItemType.GroupButton) {
|
|
7577
7709
|
for (var i_7 = 0; i_7 < item.groupButtonSettings.items.length; i_7++) {
|
|
7578
|
-
if (this.keyTipElements[parseInt(tabIndex.toString(), 10)] &&
|
|
7710
|
+
if (this.keyTipElements[parseInt(tabIndex.toString(), 10)] &&
|
|
7711
|
+
item.groupButtonSettings.items[parseInt(i_7.toString(), 10)].keyTip) {
|
|
7579
7712
|
this.addKeyTip(tabIndex, item.groupButtonSettings.items[parseInt(i_7.toString(), 10)].keyTip, item.id + (RIBBON_GROUP_BUTTON_ID + i_7), 'item');
|
|
7580
7713
|
}
|
|
7581
7714
|
}
|
|
@@ -7612,7 +7745,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7612
7745
|
this.createRibbonItem(item, itemEle);
|
|
7613
7746
|
if ((this.activeLayout === 'Simplified') && ((item.displayOptions === DisplayMode.Overflow) || (item.displayOptions === (DisplayMode.Classic | DisplayMode.Overflow)))) {
|
|
7614
7747
|
this.createOverflowPopup(item, tabIndex, isGroupOF, groupId, groupHeader, itemEle, groupContainer);
|
|
7615
|
-
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7748
|
+
if ((item.type === RibbonItemType.DropDown) || (item.type === RibbonItemType.SplitButton) ||
|
|
7749
|
+
(item.type === RibbonItemType.GroupButton) || (item.type === RibbonItemType.Gallery)) {
|
|
7616
7750
|
this.updatePopupItems(item, itemEle, isGroupOF, true);
|
|
7617
7751
|
}
|
|
7618
7752
|
}
|
|
@@ -7685,8 +7819,6 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7685
7819
|
case 'collection':
|
|
7686
7820
|
listitem.setProperties({ items: this.checkID(listitem.items, 'item', listitem.id) }, true);
|
|
7687
7821
|
break;
|
|
7688
|
-
default:
|
|
7689
|
-
break;
|
|
7690
7822
|
}
|
|
7691
7823
|
}
|
|
7692
7824
|
return list;
|
|
@@ -7832,8 +7964,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
7832
7964
|
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) :
|
|
7833
7965
|
contentEle.querySelector('#' + item.id);
|
|
7834
7966
|
if (item.type === RibbonItemType.GroupButton) {
|
|
7835
|
-
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
7836
|
-
contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
7967
|
+
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
7968
|
+
RIBBON_GROUP_BUTTON_ID) : contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
7837
7969
|
}
|
|
7838
7970
|
if (item.type === RibbonItemType.Gallery) {
|
|
7839
7971
|
ele = contentEle.querySelector('#' + item.id + CONTAINER_ID);
|
|
@@ -8000,6 +8132,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8000
8132
|
* Shows a specific tab in the ribbon.
|
|
8001
8133
|
*
|
|
8002
8134
|
* @param {string} tabId - The ID of the tab to be shown.
|
|
8135
|
+
* @param {boolean} isContextual - The boolean if the rendering is contextual.
|
|
8003
8136
|
* @returns {void}
|
|
8004
8137
|
*/
|
|
8005
8138
|
Ribbon.prototype.showTab = function (tabId, isContextual) {
|
|
@@ -8010,6 +8143,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8010
8143
|
* Hides a specific tab in the ribbon.
|
|
8011
8144
|
*
|
|
8012
8145
|
* @param {string} tabId - The ID of the tab to be hidden.
|
|
8146
|
+
* @param {boolean} isContextual - The boolean if the rendering is contextual.
|
|
8013
8147
|
* @returns {void}
|
|
8014
8148
|
*/
|
|
8015
8149
|
Ribbon.prototype.hideTab = function (tabId, isContextual) {
|
|
@@ -8035,7 +8169,9 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8035
8169
|
if (contextualTab_1) {
|
|
8036
8170
|
var isTabHidden = true;
|
|
8037
8171
|
var _loop_5 = function (i) {
|
|
8038
|
-
var index_1 = getIndex(this_5.tabs, function (e) {
|
|
8172
|
+
var index_1 = getIndex(this_5.tabs, function (e) {
|
|
8173
|
+
return e.id === contextualTab_1.tabs[parseInt(i.toString(), 10)].id;
|
|
8174
|
+
});
|
|
8039
8175
|
if (index_1 !== -1) {
|
|
8040
8176
|
var toolbarEle = tabEle.querySelectorAll('.e-toolbar-item')[parseInt(index_1.toString(), 10)];
|
|
8041
8177
|
if (!(toolbarEle.classList.contains('e-hidden'))) {
|
|
@@ -8079,6 +8215,9 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8079
8215
|
if (index === -1) {
|
|
8080
8216
|
return;
|
|
8081
8217
|
}
|
|
8218
|
+
var tbItems = this.tabObj.items[parseInt(index.toString(), 10)].content;
|
|
8219
|
+
this.tabObj.element.querySelector('#' + tabId + HEADER_ID).classList[value ? 'remove' : 'add']('e-disabled');
|
|
8220
|
+
tbItems.classList[value ? 'remove' : 'add']('e-disabled');
|
|
8082
8221
|
this.tabObj.enableTab(index, value);
|
|
8083
8222
|
};
|
|
8084
8223
|
/**
|
|
@@ -8124,8 +8263,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8124
8263
|
var item = _d[_c];
|
|
8125
8264
|
var ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) : contentEle.querySelector('#' + item.id);
|
|
8126
8265
|
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);
|
|
8266
|
+
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
8267
|
+
RIBBON_GROUP_BUTTON_ID) : contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
8129
8268
|
}
|
|
8130
8269
|
if (ele) {
|
|
8131
8270
|
this.destroyFunction(item, ele);
|
|
@@ -8223,7 +8362,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8223
8362
|
}
|
|
8224
8363
|
if (this.activeLayout === RibbonLayout.Simplified) {
|
|
8225
8364
|
if (itemProp.group.enableGroupOverflow) {
|
|
8226
|
-
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
8365
|
+
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
8366
|
+
=== 1 && this.isHeaderVisible(dropdown.target, itemProp.group.id))) {
|
|
8227
8367
|
this.removeOverflowButton(dropdown);
|
|
8228
8368
|
}
|
|
8229
8369
|
}
|
|
@@ -8296,13 +8436,23 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8296
8436
|
overflowtarget = overflowDDB.target;
|
|
8297
8437
|
}
|
|
8298
8438
|
if (overflowtarget) {
|
|
8299
|
-
|
|
8439
|
+
if (isHidden) {
|
|
8440
|
+
overflowtarget.classList.add('e-hidden');
|
|
8441
|
+
}
|
|
8442
|
+
else {
|
|
8443
|
+
overflowtarget.classList.remove('e-hidden');
|
|
8444
|
+
}
|
|
8300
8445
|
}
|
|
8301
8446
|
}
|
|
8302
8447
|
else if (ofTabContainer) {
|
|
8303
8448
|
var grpContainer = ofTabContainer.querySelector('#' + groupID + CONTAINER_ID);
|
|
8304
8449
|
if (grpContainer) {
|
|
8305
|
-
|
|
8450
|
+
if (isHidden) {
|
|
8451
|
+
grpContainer.classList.add('e-hidden');
|
|
8452
|
+
}
|
|
8453
|
+
else {
|
|
8454
|
+
grpContainer.classList.remove('e-hidden');
|
|
8455
|
+
}
|
|
8306
8456
|
}
|
|
8307
8457
|
}
|
|
8308
8458
|
}
|
|
@@ -8340,38 +8490,35 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8340
8490
|
hiddenProps = this.hiddenElements[parseInt(tabIndex.toString(), 10)];
|
|
8341
8491
|
}
|
|
8342
8492
|
if (hiddenProps) {
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
hiddenProps[key] = [];
|
|
8493
|
+
if (!hiddenProps["" + key]) {
|
|
8494
|
+
hiddenProps["" + key] = [];
|
|
8346
8495
|
}
|
|
8347
|
-
if (hiddenProps[key].length) {
|
|
8348
|
-
var index = hiddenProps[key].indexOf(id);
|
|
8496
|
+
if (hiddenProps["" + key].length) {
|
|
8497
|
+
var index = hiddenProps["" + key].indexOf(id);
|
|
8349
8498
|
if (index === -1) {
|
|
8350
|
-
hiddenProps[key].push(id);
|
|
8499
|
+
hiddenProps["" + key].push(id);
|
|
8351
8500
|
}
|
|
8352
8501
|
}
|
|
8353
8502
|
else {
|
|
8354
|
-
hiddenProps[key].push(id);
|
|
8503
|
+
hiddenProps["" + key].push(id);
|
|
8355
8504
|
}
|
|
8356
|
-
/* eslint-enable */
|
|
8357
8505
|
}
|
|
8358
8506
|
}
|
|
8359
8507
|
};
|
|
8360
8508
|
Ribbon.prototype.updateItemsSimplifiedWidth = function (tabIndex, key) {
|
|
8361
8509
|
var hiddenProps = this.hiddenElements[parseInt(tabIndex.toString(), 10)];
|
|
8362
|
-
|
|
8363
|
-
if (hiddenProps && hiddenProps[key] && hiddenProps[key].length) {
|
|
8510
|
+
if (hiddenProps && hiddenProps["" + key] && hiddenProps["" + key].length) {
|
|
8364
8511
|
var _loop_6 = function (i) {
|
|
8365
|
-
var contentEle = this_6.tabObj.items[tabIndex].content;
|
|
8512
|
+
var contentEle = this_6.tabObj.items[parseInt(tabIndex.toString(), 10)].content;
|
|
8366
8513
|
var hiddenEle;
|
|
8367
8514
|
var groupEle = void 0;
|
|
8368
8515
|
var isGroupHidden = false;
|
|
8369
8516
|
var widthDifference = 0;
|
|
8370
8517
|
if (key === 'hideGroup' || key === 'showGroup') {
|
|
8371
|
-
hiddenEle = contentEle.querySelector('#' + hiddenProps[key][i]);
|
|
8518
|
+
hiddenEle = contentEle.querySelector('#' + hiddenProps["" + key][parseInt(i.toString(), 10)]);
|
|
8372
8519
|
}
|
|
8373
8520
|
else {
|
|
8374
|
-
hiddenEle = contentEle.querySelector('#' + hiddenProps[key][i] + CONTAINER_ID);
|
|
8521
|
+
hiddenEle = contentEle.querySelector('#' + hiddenProps["" + key][parseInt(i.toString(), 10)] + CONTAINER_ID);
|
|
8375
8522
|
}
|
|
8376
8523
|
if (hiddenEle) {
|
|
8377
8524
|
if (key === 'hideGroup' || key === 'hideItem') {
|
|
@@ -8431,15 +8578,15 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8431
8578
|
groupEle.classList.add('e-ribbon-emptyCollection');
|
|
8432
8579
|
}
|
|
8433
8580
|
}
|
|
8434
|
-
var index = hiddenProps[key].indexOf(hiddenProps[key][i]);
|
|
8581
|
+
var index = hiddenProps["" + key].indexOf(hiddenProps["" + key][parseInt(i.toString(), 10)]);
|
|
8435
8582
|
if (index !== -1) {
|
|
8436
|
-
hiddenProps[key].splice(index, 1);
|
|
8583
|
+
hiddenProps["" + key].splice(index, 1);
|
|
8437
8584
|
i--;
|
|
8438
8585
|
}
|
|
8439
8586
|
out_i_1 = i;
|
|
8440
8587
|
};
|
|
8441
8588
|
var this_6 = this, out_i_1;
|
|
8442
|
-
for (var i = 0; i < hiddenProps[key].length; i++) {
|
|
8589
|
+
for (var i = 0; i < hiddenProps["" + key].length; i++) {
|
|
8443
8590
|
_loop_6(i);
|
|
8444
8591
|
i = out_i_1;
|
|
8445
8592
|
}
|
|
@@ -8573,7 +8720,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8573
8720
|
var contentEle = this.tabObj.items[itemProp.tabIndex].content;
|
|
8574
8721
|
var groupEle = contentEle.querySelector('#' + groupID);
|
|
8575
8722
|
if (groupEle) {
|
|
8576
|
-
|
|
8723
|
+
if (isDisabled) {
|
|
8724
|
+
groupEle.classList.add('e-disabled');
|
|
8725
|
+
}
|
|
8726
|
+
else {
|
|
8727
|
+
groupEle.classList.remove('e-disabled');
|
|
8728
|
+
}
|
|
8577
8729
|
}
|
|
8578
8730
|
else {
|
|
8579
8731
|
this.updateInitialProps(itemProp.tabIndex, groupID, 'disabledGroups', isDisabled);
|
|
@@ -8588,13 +8740,23 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8588
8740
|
overflowtarget = overflowDDB.target;
|
|
8589
8741
|
}
|
|
8590
8742
|
if (overflowtarget) {
|
|
8591
|
-
|
|
8743
|
+
if (isDisabled) {
|
|
8744
|
+
overflowtarget.classList.add('e-disabled');
|
|
8745
|
+
}
|
|
8746
|
+
else {
|
|
8747
|
+
overflowtarget.classList.remove('e-disabled');
|
|
8748
|
+
}
|
|
8592
8749
|
}
|
|
8593
8750
|
}
|
|
8594
8751
|
else if (ofTabContainer) {
|
|
8595
8752
|
var grpContainer = ofTabContainer.querySelector('#' + groupID + CONTAINER_ID);
|
|
8596
8753
|
if (grpContainer) {
|
|
8597
|
-
|
|
8754
|
+
if (isDisabled) {
|
|
8755
|
+
grpContainer.classList.add('e-disabled');
|
|
8756
|
+
}
|
|
8757
|
+
else {
|
|
8758
|
+
grpContainer.classList.remove('e-disabled');
|
|
8759
|
+
}
|
|
8598
8760
|
}
|
|
8599
8761
|
}
|
|
8600
8762
|
}
|
|
@@ -8820,19 +8982,22 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8820
8982
|
initialProps = this.initialPropsData[parseInt(tabIndex.toString(), 10)];
|
|
8821
8983
|
}
|
|
8822
8984
|
if (initialProps) {
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
var itemIndex = initialProps[key].indexOf(id);
|
|
8985
|
+
if (!initialProps["" + key]) {
|
|
8986
|
+
initialProps["" + key] = [];
|
|
8987
|
+
}
|
|
8988
|
+
var itemIndex = initialProps["" + key].indexOf(id);
|
|
8827
8989
|
if (isInsert) {
|
|
8828
|
-
if (itemIndex === -1)
|
|
8829
|
-
initialProps[key].push(id);
|
|
8990
|
+
if (itemIndex === -1) {
|
|
8991
|
+
initialProps["" + key].push(id);
|
|
8992
|
+
}
|
|
8830
8993
|
}
|
|
8831
8994
|
else {
|
|
8832
|
-
if (itemIndex !== -1)
|
|
8833
|
-
initialProps[key].splice(itemIndex, 1);
|
|
8834
|
-
|
|
8835
|
-
|
|
8995
|
+
if (itemIndex !== -1) {
|
|
8996
|
+
initialProps["" + key].splice(itemIndex, 1);
|
|
8997
|
+
}
|
|
8998
|
+
if (initialProps["" + key].length === 0) {
|
|
8999
|
+
delete initialProps["" + key];
|
|
9000
|
+
}
|
|
8836
9001
|
if (Object.keys(initialProps).length === 0) {
|
|
8837
9002
|
delete this.initialPropsData[parseInt(tabIndex.toString(), 10)];
|
|
8838
9003
|
}
|
|
@@ -8893,7 +9058,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8893
9058
|
overflowtarget = overflowDDB.target;
|
|
8894
9059
|
}
|
|
8895
9060
|
if (overflowtarget) {
|
|
8896
|
-
|
|
9061
|
+
if (isHidden) {
|
|
9062
|
+
overflowtarget.classList.add('e-hide-group');
|
|
9063
|
+
}
|
|
9064
|
+
else {
|
|
9065
|
+
overflowtarget.classList.remove('e-hide-group');
|
|
9066
|
+
}
|
|
8897
9067
|
}
|
|
8898
9068
|
}
|
|
8899
9069
|
else {
|
|
@@ -8903,7 +9073,12 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8903
9073
|
if (ofTabContainer) {
|
|
8904
9074
|
var grpContainer = ofTabContainer.querySelector('#' + groupID + CONTAINER_ID);
|
|
8905
9075
|
if (grpContainer) {
|
|
8906
|
-
|
|
9076
|
+
if (isHidden) {
|
|
9077
|
+
grpContainer.classList.add('e-hide-group');
|
|
9078
|
+
}
|
|
9079
|
+
else {
|
|
9080
|
+
grpContainer.classList.remove('e-hide-group');
|
|
9081
|
+
}
|
|
8907
9082
|
}
|
|
8908
9083
|
}
|
|
8909
9084
|
}
|
|
@@ -8943,8 +9118,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
8943
9118
|
var item = _d[_c];
|
|
8944
9119
|
var ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id) : contentEle.querySelector('#' + item.id);
|
|
8945
9120
|
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);
|
|
9121
|
+
ele = dropdownElement ? this.ribbonDropDownModule.getDDBItemElement(dropdownElement, item.id +
|
|
9122
|
+
RIBBON_GROUP_BUTTON_ID) : contentEle.querySelector('#' + item.id + RIBBON_GROUP_BUTTON_ID);
|
|
8948
9123
|
}
|
|
8949
9124
|
if (ele) {
|
|
8950
9125
|
this.destroyFunction(item, ele);
|
|
@@ -9050,7 +9225,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9050
9225
|
}
|
|
9051
9226
|
if (this.activeLayout === RibbonLayout.Simplified) {
|
|
9052
9227
|
if (itemProp.group.enableGroupOverflow) {
|
|
9053
|
-
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
9228
|
+
if (dropdown.target.childElementCount === 0 || (dropdown.target.childElementCount
|
|
9229
|
+
=== 1 && this.isHeaderVisible(dropdown.target, itemProp.group.id))) {
|
|
9054
9230
|
this.removeOverflowButton(dropdown);
|
|
9055
9231
|
}
|
|
9056
9232
|
}
|
|
@@ -9348,7 +9524,7 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9348
9524
|
* Gets the Ribbon item model associated with the specified item ID.
|
|
9349
9525
|
*
|
|
9350
9526
|
* @param {string} itemId - The unique ID of the Ribbon item.
|
|
9351
|
-
* @returns {RibbonItemModel}
|
|
9527
|
+
* @returns {RibbonItemModel} - Returns the Ribbon item model.
|
|
9352
9528
|
*/
|
|
9353
9529
|
Ribbon.prototype.getItem = function (itemId) {
|
|
9354
9530
|
return getItem(this.tabs, itemId).item;
|
|
@@ -9370,7 +9546,8 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9370
9546
|
if (ele) {
|
|
9371
9547
|
var itemEle = closest(ele, '.e-ribbon-item');
|
|
9372
9548
|
var moduleName = this.getItemModuleName(itemProp.item);
|
|
9373
|
-
isUpdated = isDisabled ? !itemEle.classList.contains(DISABLED_CSS) :
|
|
9549
|
+
isUpdated = isDisabled ? !itemEle.classList.contains(DISABLED_CSS) :
|
|
9550
|
+
itemEle.classList.contains(DISABLED_CSS);
|
|
9374
9551
|
if (moduleName !== 'template') {
|
|
9375
9552
|
if (isUpdated) {
|
|
9376
9553
|
if (moduleName === 'group-btn' && this.activeLayout === 'Simplified') {
|
|
@@ -9511,13 +9688,14 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9511
9688
|
}
|
|
9512
9689
|
}
|
|
9513
9690
|
break;
|
|
9514
|
-
case 'selectedTab':
|
|
9691
|
+
case 'selectedTab': {
|
|
9515
9692
|
var tabEle = this.tabObj.element;
|
|
9516
9693
|
var toolbarItem = tabEle.querySelectorAll('.e-toolbar-item')[parseInt(newProp.selectedTab.toString(), 10)];
|
|
9517
9694
|
if (!(toolbarItem.classList.contains('e-hidden') || toolbarItem.classList.contains('e-disable'))) {
|
|
9518
9695
|
this.tabObj.setProperties({ selectedItem: newProp.selectedTab });
|
|
9519
9696
|
}
|
|
9520
9697
|
break;
|
|
9698
|
+
}
|
|
9521
9699
|
case 'tabAnimation':
|
|
9522
9700
|
this.tabObj.setProperties({ animation: newProp.tabAnimation });
|
|
9523
9701
|
break;
|
|
@@ -9535,21 +9713,23 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9535
9713
|
this.element.style.width = formatUnit(newProp.width);
|
|
9536
9714
|
this.refreshLayout();
|
|
9537
9715
|
break;
|
|
9538
|
-
case 'fileMenu':
|
|
9716
|
+
case 'fileMenu': {
|
|
9539
9717
|
if (this.ribbonFileMenuModule) {
|
|
9540
9718
|
this.ribbonFileMenuModule.updateFileMenu(this.fileMenu);
|
|
9541
9719
|
}
|
|
9542
9720
|
var toolbarEle = this.tabObj['tbObj'];
|
|
9543
9721
|
toolbarEle.refreshOverflow();
|
|
9544
9722
|
break;
|
|
9545
|
-
|
|
9723
|
+
}
|
|
9724
|
+
case 'backStageMenu': {
|
|
9546
9725
|
if (this.ribbonBackstageModule) {
|
|
9547
9726
|
this.ribbonBackstageModule.updateBackStageMenu(this.backStageMenu);
|
|
9548
9727
|
}
|
|
9549
9728
|
var toolbarElement = this.tabObj['tbObj'];
|
|
9550
9729
|
toolbarElement.refreshOverflow();
|
|
9551
9730
|
break;
|
|
9552
|
-
|
|
9731
|
+
}
|
|
9732
|
+
case 'helpPaneTemplate': {
|
|
9553
9733
|
if (this.ribbonTempEle) {
|
|
9554
9734
|
remove(this.ribbonTempEle);
|
|
9555
9735
|
this.ribbonTempEle = null;
|
|
@@ -9561,95 +9741,97 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
9561
9741
|
var toolbar_1 = this.tabObj['tbObj'];
|
|
9562
9742
|
toolbar_1.refreshOverflow();
|
|
9563
9743
|
break;
|
|
9744
|
+
}
|
|
9564
9745
|
case 'hideLayoutSwitcher':
|
|
9565
|
-
this.hideLayoutSwitcher
|
|
9746
|
+
if (this.hideLayoutSwitcher) {
|
|
9747
|
+
this.removeExpandCollapse();
|
|
9748
|
+
}
|
|
9749
|
+
else {
|
|
9750
|
+
this.addExpandCollapse();
|
|
9751
|
+
}
|
|
9566
9752
|
break;
|
|
9567
9753
|
}
|
|
9568
9754
|
}
|
|
9569
9755
|
};
|
|
9570
9756
|
var Ribbon_1;
|
|
9571
|
-
__decorate([
|
|
9757
|
+
__decorate$l([
|
|
9572
9758
|
Property('Classic')
|
|
9573
9759
|
], Ribbon.prototype, "activeLayout", void 0);
|
|
9574
|
-
__decorate([
|
|
9760
|
+
__decorate$l([
|
|
9575
9761
|
Property('')
|
|
9576
9762
|
], Ribbon.prototype, "cssClass", void 0);
|
|
9577
|
-
__decorate([
|
|
9763
|
+
__decorate$l([
|
|
9578
9764
|
Property(false)
|
|
9579
9765
|
], Ribbon.prototype, "enableKeyTips", void 0);
|
|
9580
|
-
__decorate([
|
|
9766
|
+
__decorate$l([
|
|
9581
9767
|
Property('')
|
|
9582
9768
|
], Ribbon.prototype, "layoutSwitcherKeyTip", void 0);
|
|
9583
|
-
__decorate([
|
|
9769
|
+
__decorate$l([
|
|
9584
9770
|
Complex({}, FileMenuSettings)
|
|
9585
9771
|
], Ribbon.prototype, "fileMenu", void 0);
|
|
9586
|
-
__decorate([
|
|
9772
|
+
__decorate$l([
|
|
9587
9773
|
Complex({}, BackStageMenu)
|
|
9588
9774
|
], Ribbon.prototype, "backStageMenu", void 0);
|
|
9589
|
-
__decorate([
|
|
9775
|
+
__decorate$l([
|
|
9590
9776
|
Property('')
|
|
9591
9777
|
], Ribbon.prototype, "launcherIconCss", void 0);
|
|
9592
|
-
__decorate([
|
|
9778
|
+
__decorate$l([
|
|
9593
9779
|
Property(false)
|
|
9594
9780
|
], Ribbon.prototype, "isMinimized", void 0);
|
|
9595
|
-
__decorate([
|
|
9781
|
+
__decorate$l([
|
|
9596
9782
|
Property('en-us')
|
|
9597
9783
|
], Ribbon.prototype, "locale", void 0);
|
|
9598
|
-
__decorate([
|
|
9784
|
+
__decorate$l([
|
|
9599
9785
|
Property(0)
|
|
9600
9786
|
], Ribbon.prototype, "selectedTab", void 0);
|
|
9601
|
-
__decorate([
|
|
9787
|
+
__decorate$l([
|
|
9602
9788
|
Complex({}, TabAnimationSettings)
|
|
9603
9789
|
], Ribbon.prototype, "tabAnimation", void 0);
|
|
9604
|
-
__decorate([
|
|
9790
|
+
__decorate$l([
|
|
9605
9791
|
Collection([], RibbonTab)
|
|
9606
9792
|
], Ribbon.prototype, "tabs", void 0);
|
|
9607
|
-
__decorate([
|
|
9793
|
+
__decorate$l([
|
|
9608
9794
|
Collection([], RibbonContextualTabSettings)
|
|
9609
9795
|
], Ribbon.prototype, "contextualTabs", void 0);
|
|
9610
|
-
__decorate([
|
|
9796
|
+
__decorate$l([
|
|
9611
9797
|
Property('100%')
|
|
9612
9798
|
], Ribbon.prototype, "width", void 0);
|
|
9613
|
-
__decorate([
|
|
9799
|
+
__decorate$l([
|
|
9614
9800
|
Property('')
|
|
9615
9801
|
], Ribbon.prototype, "helpPaneTemplate", void 0);
|
|
9616
|
-
__decorate([
|
|
9802
|
+
__decorate$l([
|
|
9617
9803
|
Property(false)
|
|
9618
9804
|
], Ribbon.prototype, "hideLayoutSwitcher", void 0);
|
|
9619
|
-
__decorate([
|
|
9805
|
+
__decorate$l([
|
|
9620
9806
|
Event()
|
|
9621
9807
|
], Ribbon.prototype, "tabSelecting", void 0);
|
|
9622
|
-
__decorate([
|
|
9808
|
+
__decorate$l([
|
|
9623
9809
|
Event()
|
|
9624
9810
|
], Ribbon.prototype, "tabSelected", void 0);
|
|
9625
|
-
__decorate([
|
|
9811
|
+
__decorate$l([
|
|
9626
9812
|
Event()
|
|
9627
9813
|
], Ribbon.prototype, "ribbonExpanding", void 0);
|
|
9628
|
-
__decorate([
|
|
9814
|
+
__decorate$l([
|
|
9629
9815
|
Event()
|
|
9630
9816
|
], Ribbon.prototype, "ribbonCollapsing", void 0);
|
|
9631
|
-
__decorate([
|
|
9817
|
+
__decorate$l([
|
|
9632
9818
|
Event()
|
|
9633
9819
|
], Ribbon.prototype, "launcherIconClick", void 0);
|
|
9634
|
-
__decorate([
|
|
9820
|
+
__decorate$l([
|
|
9635
9821
|
Event()
|
|
9636
9822
|
], Ribbon.prototype, "created", void 0);
|
|
9637
|
-
__decorate([
|
|
9823
|
+
__decorate$l([
|
|
9638
9824
|
Event()
|
|
9639
9825
|
], Ribbon.prototype, "overflowPopupOpen", void 0);
|
|
9640
|
-
__decorate([
|
|
9826
|
+
__decorate$l([
|
|
9641
9827
|
Event()
|
|
9642
9828
|
], Ribbon.prototype, "overflowPopupClose", void 0);
|
|
9643
|
-
Ribbon = Ribbon_1 = __decorate([
|
|
9829
|
+
Ribbon = Ribbon_1 = __decorate$l([
|
|
9644
9830
|
NotifyPropertyChanges
|
|
9645
9831
|
], Ribbon);
|
|
9646
9832
|
return Ribbon;
|
|
9647
9833
|
}(Component));
|
|
9648
9834
|
|
|
9649
|
-
/**
|
|
9650
|
-
* Ribbon modules
|
|
9651
|
-
*/
|
|
9652
|
-
|
|
9653
9835
|
/**
|
|
9654
9836
|
* Defines the items of Ribbon.
|
|
9655
9837
|
*/
|
|
@@ -9984,7 +10166,7 @@ var RibbonFileMenu = /** @__PURE__ @class */ (function () {
|
|
|
9984
10166
|
return RibbonFileMenu;
|
|
9985
10167
|
}());
|
|
9986
10168
|
|
|
9987
|
-
var __extends$
|
|
10169
|
+
var __extends$m = (undefined && undefined.__extends) || (function () {
|
|
9988
10170
|
var extendStatics = function (d, b) {
|
|
9989
10171
|
extendStatics = Object.setPrototypeOf ||
|
|
9990
10172
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10001,16 +10183,16 @@ var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
|
10001
10183
|
* Defines the items of Ribbon.
|
|
10002
10184
|
*/
|
|
10003
10185
|
var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
10004
|
-
__extends$
|
|
10186
|
+
__extends$m(RibbonBackstage, _super);
|
|
10005
10187
|
function RibbonBackstage(parent) {
|
|
10006
10188
|
var _this = _super.call(this) || this;
|
|
10007
10189
|
_this.parent = parent;
|
|
10008
10190
|
return _this;
|
|
10009
10191
|
}
|
|
10010
10192
|
/**
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10193
|
+
* @private
|
|
10194
|
+
* @returns {void}
|
|
10195
|
+
*/
|
|
10014
10196
|
RibbonBackstage.prototype.render = function () {
|
|
10015
10197
|
// render code
|
|
10016
10198
|
};
|
|
@@ -10112,6 +10294,8 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10112
10294
|
if (firstMenuEle) {
|
|
10113
10295
|
firstMenuEle.classList.add('e-selected');
|
|
10114
10296
|
firstMenuEle.focus();
|
|
10297
|
+
_this.menuIndex = 0;
|
|
10298
|
+
_this.isCloseBtn = false;
|
|
10115
10299
|
}
|
|
10116
10300
|
_this.createBackStageContent(_this.menuCtrl.items[0].id, item.content);
|
|
10117
10301
|
break;
|
|
@@ -10176,7 +10360,8 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10176
10360
|
});
|
|
10177
10361
|
var targetEle;
|
|
10178
10362
|
if (backStageOptions.target) {
|
|
10179
|
-
targetEle = backStageOptions.target instanceof HTMLElement ? backStageOptions.target :
|
|
10363
|
+
targetEle = backStageOptions.target instanceof HTMLElement ? backStageOptions.target :
|
|
10364
|
+
document.querySelector(backStageOptions.target);
|
|
10180
10365
|
targetEle.appendChild(this.popupHTMLElement);
|
|
10181
10366
|
}
|
|
10182
10367
|
else {
|
|
@@ -10191,10 +10376,47 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10191
10376
|
if (this.parent.enableRtl) {
|
|
10192
10377
|
this.updatePopupPositionOnRtl(this.parent.enableRtl);
|
|
10193
10378
|
}
|
|
10194
|
-
this.popupHTMLElement.onkeydown = function (e) { if (e.code === 'Escape') {
|
|
10195
|
-
_this.hideBackstage();
|
|
10196
|
-
} };
|
|
10197
10379
|
this.hideBackstage();
|
|
10380
|
+
EventHandler.add(this.popupHTMLElement, 'keyup', function (e) {
|
|
10381
|
+
if (e.code === 'Escape') {
|
|
10382
|
+
_this.hideBackstage();
|
|
10383
|
+
}
|
|
10384
|
+
_this.handleNavigation(e);
|
|
10385
|
+
}, this);
|
|
10386
|
+
};
|
|
10387
|
+
RibbonBackstage.prototype.handleNavigation = function (e) {
|
|
10388
|
+
var closeBtnEle = this.popupHTMLElement.querySelector('.e-ribbon-close-btn');
|
|
10389
|
+
var menuItems = this.popupHTMLElement.querySelectorAll('.e-menu-item');
|
|
10390
|
+
var arrowUp = e.key === 'ArrowUp';
|
|
10391
|
+
var arrowDown = e.key === 'ArrowDown';
|
|
10392
|
+
if (arrowUp || arrowDown) {
|
|
10393
|
+
if ((arrowUp && this.menuIndex > 0) || (arrowDown && this.menuIndex < menuItems.length - 1 && !this.isCloseBtn)) {
|
|
10394
|
+
this.menuIndex = arrowUp ? this.menuIndex - 1 : this.menuIndex + 1;
|
|
10395
|
+
}
|
|
10396
|
+
else {
|
|
10397
|
+
if (closeBtnEle && !this.isCloseBtn) {
|
|
10398
|
+
closeBtnEle.focus();
|
|
10399
|
+
this.isCloseBtn = true;
|
|
10400
|
+
}
|
|
10401
|
+
else {
|
|
10402
|
+
this.menuIndex = arrowUp ? menuItems.length - 1 : 0;
|
|
10403
|
+
this.isCloseBtn = false;
|
|
10404
|
+
}
|
|
10405
|
+
}
|
|
10406
|
+
for (var i = 0; i < menuItems.length; i++) {
|
|
10407
|
+
menuItems[parseInt(i.toString(), 10)].classList.remove('e-focused');
|
|
10408
|
+
}
|
|
10409
|
+
if (!this.isCloseBtn) {
|
|
10410
|
+
if (arrowUp && menuItems[this.menuIndex].classList.contains('e-separator')) {
|
|
10411
|
+
this.menuIndex--;
|
|
10412
|
+
}
|
|
10413
|
+
else if (arrowDown && menuItems[this.menuIndex].classList.contains('e-separator')) {
|
|
10414
|
+
this.menuIndex++;
|
|
10415
|
+
}
|
|
10416
|
+
menuItems[this.menuIndex].classList.add('e-focused');
|
|
10417
|
+
menuItems[this.menuIndex].focus();
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10198
10420
|
};
|
|
10199
10421
|
RibbonBackstage.prototype.updatePopupPositionOnRtl = function (enableRtl) {
|
|
10200
10422
|
var popupStyle = this.popupHTMLElement.style;
|
|
@@ -10349,11 +10571,13 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10349
10571
|
var item = menuOptions.items[parseInt(i.toString(), 10)];
|
|
10350
10572
|
if (item.text === args.item.text) {
|
|
10351
10573
|
this.contentItem = item;
|
|
10574
|
+
this.menuIndex = i;
|
|
10352
10575
|
break;
|
|
10353
10576
|
}
|
|
10354
10577
|
}
|
|
10355
10578
|
this.createBackStageContent(args.item.id, this.contentItem.content);
|
|
10356
|
-
var eventArgs = { cancel: false, target: args.element,
|
|
10579
|
+
var eventArgs = { cancel: false, target: args.element,
|
|
10580
|
+
item: this.contentItem, isBackButton: this.isBackButtonClicked };
|
|
10357
10581
|
if (this.contentItem.backStageItemClick) {
|
|
10358
10582
|
this.contentItem.backStageItemClick.call(this, eventArgs);
|
|
10359
10583
|
}
|
|
@@ -10373,8 +10597,9 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10373
10597
|
this.backstageButton.setProperties(commonProp);
|
|
10374
10598
|
if (this.popupEle) {
|
|
10375
10599
|
this.popupEle.setProperties(commonProp);
|
|
10376
|
-
if (this.popupHTMLElement)
|
|
10600
|
+
if (this.popupHTMLElement) {
|
|
10377
10601
|
this.updatePopupPositionOnRtl(commonProp.enableRtl);
|
|
10602
|
+
}
|
|
10378
10603
|
if (this.menuCtrl) {
|
|
10379
10604
|
this.menuCtrl.setProperties(commonProp);
|
|
10380
10605
|
if (this.closeBtn) {
|
|
@@ -10407,7 +10632,7 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10407
10632
|
this.popupEle.setProperties({
|
|
10408
10633
|
height: backStageOptions.height,
|
|
10409
10634
|
width: backStageOptions.width,
|
|
10410
|
-
target: backStageOptions.target || this.parent.element
|
|
10635
|
+
target: backStageOptions.target || this.parent.element
|
|
10411
10636
|
});
|
|
10412
10637
|
}
|
|
10413
10638
|
if (backStageOptions.template) {
|
|
@@ -10516,10 +10741,20 @@ var RibbonBackstage = /** @__PURE__ @class */ (function (_super) {
|
|
|
10516
10741
|
for (var i = 0; i < items.length; i++) {
|
|
10517
10742
|
var item = items[parseInt(i.toString(), 10)];
|
|
10518
10743
|
if (item.isFooter) {
|
|
10519
|
-
|
|
10744
|
+
if (isAfter) {
|
|
10745
|
+
this.footerMenuCtrl.insertAfter(items, target, isUniqueId);
|
|
10746
|
+
}
|
|
10747
|
+
else {
|
|
10748
|
+
this.footerMenuCtrl.insertBefore(items, target, isUniqueId);
|
|
10749
|
+
}
|
|
10520
10750
|
}
|
|
10521
10751
|
else {
|
|
10522
|
-
|
|
10752
|
+
if (isAfter) {
|
|
10753
|
+
this.menuCtrl.insertAfter(items, target, isUniqueId);
|
|
10754
|
+
}
|
|
10755
|
+
else {
|
|
10756
|
+
this.menuCtrl.insertBefore(items, target, isUniqueId);
|
|
10757
|
+
}
|
|
10523
10758
|
}
|
|
10524
10759
|
}
|
|
10525
10760
|
var backstageItems = [].concat(this.menuCtrl.items, this.footerMenuCtrl.items);
|
|
@@ -10647,11 +10882,14 @@ var RibbonContextualTab = /** @__PURE__ @class */ (function () {
|
|
|
10647
10882
|
if (newProp.tabs) {
|
|
10648
10883
|
var _loop_1 = function (key) {
|
|
10649
10884
|
var index = parseInt(key, 10);
|
|
10650
|
-
var tab = this_1.parent.tabs.filter(function (e) {
|
|
10885
|
+
var tab = this_1.parent.tabs.filter(function (e) {
|
|
10886
|
+
return e.id === contextualTab.tabs[parseInt(index.toString(), 10)].id;
|
|
10887
|
+
})[0];
|
|
10651
10888
|
this_1.parent.updateTab(tab);
|
|
10652
10889
|
};
|
|
10653
10890
|
var this_1 = this;
|
|
10654
|
-
for (var
|
|
10891
|
+
for (var _i = 0, _a = Object.keys(newProp.tabs); _i < _a.length; _i++) {
|
|
10892
|
+
var key = _a[_i];
|
|
10655
10893
|
_loop_1(key);
|
|
10656
10894
|
}
|
|
10657
10895
|
}
|
|
@@ -10686,8 +10924,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10686
10924
|
if (key === 'tab') {
|
|
10687
10925
|
for (var i = 0; i < this.parent.tabs.length; i++) {
|
|
10688
10926
|
if (this.parent.keyTipElements[parseInt(i.toString(), 10)]) {
|
|
10689
|
-
|
|
10690
|
-
keytipData = this.parent.keyTipElements[i][key];
|
|
10927
|
+
keytipData = this.parent.keyTipElements[parseInt(i.toString(), 10)]["" + key];
|
|
10691
10928
|
this.createKeyTipElement((keytipData[0].id), keytipData[0].keyTip, 'tab', 'center', 'bottom', true);
|
|
10692
10929
|
}
|
|
10693
10930
|
}
|
|
@@ -10770,15 +11007,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10770
11007
|
if (isMethod === void 0) { isMethod = false; }
|
|
10771
11008
|
var xOffset;
|
|
10772
11009
|
var yOffset;
|
|
10773
|
-
var keytipData;
|
|
10774
|
-
/* eslint-disable */
|
|
10775
|
-
keytipData = this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)][key];
|
|
11010
|
+
var keytipData = this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)]["" + key];
|
|
10776
11011
|
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 */
|
|
11012
|
+
for (var i = 0; i < Object.keys(this.parent.keyTipElements[parseInt(this.parent.selectedTab.toString(), 10)]["" + key]).length; i++) {
|
|
10779
11013
|
if ((isMethod && (keytipData[parseInt(i.toString(), 10)].keyTip === keyTip)) || !isMethod) {
|
|
10780
11014
|
var itemID = keytipData[parseInt(i.toString(), 10)].id;
|
|
10781
|
-
if (keytipData[parseInt(i.toString(), 10)].id.
|
|
11015
|
+
if (keytipData[parseInt(i.toString(), 10)].id.indexOf('_grpbtn') !== -1) {
|
|
10782
11016
|
itemID = keytipData[parseInt(i.toString(), 10)].id.replace(/_grpbtn\d+/, '');
|
|
10783
11017
|
}
|
|
10784
11018
|
var itemProp = getItem(this.parent.tabs, itemID);
|
|
@@ -10806,7 +11040,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10806
11040
|
yOffset = 'bottom';
|
|
10807
11041
|
}
|
|
10808
11042
|
}
|
|
10809
|
-
key === 'item'
|
|
11043
|
+
if (key === 'item') {
|
|
11044
|
+
this.createKeyTipElement((keytipData[parseInt(i.toString(), 10)].id), keytipData[parseInt(i.toString(), 10)].keyTip, key, xOffset, yOffset);
|
|
11045
|
+
}
|
|
11046
|
+
else {
|
|
11047
|
+
this.createKeyTipElement((keytipData[parseInt(i.toString(), 10)].id), keytipData[parseInt(i.toString(), 10)].keyTip, key, xOffset, yOffset, false, true);
|
|
11048
|
+
}
|
|
10810
11049
|
}
|
|
10811
11050
|
}
|
|
10812
11051
|
}
|
|
@@ -10856,13 +11095,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10856
11095
|
enableRtl: this.parent.enableRtl
|
|
10857
11096
|
});
|
|
10858
11097
|
keytipPopup.show();
|
|
10859
|
-
this.calculateKeyTipPosition(keyEle, keytipElement, type, yOffset
|
|
11098
|
+
this.calculateKeyTipPosition(keyEle, keytipElement, type, yOffset);
|
|
10860
11099
|
this.parent.isKeytipOpen = true;
|
|
10861
11100
|
}
|
|
10862
11101
|
}
|
|
10863
11102
|
};
|
|
10864
|
-
RibbonKeyTip.prototype.calculateKeyTipPosition = function (itemEle, keytipElement, type, yOffset
|
|
10865
|
-
if (isTabOverflow === void 0) { isTabOverflow = false; }
|
|
11103
|
+
RibbonKeyTip.prototype.calculateKeyTipPosition = function (itemEle, keytipElement, type, yOffset) {
|
|
10866
11104
|
var position = itemEle.getBoundingClientRect();
|
|
10867
11105
|
if (type === 'backstageMenu') {
|
|
10868
11106
|
keytipElement.style.top = position.top + ((keytipElement.offsetHeight) / 2) + 'px';
|
|
@@ -10884,6 +11122,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10884
11122
|
* Performs keytip action.
|
|
10885
11123
|
*
|
|
10886
11124
|
* @param {string} keyPress - Gets the keytip text.
|
|
11125
|
+
* @param {boolean} isMethod - Gets the isMethod.
|
|
10887
11126
|
* @returns {void}
|
|
10888
11127
|
* @hidden
|
|
10889
11128
|
*/
|
|
@@ -10893,9 +11132,11 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10893
11132
|
this.isKeytipPresent = false;
|
|
10894
11133
|
for (var i = 0; ((i < Object.keys(this.parent.keyTipElements).length) && !this.isKeytipPresent); i++) {
|
|
10895
11134
|
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
|
-
|
|
11135
|
+
for (var j = 0; ((j < Object.keys(this.parent.keyTipElements[parseInt(i.toString(), 10)]).length) &&
|
|
11136
|
+
!this.isKeytipPresent); j++) {
|
|
11137
|
+
var keytipData = this.parent.keyTipElements[parseInt(i.toString(), 10)][Object.
|
|
11138
|
+
keys(this.parent.keyTipElements[parseInt(i.toString(), 10)])[parseInt(j.toString(), 10)]];
|
|
11139
|
+
for (var k = 0; ((k < Object.keys(keytipData).length) && !this.isKeytipPresent); k++) {
|
|
10899
11140
|
if (keyPress.toUpperCase() === keytipData[parseInt(k.toString(), 10)].keyTip) {
|
|
10900
11141
|
var keyTipElement = document.querySelector('#' + keytipData[parseInt(k.toString(), 10)].id + RIBBON_KEYTIP_ID);
|
|
10901
11142
|
if (keyTipElement || isMethod) {
|
|
@@ -10906,8 +11147,9 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10906
11147
|
this.parent.tabObj.select(i);
|
|
10907
11148
|
setTimeout(function () {
|
|
10908
11149
|
var tabOverflow = _this.parent.tabObj.element.querySelector('.e-nav-active');
|
|
10909
|
-
if (tabOverflow)
|
|
11150
|
+
if (tabOverflow) {
|
|
10910
11151
|
tabOverflow.click();
|
|
11152
|
+
}
|
|
10911
11153
|
_this.createKeytip('item');
|
|
10912
11154
|
}, 600);
|
|
10913
11155
|
}
|
|
@@ -10922,7 +11164,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10922
11164
|
}
|
|
10923
11165
|
else {
|
|
10924
11166
|
var itemProp = void 0;
|
|
10925
|
-
if ((keytipData[parseInt(k.toString(), 10)].id).
|
|
11167
|
+
if ((keytipData[parseInt(k.toString(), 10)].id).indexOf('_popupButton') !== -1) {
|
|
10926
11168
|
var galleryID = keytipData[parseInt(k.toString(), 10)].id.replace(/_popupButton/g, '');
|
|
10927
11169
|
itemProp = getItem(this.parent.tabs, galleryID);
|
|
10928
11170
|
}
|
|
@@ -10940,7 +11182,7 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10940
11182
|
if (keyEle) {
|
|
10941
11183
|
var groupID = keytipData[parseInt(k.toString(), 10)].id;
|
|
10942
11184
|
if (isMethod) {
|
|
10943
|
-
if (keytipData[parseInt(k.toString(), 10)].id.
|
|
11185
|
+
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
11186
|
groupID = keytipData[parseInt(k.toString(), 10)].id.replace(/_launcher|_sim_grp_overflow|_overflow_dropdown/g, '');
|
|
10945
11187
|
var itemProp = getGroup(this.parent.tabs, groupID);
|
|
10946
11188
|
if (itemProp.tabIndex === this.parent.selectedTab) {
|
|
@@ -10971,7 +11213,12 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
10971
11213
|
keyEle.click();
|
|
10972
11214
|
if (!(keytipData[parseInt(k.toString(), 10)].type === 'launcher')) {
|
|
10973
11215
|
this.isKeytipPopupOpen = true;
|
|
10974
|
-
keytipData[parseInt(k.toString(), 10)].type === 'grpoverflow'
|
|
11216
|
+
if (keytipData[parseInt(k.toString(), 10)].type === 'grpoverflow') {
|
|
11217
|
+
this.createKeytip('grpoverflowpopup');
|
|
11218
|
+
}
|
|
11219
|
+
else {
|
|
11220
|
+
this.createKeytip('popupitem');
|
|
11221
|
+
}
|
|
10975
11222
|
}
|
|
10976
11223
|
}
|
|
10977
11224
|
else {
|
|
@@ -11008,21 +11255,24 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11008
11255
|
case 'colorpicker':
|
|
11009
11256
|
this.parent.ribbonColorPickerModule.toggle(itemID);
|
|
11010
11257
|
break;
|
|
11011
|
-
case 'combobox':
|
|
11258
|
+
case 'combobox': {
|
|
11012
11259
|
var itemEle_1 = document.querySelector('#' + itemID);
|
|
11013
11260
|
setTimeout(function () {
|
|
11014
11261
|
itemEle_1.focus();
|
|
11015
11262
|
}, 100);
|
|
11016
11263
|
break;
|
|
11017
|
-
|
|
11264
|
+
}
|
|
11265
|
+
case 'gallery': {
|
|
11018
11266
|
var galleryEle = document.querySelector('#' + itemID);
|
|
11019
11267
|
galleryEle.click();
|
|
11020
11268
|
break;
|
|
11021
|
-
|
|
11269
|
+
}
|
|
11270
|
+
case 'template': {
|
|
11022
11271
|
var templateEle = document.querySelector('#' + itemID);
|
|
11023
11272
|
templateEle.focus();
|
|
11024
11273
|
break;
|
|
11025
|
-
|
|
11274
|
+
}
|
|
11275
|
+
case 'group-btn': {
|
|
11026
11276
|
var itemElement = document.querySelector('#' + itemID);
|
|
11027
11277
|
if (itemElement) {
|
|
11028
11278
|
var item = getInstance(itemElement, DropDownButton);
|
|
@@ -11034,21 +11284,20 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11034
11284
|
}
|
|
11035
11285
|
}
|
|
11036
11286
|
break;
|
|
11287
|
+
}
|
|
11037
11288
|
}
|
|
11038
11289
|
}
|
|
11039
11290
|
};
|
|
11040
11291
|
RibbonKeyTip.prototype.commonItemsKeyTipPress = function (keyPress, key, isMethod) {
|
|
11041
11292
|
var _this = this;
|
|
11042
|
-
|
|
11043
|
-
if (this.parent.keyTipElements[key]) {
|
|
11293
|
+
if (this.parent.keyTipElements["" + key]) {
|
|
11044
11294
|
var isKeyPressed = false;
|
|
11045
|
-
var keytipData = this.parent.keyTipElements[key];
|
|
11295
|
+
var keytipData = this.parent.keyTipElements["" + key];
|
|
11046
11296
|
var keyEle = void 0;
|
|
11047
11297
|
var keytipElement = void 0;
|
|
11048
11298
|
if (keytipData) {
|
|
11049
11299
|
if (key === 'backstageMenu') {
|
|
11050
|
-
for (var i = 0; i < Object.keys(this.parent.keyTipElements[key]).length; i++) {
|
|
11051
|
-
/* eslint-enable */
|
|
11300
|
+
for (var i = 0; i < Object.keys(this.parent.keyTipElements["" + key]).length; i++) {
|
|
11052
11301
|
if (keytipData[parseInt(i.toString(), 10)].keyTip === keyPress.toUpperCase()) {
|
|
11053
11302
|
keyEle = document.querySelector('#' + keytipData[parseInt(i.toString(), 10)].id);
|
|
11054
11303
|
keytipElement = document.querySelector('#' + keyEle.id + RIBBON_KEYTIP_ID);
|
|
@@ -11113,34 +11362,34 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11113
11362
|
var _loop_1 = function (i) {
|
|
11114
11363
|
var keyTipItem = keyTipItems[parseInt(i.toString(), 10)];
|
|
11115
11364
|
if (key === 'Escape' && this_1.parent.keyTipElements && this_1.parent.keyTipElements[this_1.parent.selectedTab]) {
|
|
11116
|
-
/* eslint-disable */
|
|
11117
11365
|
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
|
-
|
|
11366
|
+
var keyText = (Object.keys(this_1.parent.keyTipElements[parseInt(this_1.parent.selectedTab.toString(), 10)]))[parseInt(j.toString(), 10)];
|
|
11367
|
+
var keyTipElement = this_1.parent.keyTipElements[parseInt(this_1.parent.selectedTab.toString(), 10)];
|
|
11368
|
+
var index = getIndex(keyTipElement["" + keyText], function (e) {
|
|
11369
|
+
return e.id +
|
|
11370
|
+
RIBBON_KEYTIP_ID === keyTipItems[parseInt(i.toString(), 10)].id;
|
|
11371
|
+
});
|
|
11372
|
+
if (index !== -1) {
|
|
11373
|
+
if ((keyText === 'item' && !(this_1.isKeytipPopupOpen)) || (keyText === 'grpoverflow' && this_1.parent.activeLayout === 'Classic')) {
|
|
11374
|
+
this_1.createKeytip('tab');
|
|
11375
|
+
key = '';
|
|
11376
|
+
isKeyTipExist = true;
|
|
11377
|
+
break;
|
|
11378
|
+
}
|
|
11379
|
+
else if (this_1.isKeytipPopupOpen) {
|
|
11380
|
+
if ((keyText === 'popupitem' && this_1.parent.activeLayout === 'Simplified') || (keyText === 'grpoverflowpopup' && this_1.parent.activeLayout === 'Classic')) {
|
|
11381
|
+
this_1.createKeytip('item');
|
|
11125
11382
|
key = '';
|
|
11126
11383
|
isKeyTipExist = true;
|
|
11127
11384
|
break;
|
|
11128
11385
|
}
|
|
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
11386
|
}
|
|
11138
11387
|
}
|
|
11139
11388
|
}
|
|
11140
11389
|
for (var n = 0; n < Object.keys(this_1.parent.keyTipElements).length; n++) {
|
|
11141
11390
|
if (this_1.parent.keyTipElements[parseInt(n.toString(), 10)]) {
|
|
11142
11391
|
var keytipData = this_1.parent.keyTipElements[parseInt(n.toString(), 10)]['tab'];
|
|
11143
|
-
for (var j = 0; j < keytipData.length; j++) {
|
|
11392
|
+
for (var j = 0; j < Object.keys(keytipData).length; j++) {
|
|
11144
11393
|
if (keyTipItem.id === keytipData[0].id + RIBBON_KEYTIP_ID) {
|
|
11145
11394
|
if (document.querySelector('#' + keytipData[0].id + HEADER_ID).closest('.e-toolbar-pop')) {
|
|
11146
11395
|
var tabOverflow = this_1.parent.tabObj.element.querySelector('.e-nav-active');
|
|
@@ -11177,8 +11426,9 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11177
11426
|
_loop_1(i);
|
|
11178
11427
|
}
|
|
11179
11428
|
this.isKeytipPopupOpen = false;
|
|
11180
|
-
if (!isKeyTipExist)
|
|
11429
|
+
if (!isKeyTipExist) {
|
|
11181
11430
|
this.parent.isKeytipOpen = false;
|
|
11431
|
+
}
|
|
11182
11432
|
};
|
|
11183
11433
|
/**
|
|
11184
11434
|
* Shows the Keytip dynamically.
|
|
@@ -11207,12 +11457,5 @@ var RibbonKeyTip = /** @__PURE__ @class */ (function () {
|
|
|
11207
11457
|
return RibbonKeyTip;
|
|
11208
11458
|
}());
|
|
11209
11459
|
|
|
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 };
|
|
11460
|
+
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
11461
|
//# sourceMappingURL=ej2-ribbon.es5.js.map
|