@syncfusion/ej2-ribbon 31.1.17 → 31.2.2
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/dist/ej2-ribbon.umd.min.js +3 -3
- package/dist/ej2-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-ribbon.es2015.js +24 -5
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +24 -5
- package/dist/es6/ej2-ribbon.es5.js.map +1 -1
- package/dist/global/ej2-ribbon.min.js +3 -3
- package/dist/global/ej2-ribbon.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +19 -55
- package/src/ribbon/base/ribbon-model.d.ts +1 -1
- package/src/ribbon/base/ribbon.js +14 -5
- package/src/ribbon/items/ribbon-splitbutton.js +11 -0
- package/styles/bds-lite.css +9 -0
- package/styles/bds.css +9 -0
- package/styles/bootstrap-dark-lite.css +9 -0
- package/styles/bootstrap-dark.css +9 -0
- package/styles/bootstrap-lite.css +9 -0
- package/styles/bootstrap.css +9 -0
- package/styles/bootstrap4-lite.css +17 -0
- package/styles/bootstrap4.css +17 -0
- package/styles/bootstrap5-dark-lite.css +9 -0
- package/styles/bootstrap5-dark.css +9 -0
- package/styles/bootstrap5-lite.css +9 -0
- package/styles/bootstrap5.3-lite.css +9 -0
- package/styles/bootstrap5.3.css +9 -0
- package/styles/bootstrap5.css +9 -0
- package/styles/fabric-dark-lite.css +9 -0
- package/styles/fabric-dark.css +9 -0
- package/styles/fabric-lite.css +9 -0
- package/styles/fabric.css +9 -0
- package/styles/fluent-dark-lite.css +9 -0
- package/styles/fluent-dark.css +9 -0
- package/styles/fluent-lite.css +9 -0
- package/styles/fluent.css +9 -0
- package/styles/fluent2-lite.css +11 -2
- package/styles/fluent2.css +11 -2
- package/styles/highcontrast-light-lite.css +9 -0
- package/styles/highcontrast-light.css +9 -0
- package/styles/highcontrast-lite.css +9 -0
- package/styles/highcontrast.css +9 -0
- package/styles/material-dark-lite.css +9 -0
- package/styles/material-dark.css +9 -0
- package/styles/material-lite.css +9 -0
- package/styles/material.css +9 -0
- package/styles/material3-dark-lite.css +9 -0
- package/styles/material3-dark.css +9 -0
- package/styles/material3-lite.css +9 -0
- package/styles/material3.css +9 -0
- package/styles/ribbon/_fluent2-definition.scss +2 -2
- package/styles/ribbon/_layout.scss +7 -0
- package/styles/ribbon/bds.css +9 -0
- package/styles/ribbon/bootstrap-dark.css +9 -0
- package/styles/ribbon/bootstrap.css +9 -0
- package/styles/ribbon/bootstrap4.css +17 -0
- package/styles/ribbon/bootstrap5-dark.css +9 -0
- package/styles/ribbon/bootstrap5.3.css +9 -0
- package/styles/ribbon/bootstrap5.css +9 -0
- package/styles/ribbon/fabric-dark.css +9 -0
- package/styles/ribbon/fabric.css +9 -0
- package/styles/ribbon/fluent-dark.css +9 -0
- package/styles/ribbon/fluent.css +9 -0
- package/styles/ribbon/fluent2.css +11 -2
- package/styles/ribbon/highcontrast-light.css +9 -0
- package/styles/ribbon/highcontrast.css +9 -0
- package/styles/ribbon/material-dark.css +9 -0
- package/styles/ribbon/material.css +9 -0
- package/styles/ribbon/material3-dark.css +9 -0
- package/styles/ribbon/material3.css +9 -0
- package/styles/ribbon/tailwind-dark.css +9 -0
- package/styles/ribbon/tailwind.css +9 -0
- package/styles/ribbon/tailwind3.css +9 -0
- package/styles/tailwind-dark-lite.css +9 -0
- package/styles/tailwind-dark.css +9 -0
- package/styles/tailwind-lite.css +9 -0
- package/styles/tailwind.css +9 -0
- package/styles/tailwind3-lite.css +9 -0
- package/styles/tailwind3.css +9 -0
- package/dist/ts/index.d.ts +0 -1
- package/dist/ts/index.ts +0 -3
- package/dist/ts/ribbon/base/constant.d.ts +0 -201
- package/dist/ts/ribbon/base/constant.ts +0 -204
- package/dist/ts/ribbon/base/index.d.ts +0 -8
- package/dist/ts/ribbon/base/index.ts +0 -8
- package/dist/ts/ribbon/base/interface.d.ts +0 -398
- package/dist/ts/ribbon/base/interface.ts +0 -424
- package/dist/ts/ribbon/base/ribbon-model.d.ts +0 -195
- package/dist/ts/ribbon/base/ribbon.d.ts +0 -608
- package/dist/ts/ribbon/base/ribbon.ts +0 -4896
- package/dist/ts/ribbon/base/utils.d.ts +0 -139
- package/dist/ts/ribbon/base/utils.ts +0 -341
- package/dist/ts/ribbon/index.d.ts +0 -7
- package/dist/ts/ribbon/index.ts +0 -7
- package/dist/ts/ribbon/items/index.d.ts +0 -8
- package/dist/ts/ribbon/items/index.ts +0 -8
- package/dist/ts/ribbon/items/ribbon-button.d.ts +0 -64
- package/dist/ts/ribbon/items/ribbon-button.ts +0 -160
- package/dist/ts/ribbon/items/ribbon-checkbox.d.ts +0 -55
- package/dist/ts/ribbon/items/ribbon-checkbox.ts +0 -130
- package/dist/ts/ribbon/items/ribbon-colorpicker.d.ts +0 -72
- package/dist/ts/ribbon/items/ribbon-colorpicker.ts +0 -228
- package/dist/ts/ribbon/items/ribbon-combobox.d.ts +0 -77
- package/dist/ts/ribbon/items/ribbon-combobox.ts +0 -201
- package/dist/ts/ribbon/items/ribbon-dropdown.d.ts +0 -128
- package/dist/ts/ribbon/items/ribbon-dropdown.ts +0 -400
- package/dist/ts/ribbon/items/ribbon-gallery.d.ts +0 -97
- package/dist/ts/ribbon/items/ribbon-gallery.ts +0 -773
- package/dist/ts/ribbon/items/ribbon-groupbutton.d.ts +0 -73
- package/dist/ts/ribbon/items/ribbon-groupbutton.ts +0 -531
- package/dist/ts/ribbon/items/ribbon-splitbutton.d.ts +0 -85
- package/dist/ts/ribbon/items/ribbon-splitbutton.ts +0 -257
- package/dist/ts/ribbon/models/index.d.ts +0 -42
- package/dist/ts/ribbon/models/index.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-back-button-model.d.ts +0 -29
- package/dist/ts/ribbon/models/ribbon-back-button.d.ts +0 -24
- package/dist/ts/ribbon/models/ribbon-back-button.ts +0 -31
- package/dist/ts/ribbon/models/ribbon-back-stage-settings-model.d.ts +0 -83
- package/dist/ts/ribbon/models/ribbon-back-stage-settings.d.ts +0 -81
- package/dist/ts/ribbon/models/ribbon-back-stage-settings.ts +0 -109
- package/dist/ts/ribbon/models/ribbon-backstage-item-model.d.ts +0 -69
- package/dist/ts/ribbon/models/ribbon-backstage-item.d.ts +0 -80
- package/dist/ts/ribbon/models/ribbon-backstage-item.ts +0 -102
- package/dist/ts/ribbon/models/ribbon-button-settings-model.d.ts +0 -64
- package/dist/ts/ribbon/models/ribbon-button-settings.d.ts +0 -63
- package/dist/ts/ribbon/models/ribbon-button-settings.ts +0 -80
- package/dist/ts/ribbon/models/ribbon-checkbox-settings-model.d.ts +0 -57
- package/dist/ts/ribbon/models/ribbon-checkbox-settings.d.ts +0 -58
- package/dist/ts/ribbon/models/ribbon-checkbox-settings.ts +0 -74
- package/dist/ts/ribbon/models/ribbon-collection-model.d.ts +0 -30
- package/dist/ts/ribbon/models/ribbon-collection.d.ts +0 -33
- package/dist/ts/ribbon/models/ribbon-collection.ts +0 -45
- package/dist/ts/ribbon/models/ribbon-colorpicker-settings-model.d.ts +0 -137
- package/dist/ts/ribbon/models/ribbon-colorpicker-settings.d.ts +0 -129
- package/dist/ts/ribbon/models/ribbon-colorpicker-settings.ts +0 -165
- package/dist/ts/ribbon/models/ribbon-combobox-settings-model.d.ts +0 -275
- package/dist/ts/ribbon/models/ribbon-combobox-settings.d.ts +0 -257
- package/dist/ts/ribbon/models/ribbon-combobox-settings.ts +0 -313
- package/dist/ts/ribbon/models/ribbon-contextual-tab-settings-model.d.ts +0 -30
- package/dist/ts/ribbon/models/ribbon-contextual-tab-settings.d.ts +0 -33
- package/dist/ts/ribbon/models/ribbon-contextual-tab-settings.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-dropdown-settings-model.d.ts +0 -114
- package/dist/ts/ribbon/models/ribbon-dropdown-settings.d.ts +0 -107
- package/dist/ts/ribbon/models/ribbon-dropdown-settings.ts +0 -139
- package/dist/ts/ribbon/models/ribbon-file-menu-settings-model.d.ts +0 -123
- package/dist/ts/ribbon/models/ribbon-file-menu-settings.d.ts +0 -173
- package/dist/ts/ribbon/models/ribbon-file-menu-settings.ts +0 -220
- package/dist/ts/ribbon/models/ribbon-gallery-group-model.d.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-gallery-group.d.ts +0 -38
- package/dist/ts/ribbon/models/ribbon-gallery-group.ts +0 -50
- package/dist/ts/ribbon/models/ribbon-gallery-item-model.d.ts +0 -43
- package/dist/ts/ribbon/models/ribbon-gallery-item.d.ts +0 -38
- package/dist/ts/ribbon/models/ribbon-gallery-item.ts +0 -47
- package/dist/ts/ribbon/models/ribbon-gallery-settings-model.d.ts +0 -108
- package/dist/ts/ribbon/models/ribbon-gallery-settings.d.ts +0 -95
- package/dist/ts/ribbon/models/ribbon-gallery-settings.ts +0 -123
- package/dist/ts/ribbon/models/ribbon-group-button-item-model.d.ts +0 -64
- package/dist/ts/ribbon/models/ribbon-group-button-item.d.ts +0 -65
- package/dist/ts/ribbon/models/ribbon-group-button-item.ts +0 -85
- package/dist/ts/ribbon/models/ribbon-group-button-settings-model.d.ts +0 -32
- package/dist/ts/ribbon/models/ribbon-group-button-settings.d.ts +0 -29
- package/dist/ts/ribbon/models/ribbon-group-button-settings.ts +0 -38
- package/dist/ts/ribbon/models/ribbon-group-model.d.ts +0 -112
- package/dist/ts/ribbon/models/ribbon-group.d.ts +0 -105
- package/dist/ts/ribbon/models/ribbon-group.ts +0 -138
- package/dist/ts/ribbon/models/ribbon-item-model.d.ts +0 -144
- package/dist/ts/ribbon/models/ribbon-item.d.ts +0 -141
- package/dist/ts/ribbon/models/ribbon-item.ts +0 -190
- package/dist/ts/ribbon/models/ribbon-splitbutton-settings-model.d.ts +0 -114
- package/dist/ts/ribbon/models/ribbon-splitbutton-settings.d.ts +0 -107
- package/dist/ts/ribbon/models/ribbon-splitbutton-settings.ts +0 -140
- package/dist/ts/ribbon/models/ribbon-tab-model.d.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-tab.d.ts +0 -45
- package/dist/ts/ribbon/models/ribbon-tab.ts +0 -61
- package/dist/ts/ribbon/models/ribbon-tooltip-model.d.ts +0 -43
- package/dist/ts/ribbon/models/ribbon-tooltip.d.ts +0 -36
- package/dist/ts/ribbon/models/ribbon-tooltip.ts +0 -47
- package/dist/ts/ribbon/modules/index.d.ts +0 -4
- package/dist/ts/ribbon/modules/index.ts +0 -5
- package/dist/ts/ribbon/modules/ribbon-backstage.d.ts +0 -117
- package/dist/ts/ribbon/modules/ribbon-backstage.ts +0 -620
- package/dist/ts/ribbon/modules/ribbon-contextualtab.d.ts +0 -27
- package/dist/ts/ribbon/modules/ribbon-contextualtab.ts +0 -93
- package/dist/ts/ribbon/modules/ribbon-filemenu.d.ts +0 -96
- package/dist/ts/ribbon/modules/ribbon-filemenu.ts +0 -353
- package/dist/ts/ribbon/modules/ribbon-keytip.d.ts +0 -56
- package/dist/ts/ribbon/modules/ribbon-keytip.ts +0 -580
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { RibbonItemType, RibbonItemSize, DisplayMode } from '../base/interface';
|
|
3
|
-
import { RibbonButtonSettingsModel } from './ribbon-button-settings-model';
|
|
4
|
-
import { RibbonCheckBoxSettingsModel } from './ribbon-checkbox-settings-model';
|
|
5
|
-
import { RibbonColorPickerSettingsModel } from './ribbon-colorpicker-settings-model';
|
|
6
|
-
import { RibbonComboBoxSettingsModel } from './ribbon-combobox-settings-model';
|
|
7
|
-
import { RibbonDropDownSettingsModel } from './ribbon-dropdown-settings-model';
|
|
8
|
-
import { RibbonSplitButtonSettingsModel } from './ribbon-splitbutton-settings-model';
|
|
9
|
-
import { RibbonTooltipModel } from './ribbon-tooltip-model';
|
|
10
|
-
import { RibbonGroupButtonSettingsModel } from './ribbon-group-button-settings-model';
|
|
11
|
-
import { RibbonGallerySettingsModel } from './ribbon-gallery-settings-model';
|
|
12
|
-
/**
|
|
13
|
-
* Defines the ribbon item.
|
|
14
|
-
*/
|
|
15
|
-
export declare class RibbonItem extends ChildProperty<RibbonItem> {
|
|
16
|
-
/**
|
|
17
|
-
* Defines the key tip text to be accessed for specified Ribbon item.
|
|
18
|
-
*
|
|
19
|
-
* @default ''
|
|
20
|
-
*/
|
|
21
|
-
keyTip: string;
|
|
22
|
-
/**
|
|
23
|
-
* Defines the active size of the ribbon item.
|
|
24
|
-
*
|
|
25
|
-
* @default 'Medium'
|
|
26
|
-
* @aspNumberEnum
|
|
27
|
-
*/
|
|
28
|
-
activeSize: RibbonItemSize;
|
|
29
|
-
/**
|
|
30
|
-
* Defines the sizes that are allowed for the ribbon item on ribbon resize.
|
|
31
|
-
*
|
|
32
|
-
* @default null
|
|
33
|
-
* @aspNumberEnum
|
|
34
|
-
*/
|
|
35
|
-
allowedSizes: RibbonItemSize;
|
|
36
|
-
/**
|
|
37
|
-
* Defines a unique identifier for the item.
|
|
38
|
-
*
|
|
39
|
-
* @default ''
|
|
40
|
-
*/
|
|
41
|
-
id: string;
|
|
42
|
-
/**
|
|
43
|
-
* Defines one or more CSS classes to customize the appearance of item.
|
|
44
|
-
*
|
|
45
|
-
* @default ''
|
|
46
|
-
*/
|
|
47
|
-
cssClass: string;
|
|
48
|
-
/**
|
|
49
|
-
* Defines whether the item is disabled or not.
|
|
50
|
-
*
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
disabled: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Defines the template content for the ribbon item.
|
|
56
|
-
* `ActiveSize` property is passed as string in template context.
|
|
57
|
-
*
|
|
58
|
-
* @default ''
|
|
59
|
-
* @angularType string | object | HTMLElement
|
|
60
|
-
* @reactType string | function | JSX.Element | HTMLElement
|
|
61
|
-
* @vueType string | function | HTMLElement
|
|
62
|
-
* @aspType string
|
|
63
|
-
*/
|
|
64
|
-
itemTemplate: string | HTMLElement | Function;
|
|
65
|
-
/**
|
|
66
|
-
* Defines the type of control to be added as the Ribbon Item.
|
|
67
|
-
*
|
|
68
|
-
* @isenumeration true
|
|
69
|
-
* @default RibbonItemType.Button
|
|
70
|
-
* @asptype RibbonItemType
|
|
71
|
-
*/
|
|
72
|
-
type: RibbonItemType | string;
|
|
73
|
-
/**
|
|
74
|
-
* Defines the display options for the ribbon item.
|
|
75
|
-
*
|
|
76
|
-
* @default 'Auto'
|
|
77
|
-
* @aspNumberEnum
|
|
78
|
-
*/
|
|
79
|
-
displayOptions: DisplayMode;
|
|
80
|
-
/**
|
|
81
|
-
* Defines the settings for the tooltip of the item.
|
|
82
|
-
*
|
|
83
|
-
* @default {}
|
|
84
|
-
*/
|
|
85
|
-
ribbonTooltipSettings: RibbonTooltipModel;
|
|
86
|
-
/**
|
|
87
|
-
* Defines the settings for the ribbon button.
|
|
88
|
-
*
|
|
89
|
-
* @default {}
|
|
90
|
-
*/
|
|
91
|
-
buttonSettings: RibbonButtonSettingsModel;
|
|
92
|
-
/**
|
|
93
|
-
* Defines the settings for the ribbon dropdown button.
|
|
94
|
-
*
|
|
95
|
-
* @default {}
|
|
96
|
-
*/
|
|
97
|
-
dropDownSettings: RibbonDropDownSettingsModel;
|
|
98
|
-
/**
|
|
99
|
-
* Defines the settings for the ribbon checkbox.
|
|
100
|
-
*
|
|
101
|
-
* @default {}
|
|
102
|
-
*/
|
|
103
|
-
checkBoxSettings: RibbonCheckBoxSettingsModel;
|
|
104
|
-
/**
|
|
105
|
-
* Defines the settings for the ribbon color picker.
|
|
106
|
-
*
|
|
107
|
-
* @default {}
|
|
108
|
-
*/
|
|
109
|
-
colorPickerSettings: RibbonColorPickerSettingsModel;
|
|
110
|
-
/**
|
|
111
|
-
* Defines the settings for the ribbon combobox.
|
|
112
|
-
*
|
|
113
|
-
* @default {}
|
|
114
|
-
*/
|
|
115
|
-
comboBoxSettings: RibbonComboBoxSettingsModel;
|
|
116
|
-
/**
|
|
117
|
-
* Defines the settings for the ribbon split button.
|
|
118
|
-
*
|
|
119
|
-
* @default {}
|
|
120
|
-
*/
|
|
121
|
-
splitButtonSettings: RibbonSplitButtonSettingsModel;
|
|
122
|
-
/**
|
|
123
|
-
* Defines the properties for group button in Ribbon
|
|
124
|
-
*
|
|
125
|
-
* @default {}
|
|
126
|
-
*/
|
|
127
|
-
groupButtonSettings: RibbonGroupButtonSettingsModel;
|
|
128
|
-
/**
|
|
129
|
-
* Defines the properties of the gallery view in Ribbon.
|
|
130
|
-
*
|
|
131
|
-
* @default {}
|
|
132
|
-
*/
|
|
133
|
-
gallerySettings: RibbonGallerySettingsModel;
|
|
134
|
-
/**
|
|
135
|
-
* @param {Object} prop - Gets the property of item.
|
|
136
|
-
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
137
|
-
* @returns {void}
|
|
138
|
-
* @private
|
|
139
|
-
*/
|
|
140
|
-
setProperties(prop: Object, muteOnChange: boolean): void;
|
|
141
|
-
}
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { ChildProperty, Complex, Property } from '@syncfusion/ej2-base';
|
|
2
|
-
import { RibbonItemType, RibbonItemSize, DisplayMode } from '../base/interface';
|
|
3
|
-
import { RibbonButtonSettings } from './ribbon-button-settings';
|
|
4
|
-
import { RibbonButtonSettingsModel } from './ribbon-button-settings-model';
|
|
5
|
-
import { RibbonCheckBoxSettings } from './ribbon-checkbox-settings';
|
|
6
|
-
import { RibbonCheckBoxSettingsModel } from './ribbon-checkbox-settings-model';
|
|
7
|
-
import { RibbonColorPickerSettings } from './ribbon-colorpicker-settings';
|
|
8
|
-
import { RibbonColorPickerSettingsModel } from './ribbon-colorpicker-settings-model';
|
|
9
|
-
import { RibbonComboBoxSettings } from './ribbon-combobox-settings';
|
|
10
|
-
import { RibbonComboBoxSettingsModel } from './ribbon-combobox-settings-model';
|
|
11
|
-
import { RibbonDropDownSettings } from './ribbon-dropdown-settings';
|
|
12
|
-
import { RibbonDropDownSettingsModel } from './ribbon-dropdown-settings-model';
|
|
13
|
-
import { RibbonSplitButtonSettings } from './ribbon-splitbutton-settings';
|
|
14
|
-
import { RibbonSplitButtonSettingsModel } from './ribbon-splitbutton-settings-model';
|
|
15
|
-
import { RibbonTooltip } from './ribbon-tooltip';
|
|
16
|
-
import { RibbonTooltipModel } from './ribbon-tooltip-model';
|
|
17
|
-
import { RibbonGroupButtonSettingsModel } from './ribbon-group-button-settings-model';
|
|
18
|
-
import { RibbonGroupButtonSettings } from './ribbon-group-button-settings';
|
|
19
|
-
import { RibbonGallerySettingsModel } from './ribbon-gallery-settings-model';
|
|
20
|
-
import { RibbonGallerySettings } from './ribbon-gallery-settings';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Defines the ribbon item.
|
|
24
|
-
*/
|
|
25
|
-
export class RibbonItem extends ChildProperty<RibbonItem> {
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Defines the key tip text to be accessed for specified Ribbon item.
|
|
29
|
-
*
|
|
30
|
-
* @default ''
|
|
31
|
-
*/
|
|
32
|
-
@Property('')
|
|
33
|
-
public keyTip: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Defines the active size of the ribbon item.
|
|
37
|
-
*
|
|
38
|
-
* @default 'Medium'
|
|
39
|
-
* @aspNumberEnum
|
|
40
|
-
*/
|
|
41
|
-
@Property(RibbonItemSize.Medium)
|
|
42
|
-
public activeSize : RibbonItemSize;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Defines the sizes that are allowed for the ribbon item on ribbon resize.
|
|
46
|
-
*
|
|
47
|
-
* @default null
|
|
48
|
-
* @aspNumberEnum
|
|
49
|
-
*/
|
|
50
|
-
@Property(RibbonItemSize.Small | RibbonItemSize.Medium | RibbonItemSize.Large)
|
|
51
|
-
public allowedSizes: RibbonItemSize;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Defines a unique identifier for the item.
|
|
55
|
-
*
|
|
56
|
-
* @default ''
|
|
57
|
-
*/
|
|
58
|
-
@Property('')
|
|
59
|
-
public id: string;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Defines one or more CSS classes to customize the appearance of item.
|
|
63
|
-
*
|
|
64
|
-
* @default ''
|
|
65
|
-
*/
|
|
66
|
-
@Property('')
|
|
67
|
-
public cssClass: string;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Defines whether the item is disabled or not.
|
|
71
|
-
*
|
|
72
|
-
* @default false
|
|
73
|
-
*/
|
|
74
|
-
@Property(false)
|
|
75
|
-
public disabled: boolean;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Defines the template content for the ribbon item.
|
|
79
|
-
* `ActiveSize` property is passed as string in template context.
|
|
80
|
-
*
|
|
81
|
-
* @default ''
|
|
82
|
-
* @angularType string | object | HTMLElement
|
|
83
|
-
* @reactType string | function | JSX.Element | HTMLElement
|
|
84
|
-
* @vueType string | function | HTMLElement
|
|
85
|
-
* @aspType string
|
|
86
|
-
*/
|
|
87
|
-
@Property('')
|
|
88
|
-
public itemTemplate: string | HTMLElement | Function;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Defines the type of control to be added as the Ribbon Item.
|
|
92
|
-
*
|
|
93
|
-
* @isenumeration true
|
|
94
|
-
* @default RibbonItemType.Button
|
|
95
|
-
* @asptype RibbonItemType
|
|
96
|
-
*/
|
|
97
|
-
@Property('Button')
|
|
98
|
-
public type: RibbonItemType | string;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Defines the display options for the ribbon item.
|
|
102
|
-
*
|
|
103
|
-
* @default 'Auto'
|
|
104
|
-
* @aspNumberEnum
|
|
105
|
-
*/
|
|
106
|
-
@Property(DisplayMode.Auto)
|
|
107
|
-
public displayOptions: DisplayMode;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Defines the settings for the tooltip of the item.
|
|
111
|
-
*
|
|
112
|
-
* @default {}
|
|
113
|
-
*/
|
|
114
|
-
@Complex<RibbonTooltipModel>({}, RibbonTooltip)
|
|
115
|
-
public ribbonTooltipSettings: RibbonTooltipModel;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Defines the settings for the ribbon button.
|
|
119
|
-
*
|
|
120
|
-
* @default {}
|
|
121
|
-
*/
|
|
122
|
-
@Complex<RibbonButtonSettingsModel>({}, RibbonButtonSettings)
|
|
123
|
-
public buttonSettings: RibbonButtonSettingsModel;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Defines the settings for the ribbon dropdown button.
|
|
127
|
-
*
|
|
128
|
-
* @default {}
|
|
129
|
-
*/
|
|
130
|
-
@Complex<RibbonDropDownSettingsModel>({}, RibbonDropDownSettings)
|
|
131
|
-
public dropDownSettings: RibbonDropDownSettingsModel;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Defines the settings for the ribbon checkbox.
|
|
135
|
-
*
|
|
136
|
-
* @default {}
|
|
137
|
-
*/
|
|
138
|
-
@Complex<RibbonCheckBoxSettingsModel>({}, RibbonCheckBoxSettings)
|
|
139
|
-
public checkBoxSettings: RibbonCheckBoxSettingsModel;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Defines the settings for the ribbon color picker.
|
|
143
|
-
*
|
|
144
|
-
* @default {}
|
|
145
|
-
*/
|
|
146
|
-
@Complex<RibbonColorPickerSettingsModel>({}, RibbonColorPickerSettings)
|
|
147
|
-
public colorPickerSettings: RibbonColorPickerSettingsModel;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Defines the settings for the ribbon combobox.
|
|
151
|
-
*
|
|
152
|
-
* @default {}
|
|
153
|
-
*/
|
|
154
|
-
@Complex<RibbonComboBoxSettingsModel>({}, RibbonComboBoxSettings)
|
|
155
|
-
public comboBoxSettings: RibbonComboBoxSettingsModel;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Defines the settings for the ribbon split button.
|
|
159
|
-
*
|
|
160
|
-
* @default {}
|
|
161
|
-
*/
|
|
162
|
-
@Complex<RibbonSplitButtonSettingsModel>({}, RibbonSplitButtonSettings)
|
|
163
|
-
public splitButtonSettings: RibbonSplitButtonSettingsModel;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Defines the properties for group button in Ribbon
|
|
167
|
-
*
|
|
168
|
-
* @default {}
|
|
169
|
-
*/
|
|
170
|
-
@Complex<RibbonGroupButtonSettingsModel>({}, RibbonGroupButtonSettings)
|
|
171
|
-
public groupButtonSettings: RibbonGroupButtonSettingsModel;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Defines the properties of the gallery view in Ribbon.
|
|
175
|
-
*
|
|
176
|
-
* @default {}
|
|
177
|
-
*/
|
|
178
|
-
@Complex<RibbonGallerySettingsModel>({}, RibbonGallerySettings)
|
|
179
|
-
public gallerySettings: RibbonGallerySettingsModel;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @param {Object} prop - Gets the property of item.
|
|
183
|
-
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
184
|
-
* @returns {void}
|
|
185
|
-
* @private
|
|
186
|
-
*/
|
|
187
|
-
public setProperties(prop: Object, muteOnChange: boolean): void {
|
|
188
|
-
super.setProperties(prop, muteOnChange);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { ChildProperty, Collection, Event, EmitType, Property } from '@syncfusion/ej2-base';import { ItemModel, Item, BeforeOpenCloseMenuEventArgs, MenuEventArgs, OpenCloseMenuEventArgs, ClickEventArgs } from '@syncfusion/ej2-splitbuttons';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Interface for a class RibbonSplitButtonSettings
|
|
5
|
-
*/
|
|
6
|
-
export interface RibbonSplitButtonSettingsModel {
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the event to close the SplitButton popup.
|
|
10
|
-
*
|
|
11
|
-
* @default ''
|
|
12
|
-
*/
|
|
13
|
-
closeActionEvents?: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Specifies the content of the SplitButton.
|
|
17
|
-
*
|
|
18
|
-
* @default ''
|
|
19
|
-
*/
|
|
20
|
-
content?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Defines one or more CSS classes to customize the appearance of SplitButton.
|
|
24
|
-
*
|
|
25
|
-
* @default ''
|
|
26
|
-
*/
|
|
27
|
-
cssClass?: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Defines the CSS class for the icons to be shown in the SplitButton.
|
|
31
|
-
*
|
|
32
|
-
* @default ''
|
|
33
|
-
*/
|
|
34
|
-
iconCss?: string;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Defines the list of items for the SplitButton popup.
|
|
38
|
-
*
|
|
39
|
-
* @default []
|
|
40
|
-
*/
|
|
41
|
-
items?: ItemModel[];
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the selector for the element to be shown in the SplitButton popup.
|
|
45
|
-
*
|
|
46
|
-
* @default ''
|
|
47
|
-
* @aspType string
|
|
48
|
-
*/
|
|
49
|
-
target?: string | HTMLElement;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Specifies additional HTML attributes to be applied to the SplitButton.
|
|
53
|
-
*
|
|
54
|
-
* @default {}
|
|
55
|
-
*/
|
|
56
|
-
htmlAttributes?: { [key: string]: string };
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Triggers before closing the SplitButton popup.
|
|
60
|
-
*
|
|
61
|
-
* @event beforeClose
|
|
62
|
-
*/
|
|
63
|
-
beforeClose?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Triggers while rendering each Popup item of SplitButton.
|
|
67
|
-
*
|
|
68
|
-
* @event beforeItemRender
|
|
69
|
-
*/
|
|
70
|
-
beforeItemRender?: EmitType<MenuEventArgs>;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Triggers before opening the SplitButton popup.
|
|
74
|
-
*
|
|
75
|
-
* @event beforeOpen
|
|
76
|
-
*/
|
|
77
|
-
beforeOpen?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Triggers while closing the SplitButton popup.
|
|
81
|
-
*
|
|
82
|
-
* @event close
|
|
83
|
-
*/
|
|
84
|
-
close?: EmitType<OpenCloseMenuEventArgs>;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Triggers while clicking the primary button in SplitButton.
|
|
88
|
-
*
|
|
89
|
-
* @event click
|
|
90
|
-
*/
|
|
91
|
-
click?: EmitType<ClickEventArgs>;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Event triggers once the SplitButton is created.
|
|
95
|
-
*
|
|
96
|
-
* @event created
|
|
97
|
-
*/
|
|
98
|
-
created?: EmitType<Event>;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Triggers while opening the SplitButton popup.
|
|
102
|
-
*
|
|
103
|
-
* @event open
|
|
104
|
-
*/
|
|
105
|
-
open?: EmitType<OpenCloseMenuEventArgs>;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Triggers while selecting an action item in SplitButton popup.
|
|
109
|
-
*
|
|
110
|
-
* @event select
|
|
111
|
-
*/
|
|
112
|
-
select?: EmitType<MenuEventArgs>;
|
|
113
|
-
|
|
114
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { ChildProperty, EmitType } from '@syncfusion/ej2-base';
|
|
2
|
-
import { ItemModel, BeforeOpenCloseMenuEventArgs, MenuEventArgs, OpenCloseMenuEventArgs, ClickEventArgs } from '@syncfusion/ej2-splitbuttons';
|
|
3
|
-
/**
|
|
4
|
-
* Defines the ribbon SplitButton item.
|
|
5
|
-
*/
|
|
6
|
-
export declare class RibbonSplitButtonSettings extends ChildProperty<RibbonSplitButtonSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the event to close the SplitButton popup.
|
|
9
|
-
*
|
|
10
|
-
* @default ''
|
|
11
|
-
*/
|
|
12
|
-
closeActionEvents: string;
|
|
13
|
-
/**
|
|
14
|
-
* Specifies the content of the SplitButton.
|
|
15
|
-
*
|
|
16
|
-
* @default ''
|
|
17
|
-
*/
|
|
18
|
-
content: string;
|
|
19
|
-
/**
|
|
20
|
-
* Defines one or more CSS classes to customize the appearance of SplitButton.
|
|
21
|
-
*
|
|
22
|
-
* @default ''
|
|
23
|
-
*/
|
|
24
|
-
cssClass: string;
|
|
25
|
-
/**
|
|
26
|
-
* Defines the CSS class for the icons to be shown in the SplitButton.
|
|
27
|
-
*
|
|
28
|
-
* @default ''
|
|
29
|
-
*/
|
|
30
|
-
iconCss: string;
|
|
31
|
-
/**
|
|
32
|
-
* Defines the list of items for the SplitButton popup.
|
|
33
|
-
*
|
|
34
|
-
* @default []
|
|
35
|
-
*/
|
|
36
|
-
items: ItemModel[];
|
|
37
|
-
/**
|
|
38
|
-
* Specifies the selector for the element to be shown in the SplitButton popup.
|
|
39
|
-
*
|
|
40
|
-
* @default ''
|
|
41
|
-
* @aspType string
|
|
42
|
-
*/
|
|
43
|
-
target: string | HTMLElement;
|
|
44
|
-
/**
|
|
45
|
-
* Specifies additional HTML attributes to be applied to the SplitButton.
|
|
46
|
-
*
|
|
47
|
-
* @default {}
|
|
48
|
-
*/
|
|
49
|
-
htmlAttributes: {
|
|
50
|
-
[key: string]: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Triggers before closing the SplitButton popup.
|
|
54
|
-
*
|
|
55
|
-
* @event beforeClose
|
|
56
|
-
*/
|
|
57
|
-
beforeClose: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
58
|
-
/**
|
|
59
|
-
* Triggers while rendering each Popup item of SplitButton.
|
|
60
|
-
*
|
|
61
|
-
* @event beforeItemRender
|
|
62
|
-
*/
|
|
63
|
-
beforeItemRender: EmitType<MenuEventArgs>;
|
|
64
|
-
/**
|
|
65
|
-
* Triggers before opening the SplitButton popup.
|
|
66
|
-
*
|
|
67
|
-
* @event beforeOpen
|
|
68
|
-
*/
|
|
69
|
-
beforeOpen: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
70
|
-
/**
|
|
71
|
-
* Triggers while closing the SplitButton popup.
|
|
72
|
-
*
|
|
73
|
-
* @event close
|
|
74
|
-
*/
|
|
75
|
-
close: EmitType<OpenCloseMenuEventArgs>;
|
|
76
|
-
/**
|
|
77
|
-
* Triggers while clicking the primary button in SplitButton.
|
|
78
|
-
*
|
|
79
|
-
* @event click
|
|
80
|
-
*/
|
|
81
|
-
click: EmitType<ClickEventArgs>;
|
|
82
|
-
/**
|
|
83
|
-
* Event triggers once the SplitButton is created.
|
|
84
|
-
*
|
|
85
|
-
* @event created
|
|
86
|
-
*/
|
|
87
|
-
created: EmitType<Event>;
|
|
88
|
-
/**
|
|
89
|
-
* Triggers while opening the SplitButton popup.
|
|
90
|
-
*
|
|
91
|
-
* @event open
|
|
92
|
-
*/
|
|
93
|
-
open: EmitType<OpenCloseMenuEventArgs>;
|
|
94
|
-
/**
|
|
95
|
-
* Triggers while selecting an action item in SplitButton popup.
|
|
96
|
-
*
|
|
97
|
-
* @event select
|
|
98
|
-
*/
|
|
99
|
-
select: EmitType<MenuEventArgs>;
|
|
100
|
-
/**
|
|
101
|
-
* @param {Object} prop - Gets the property of DropDown.
|
|
102
|
-
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
103
|
-
* @returns {void}
|
|
104
|
-
* @private
|
|
105
|
-
*/
|
|
106
|
-
setProperties(prop: Object, muteOnChange: boolean): void;
|
|
107
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { ChildProperty, Collection, Event, EmitType, Property } from '@syncfusion/ej2-base';
|
|
2
|
-
import { ItemModel, Item, BeforeOpenCloseMenuEventArgs, MenuEventArgs, OpenCloseMenuEventArgs, ClickEventArgs } from '@syncfusion/ej2-splitbuttons';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Defines the ribbon SplitButton item.
|
|
6
|
-
*/
|
|
7
|
-
export class RibbonSplitButtonSettings extends ChildProperty<RibbonSplitButtonSettings> {
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Specifies the event to close the SplitButton popup.
|
|
11
|
-
*
|
|
12
|
-
* @default ''
|
|
13
|
-
*/
|
|
14
|
-
@Property('')
|
|
15
|
-
public closeActionEvents: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the content of the SplitButton.
|
|
19
|
-
*
|
|
20
|
-
* @default ''
|
|
21
|
-
*/
|
|
22
|
-
@Property('')
|
|
23
|
-
public content: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Defines one or more CSS classes to customize the appearance of SplitButton.
|
|
27
|
-
*
|
|
28
|
-
* @default ''
|
|
29
|
-
*/
|
|
30
|
-
@Property('')
|
|
31
|
-
public cssClass: string;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Defines the CSS class for the icons to be shown in the SplitButton.
|
|
35
|
-
*
|
|
36
|
-
* @default ''
|
|
37
|
-
*/
|
|
38
|
-
@Property('')
|
|
39
|
-
public iconCss: string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Defines the list of items for the SplitButton popup.
|
|
43
|
-
*
|
|
44
|
-
* @default []
|
|
45
|
-
*/
|
|
46
|
-
@Collection<ItemModel>([], Item)
|
|
47
|
-
public items: ItemModel[];
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Specifies the selector for the element to be shown in the SplitButton popup.
|
|
51
|
-
*
|
|
52
|
-
* @default ''
|
|
53
|
-
* @aspType string
|
|
54
|
-
*/
|
|
55
|
-
@Property('')
|
|
56
|
-
public target: string | HTMLElement;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Specifies additional HTML attributes to be applied to the SplitButton.
|
|
60
|
-
*
|
|
61
|
-
* @default {}
|
|
62
|
-
*/
|
|
63
|
-
@Property({})
|
|
64
|
-
public htmlAttributes: { [key: string]: string };
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Triggers before closing the SplitButton popup.
|
|
68
|
-
*
|
|
69
|
-
* @event beforeClose
|
|
70
|
-
*/
|
|
71
|
-
@Event()
|
|
72
|
-
public beforeClose: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Triggers while rendering each Popup item of SplitButton.
|
|
76
|
-
*
|
|
77
|
-
* @event beforeItemRender
|
|
78
|
-
*/
|
|
79
|
-
@Event()
|
|
80
|
-
public beforeItemRender: EmitType<MenuEventArgs>;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Triggers before opening the SplitButton popup.
|
|
84
|
-
*
|
|
85
|
-
* @event beforeOpen
|
|
86
|
-
*/
|
|
87
|
-
@Event()
|
|
88
|
-
public beforeOpen: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Triggers while closing the SplitButton popup.
|
|
92
|
-
*
|
|
93
|
-
* @event close
|
|
94
|
-
*/
|
|
95
|
-
@Event()
|
|
96
|
-
public close: EmitType<OpenCloseMenuEventArgs>;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Triggers while clicking the primary button in SplitButton.
|
|
100
|
-
*
|
|
101
|
-
* @event click
|
|
102
|
-
*/
|
|
103
|
-
@Event()
|
|
104
|
-
public click: EmitType<ClickEventArgs>;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Event triggers once the SplitButton is created.
|
|
108
|
-
*
|
|
109
|
-
* @event created
|
|
110
|
-
*/
|
|
111
|
-
@Event()
|
|
112
|
-
public created: EmitType<Event>;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Triggers while opening the SplitButton popup.
|
|
116
|
-
*
|
|
117
|
-
* @event open
|
|
118
|
-
*/
|
|
119
|
-
@Event()
|
|
120
|
-
public open: EmitType<OpenCloseMenuEventArgs>;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Triggers while selecting an action item in SplitButton popup.
|
|
124
|
-
*
|
|
125
|
-
* @event select
|
|
126
|
-
*/
|
|
127
|
-
@Event()
|
|
128
|
-
public select: EmitType<MenuEventArgs>;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @param {Object} prop - Gets the property of DropDown.
|
|
132
|
-
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
133
|
-
* @returns {void}
|
|
134
|
-
* @private
|
|
135
|
-
*/
|
|
136
|
-
public setProperties(prop: Object, muteOnChange: boolean): void {
|
|
137
|
-
super.setProperties(prop, muteOnChange);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
}
|