@smart-webcomponents-angular/phoneinput 16.0.2 → 19.0.8
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/index.d.ts +1158 -477
- package/package.json +14 -13
- package/source/modules/smart.input.js +2 -2
- package/source/modules/smart.phoneinput.js +2 -2
- package/source/smart.button.js +1 -1
- package/source/smart.countryinput.js +1 -1
- package/source/smart.element.js +2 -2
- package/source/smart.input.js +2 -2
- package/source/smart.phoneinput.js +2 -2
- package/source/smart.scrollbar.js +1 -1
- package/styles/font/smart-icons.eot +0 -0
- package/styles/font/smart-icons.svg +11 -1
- package/styles/font/smart-icons.ttf +0 -0
- package/styles/font/smart-icons.woff +0 -0
- package/styles/font/smart-icons.woff2 +0 -0
- package/styles/smart.base.css +1 -1
- package/styles/smart.common.css +1 -1
- package/styles/smart.phoneinput.css +2 -2
package/index.d.ts
CHANGED
|
@@ -2369,6 +2369,11 @@ export interface CalendarProperties {
|
|
|
2369
2369
|
* Default value: false
|
|
2370
2370
|
*/
|
|
2371
2371
|
disableAutoNavigation?: boolean;
|
|
2372
|
+
/**
|
|
2373
|
+
* Enables or disables the Calendar mouse wheel behavior.
|
|
2374
|
+
* Default value: false
|
|
2375
|
+
*/
|
|
2376
|
+
disableMouseWheel?: boolean;
|
|
2372
2377
|
/**
|
|
2373
2378
|
* Determines the date view of the calendar when calendarMode is set to 'default'
|
|
2374
2379
|
* Default value: month
|
|
@@ -7195,6 +7200,11 @@ export interface ComboBox extends BaseElement, ComboBoxProperties {
|
|
|
7195
7200
|
* @returns {Node}
|
|
7196
7201
|
*/
|
|
7197
7202
|
appendChild<T extends Node>(node: Node): T;
|
|
7203
|
+
/**
|
|
7204
|
+
* Adds a new item(s).
|
|
7205
|
+
* @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
|
|
7206
|
+
*/
|
|
7207
|
+
add(item: any): void;
|
|
7198
7208
|
/**
|
|
7199
7209
|
* Removes all items from the drop down list.
|
|
7200
7210
|
*/
|
|
@@ -7207,6 +7217,10 @@ export interface ComboBox extends BaseElement, ComboBoxProperties {
|
|
|
7207
7217
|
* Closes the dropDown list.
|
|
7208
7218
|
*/
|
|
7209
7219
|
close(): void;
|
|
7220
|
+
/**
|
|
7221
|
+
* Performs a data bind. This can be used to refresh the data source.
|
|
7222
|
+
*/
|
|
7223
|
+
dataBind(): void;
|
|
7210
7224
|
/**
|
|
7211
7225
|
* Ensures the desired item is visible by scrolling to it.
|
|
7212
7226
|
* @param {HTMLElement | string} item. A list item or value of the desired item to be visible.
|
|
@@ -7221,7 +7235,7 @@ export interface ComboBox extends BaseElement, ComboBoxProperties {
|
|
|
7221
7235
|
/**
|
|
7222
7236
|
* Inserts a new item at a specified position.
|
|
7223
7237
|
* @param {number} position. The position where the item must be inserted.
|
|
7224
|
-
* @param {any} item. Describes the properties of the item that will be inserted.
|
|
7238
|
+
* @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
|
|
7225
7239
|
*/
|
|
7226
7240
|
insert(position: number, item: any): void;
|
|
7227
7241
|
/**
|
|
@@ -7955,6 +7969,11 @@ export interface DateInputProperties {
|
|
|
7955
7969
|
* Default value: 500
|
|
7956
7970
|
*/
|
|
7957
7971
|
autoCloseDelay?: number;
|
|
7972
|
+
/**
|
|
7973
|
+
* Determines the calendar properties to be set to the popup calendar.
|
|
7974
|
+
* Default value: null
|
|
7975
|
+
*/
|
|
7976
|
+
calendarProperties?: any;
|
|
7958
7977
|
/**
|
|
7959
7978
|
* Determines the format of the dates displayed in the input. Accepts valid ECMAScript Internationalization API format. Intl.DateTimeFormat is used to format date strings in JavaScript. By default the date format is 'numeric'. The default value is: { day: 'numeric', month: 'numeric', year: 'numeric' }
|
|
7960
7979
|
* Default value: { day: 'numeric', month: 'numeric', year: 'numeric' }
|
|
@@ -8788,7 +8807,7 @@ export interface DockingLayoutProperties {
|
|
|
8788
8807
|
*/
|
|
8789
8808
|
closedItems?: any;
|
|
8790
8809
|
/**
|
|
8791
|
-
* Determines the structure of the element. This property represents an array of objects that define the hierarchy of the items inside the element and their specific settings. Each object must have a type attribute that defines it's behavior. Three types of objects are allowed: LayoutGroup - Represents a group of items (Splitter). Used when the user wants more than one DockingLayout item in a single container. Properties: orientation - A string value indicating the orientation of the Splitter group. Possible values: 'horizontal', 'vertical'. size - A string | number value indicating the size of the Splitter group. items - An array of LayoutPanel object definitions. resizeMode - A string indicating the resize mode. Possible values: 'none', 'adjacent', 'end', 'proportional'. resizeStep - A nummeric value that determines the step of resizing. liveResize - Determines if splitter resizing happens while dragging or not. LayoutPanel - Represents a DockingLayout item (TabsWindow). LayoutPanels can have one or many items (TabItem). Properties: id - the ID of the LayoutPanel. autoHide - a boolean property that determines if the LayoutPanel is autoHidden. autoHidePosition - determines the autoHide position of the item if 'autoHide' property is set. Possible values: 'top', 'bottom', 'left', 'right'. dropPosition - Determines the possible positions for the item at which a new item can be dropped as a result of dragging. Possible values: 'top', 'bottom', 'left', 'right', 'center', 'header', 'layout-top', 'layout-bottom', 'layout-left', 'layout-right'. Positions with the 'layout' prefix reflect on LayoutPanelItems that are children of the LayoutPanel. label - the Label of the LayoutPanel window. tabPosition - Determines the position of the Tab labels inside the LayoutPanel. layout - determines the DockingLayout owner of the LayoutPanel. Accepts a string indicating the ID of a DockingLayout on the page or a direct reference to it. headerButtons - an Array of strings that define the buttons in the header section of the DockingLayout item. tabCloseButtons - a boolean property that Enables or disables the close buttons inside each Tab item label inside the DockingLayout item. tabOverflow - same as 'overflow' property of jqxTabs. It defines the overflow mode of the labels of the Tab items inside a DockingLayout item.selectionMode - the same as jqxTabs selection modes. Applies to Tab items inside a DockingLayout item. tabResize - the same as 'resize' property of jqxTabs. Allows resizing the Tab labels inside the DockingLayout item. locked - Locks the size of the item and does not allow resizing. max - sets the maximum size of the item. min - sets the minimum size of the item size - sets the size of the item. items - an array of objects. Each object defines the structure of a LayoutPanelItem. LayoutPanelItem - Represents a LayoutPanel item (TabItem). Properties: id - the ID of the Tab item. label - a string representing the label of the Tab item. content - represents the content of the Tab item. Can be anything. selected - determines if the item is selected. By default the first added item to the LayoutPanel is automatically selected. draggable - a boolean property that allows to disable the dragging of the Tab item.
|
|
8810
|
+
* Determines the structure of the element. This property represents an array of objects that define the hierarchy of the items inside the element and their specific settings. Each object must have a type attribute that defines it's behavior. Three types of objects are allowed: LayoutGroup - Represents a group of items (Splitter). Used when the user wants more than one DockingLayout item in a single container. Properties: orientation - A string value indicating the orientation of the Splitter group. Possible values: 'horizontal', 'vertical'. size - A string | number value indicating the size of the Splitter group. items - An array of LayoutPanel object definitions. resizeMode - A string indicating the resize mode. Possible values: 'none', 'adjacent', 'end', 'proportional'. resizeStep - A nummeric value that determines the step of resizing. liveResize - Determines if splitter resizing happens while dragging or not. LayoutPanel - Represents a DockingLayout item (TabsWindow). LayoutPanels can have one or many items (TabItem). Properties: id - the ID of the LayoutPanel. autoHide - a boolean property that determines if the LayoutPanel is autoHidden. autoHidePosition - determines the autoHide position of the item if 'autoHide' property is set. Possible values: 'top', 'bottom', 'left', 'right'. dropPosition - Determines the possible positions for the item at which a new item can be dropped as a result of dragging. Possible values: 'top', 'bottom', 'left', 'right', 'center', 'header', 'layout-top', 'layout-bottom', 'layout-left', 'layout-right'. Positions with the 'layout' prefix reflect on LayoutPanelItems that are children of the LayoutPanel. label - the Label of the LayoutPanel window. tabPosition - Determines the position of the Tab labels inside the LayoutPanel. layout - determines the DockingLayout owner of the LayoutPanel. Accepts a string indicating the ID of a DockingLayout on the page or a direct reference to it. headerButtons - an Array of strings that define the buttons in the header section of the DockingLayout item. Possible values for the array are empty array like this [] or an array with any of the following items: 'close', 'autoHide'. tabCloseButtons - a boolean property that Enables or disables the close buttons inside each Tab item label inside the DockingLayout item. tabOverflow - same as 'overflow' property of jqxTabs. It defines the overflow mode of the labels of the Tab items inside a DockingLayout item.selectionMode - the same as jqxTabs selection modes. Applies to Tab items inside a DockingLayout item. tabResize - the same as 'resize' property of jqxTabs. Allows resizing the Tab labels inside the DockingLayout item. locked - Locks the size of the item and does not allow resizing. max - sets the maximum size of the item. min - sets the minimum size of the item size - sets the size of the item. items - an array of objects. Each object defines the structure of a LayoutPanelItem. LayoutPanelItem - Represents a LayoutPanel item (TabItem). Properties: id - the ID of the Tab item. label - a string representing the label of the Tab item. content - represents the content of the Tab item. Can be anything. selected - determines if the item is selected. By default the first added item to the LayoutPanel is automatically selected. draggable - a boolean property that allows to disable the dragging of the Tab item.
|
|
8792
8811
|
* Default value:
|
|
8793
8812
|
*/
|
|
8794
8813
|
layout?: any;
|
|
@@ -9347,11 +9366,6 @@ declare global {
|
|
|
9347
9366
|
}
|
|
9348
9367
|
|
|
9349
9368
|
export interface DropDownListProperties {
|
|
9350
|
-
/**
|
|
9351
|
-
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
9352
|
-
* Default value: advanced
|
|
9353
|
-
*/
|
|
9354
|
-
animation?: Animation | string;
|
|
9355
9369
|
/**
|
|
9356
9370
|
* Used only when dropDownOpenMode is set to 'auto'. Determines the delay before the opened drop down closes if the pointer is not over the element.
|
|
9357
9371
|
* Default value: 100
|
|
@@ -9734,6 +9748,11 @@ export interface DropDownList extends BaseElement, DropDownListProperties {
|
|
|
9734
9748
|
* @returns {Node}
|
|
9735
9749
|
*/
|
|
9736
9750
|
appendChild<T extends Node>(node: Node): T;
|
|
9751
|
+
/**
|
|
9752
|
+
* Adds a new item(s).
|
|
9753
|
+
* @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
|
|
9754
|
+
*/
|
|
9755
|
+
add(item: any): void;
|
|
9737
9756
|
/**
|
|
9738
9757
|
* Removes all items from the drop down list.
|
|
9739
9758
|
*/
|
|
@@ -9746,6 +9765,10 @@ export interface DropDownList extends BaseElement, DropDownListProperties {
|
|
|
9746
9765
|
* Closes the dropDown list.
|
|
9747
9766
|
*/
|
|
9748
9767
|
close(): void;
|
|
9768
|
+
/**
|
|
9769
|
+
* Performs a data bind. This can be used to refresh the data source.
|
|
9770
|
+
*/
|
|
9771
|
+
dataBind(): void;
|
|
9749
9772
|
/**
|
|
9750
9773
|
* Ensures the desired item is visible by scrolling to it.
|
|
9751
9774
|
* @param {HTMLElement | string} item. A list item or value of the desired item to be visible.
|
|
@@ -13454,11 +13477,6 @@ export interface GanttChartProperties {
|
|
|
13454
13477
|
* Default value: true
|
|
13455
13478
|
*/
|
|
13456
13479
|
hideTimelineSecondHeaderDetails?: boolean;
|
|
13457
|
-
/**
|
|
13458
|
-
* Shows the selection column of the Task/Resource Table. When applied a checkbox column is displayed that allows to select tasks/resources.
|
|
13459
|
-
* Default value: false
|
|
13460
|
-
*/
|
|
13461
|
-
showSelectionColumn?: boolean;
|
|
13462
13480
|
/**
|
|
13463
13481
|
* Hides the Resource panel regardless of the resources availability By default the Resource panel is visible if resources are added to the GanttChart. This property allows to hide the Resource panel permanently.
|
|
13464
13482
|
* Default value: false
|
|
@@ -13539,6 +13557,16 @@ export interface GanttChartProperties {
|
|
|
13539
13557
|
* Default value: null
|
|
13540
13558
|
*/
|
|
13541
13559
|
onTaskRender?: any;
|
|
13560
|
+
/**
|
|
13561
|
+
* A function that can be used to completly customize the task element. The function has two arguments: task - the task object.taskElement - the task's html element.
|
|
13562
|
+
* Default value: null
|
|
13563
|
+
*/
|
|
13564
|
+
taskFormatFunction?: any;
|
|
13565
|
+
/**
|
|
13566
|
+
* A function that can be used to completly customize the tooltip. The function has three arguments: tooltipObject - the tooltip object.event - the event that triggered the tooltip.content - the tooltip's label element.
|
|
13567
|
+
* Default value: null
|
|
13568
|
+
*/
|
|
13569
|
+
tooltipFormatFunction?: any;
|
|
13542
13570
|
/**
|
|
13543
13571
|
* A function that can be used to completly customize the popup Window that is used to interact width tasks by changing their properties. The function as three arguments: target - the target popup Window that is about to be opened.type - the type of the window. The type determines the purpose of the window. Three possible values: 'task' (task editing), 'confirm' ( confirmation window), 'connection' (used when deleting a connection between tasks). item - the connection/task object that is the target of the window.
|
|
13544
13572
|
* Default value: null
|
|
@@ -13629,11 +13657,21 @@ export interface GanttChartProperties {
|
|
|
13629
13657
|
* Default value:
|
|
13630
13658
|
*/
|
|
13631
13659
|
selectedResourceIds?: number[] | string[];
|
|
13660
|
+
/**
|
|
13661
|
+
* Sets or gets the selection mode. Only applicable when selection is enabled.
|
|
13662
|
+
* Default value: many
|
|
13663
|
+
*/
|
|
13664
|
+
selectionMode?: GanttChartSelectionMode | string;
|
|
13632
13665
|
/**
|
|
13633
13666
|
* Enables/Disables the current time shader. If enabled all cells that represent past time will be shaded.
|
|
13634
13667
|
* Default value: false
|
|
13635
13668
|
*/
|
|
13636
13669
|
shadeUntilCurrentTime?: boolean;
|
|
13670
|
+
/**
|
|
13671
|
+
* Shows the selection column of the Task/Resource Table. When applied a checkbox column is displayed that allows to select tasks/resources.
|
|
13672
|
+
* Default value: false
|
|
13673
|
+
*/
|
|
13674
|
+
showSelectionColumn?: boolean;
|
|
13637
13675
|
/**
|
|
13638
13676
|
* Determines whether the baselnes of the tasks are visible or not. Baselines are defined via the 'planned' attribute on the task objects of the dataSource property.
|
|
13639
13677
|
* Default value: false
|
|
@@ -14171,6 +14209,11 @@ export interface GanttChart extends BaseElement, GanttChartProperties {
|
|
|
14171
14209
|
* @param {string} content?. Allows to set a custom content for the Tooltip.
|
|
14172
14210
|
*/
|
|
14173
14211
|
showTooltip(target: HTMLElement, content?: string): void;
|
|
14212
|
+
/**
|
|
14213
|
+
* Scrolls to a date.
|
|
14214
|
+
* @param {Date} date. The date to scroll to.
|
|
14215
|
+
*/
|
|
14216
|
+
scrollToDate(date: Date): void;
|
|
14174
14217
|
/**
|
|
14175
14218
|
* Saves the current settings of the element to LocalStorage. <strong>Requires an id to be set to the element.</strong>
|
|
14176
14219
|
* @param {any[]} state?. An Array containing a valid structure of Gantt Chart tasks.
|
|
@@ -14741,6 +14784,8 @@ export declare type QuarterFormat = 'numeric' | 'long' | 'short';
|
|
|
14741
14784
|
export declare type GanttChartResourceTimelineMode = 'diagram' | 'histogram' | 'custom';
|
|
14742
14785
|
/**Determines how the resources will be displayed inside the resource Timeline. */
|
|
14743
14786
|
export declare type GanttChartResourceTimelineView = 'hours' | 'tasks' | 'custom';
|
|
14787
|
+
/**Sets or gets the selection mode. Only applicable when selection is enabled. */
|
|
14788
|
+
export declare type GanttChartSelectionMode = 'one' | 'many' | 'extended';
|
|
14744
14789
|
/**Determines whether the GanttChart can be sorted by one, more then one or no columns. */
|
|
14745
14790
|
export declare type GanttChartSortMode = 'none' | 'one' | 'many';
|
|
14746
14791
|
/**Project, Task or Milestone type. Possible values are 'project', 'milestone' and 'task' */
|
|
@@ -15082,15 +15127,15 @@ export interface GridProperties {
|
|
|
15082
15127
|
*/
|
|
15083
15128
|
behavior?: GridBehavior;
|
|
15084
15129
|
/**
|
|
15085
|
-
*
|
|
15086
|
-
* Default value:
|
|
15130
|
+
* Sets or gets the id of the current user. Has to correspond to the id of an item from the users property/array. Depending on the current user, different privileges are enabled. If no current user is set, privileges depend on the element's properties.
|
|
15131
|
+
* Default value:
|
|
15087
15132
|
*/
|
|
15088
|
-
|
|
15133
|
+
currentUser?: string | number;
|
|
15089
15134
|
/**
|
|
15090
|
-
*
|
|
15091
|
-
* Default value:
|
|
15135
|
+
* Describes the column header settings.
|
|
15136
|
+
* Default value: [object Object]
|
|
15092
15137
|
*/
|
|
15093
|
-
|
|
15138
|
+
columnHeader?: GridColumnHeader;
|
|
15094
15139
|
/**
|
|
15095
15140
|
* The clipboard property is used to enable/disable clipboard operations with Ctrl+C, Ctrl+X and Ctrl+V keyboard navigations..
|
|
15096
15141
|
* Default value: [object Object]
|
|
@@ -15116,6 +15161,11 @@ export interface GridProperties {
|
|
|
15116
15161
|
* Default value:
|
|
15117
15162
|
*/
|
|
15118
15163
|
columnGroups?: GridColumnGroup[];
|
|
15164
|
+
/**
|
|
15165
|
+
*
|
|
15166
|
+
* Default value: false
|
|
15167
|
+
*/
|
|
15168
|
+
dropDownMode?: boolean;
|
|
15119
15169
|
/**
|
|
15120
15170
|
* Sets or gets details about conditional formatting to be applied to the Grid's cells.
|
|
15121
15171
|
* Default value: null
|
|
@@ -15156,11 +15206,41 @@ export interface GridProperties {
|
|
|
15156
15206
|
* Default value: [object Object]
|
|
15157
15207
|
*/
|
|
15158
15208
|
filtering?: GridFiltering;
|
|
15209
|
+
/**
|
|
15210
|
+
* Describes the footer settings of the grid.
|
|
15211
|
+
* Default value: [object Object]
|
|
15212
|
+
*/
|
|
15213
|
+
footer?: GridFooter;
|
|
15214
|
+
/**
|
|
15215
|
+
* Sets or gets whether Excel-like formulas can be passed as cell values. Formulas are always preceded by the = sign and are re-evaluated when cell values are changed. This feature depends on the third-party free plug-in formula-parser (the file formula-parser.min.js has to be referenced).
|
|
15216
|
+
* Default value: false
|
|
15217
|
+
*/
|
|
15218
|
+
formulas?: boolean;
|
|
15159
15219
|
/**
|
|
15160
15220
|
* Describes the grid's grouping settings.
|
|
15161
15221
|
* Default value: [object Object]
|
|
15162
15222
|
*/
|
|
15163
15223
|
grouping?: GridGrouping;
|
|
15224
|
+
/**
|
|
15225
|
+
* Describes the settings for the group header.
|
|
15226
|
+
* Default value: [object Object]
|
|
15227
|
+
*/
|
|
15228
|
+
groupHeader?: GridGroupHeader;
|
|
15229
|
+
/**
|
|
15230
|
+
* Describes the header settings of the grid.
|
|
15231
|
+
* Default value: [object Object]
|
|
15232
|
+
*/
|
|
15233
|
+
header?: GridHeader;
|
|
15234
|
+
/**
|
|
15235
|
+
* An object containing settings related to the grid's layout.
|
|
15236
|
+
* Default value: [object Object]
|
|
15237
|
+
*/
|
|
15238
|
+
layout?: GridLayout;
|
|
15239
|
+
/**
|
|
15240
|
+
* Sets or gets the language. Used in conjunction with the property messages.
|
|
15241
|
+
* Default value: "en"
|
|
15242
|
+
*/
|
|
15243
|
+
locale?: string;
|
|
15164
15244
|
/**
|
|
15165
15245
|
* Sets the messages values.
|
|
15166
15246
|
* Default value: * [object Object]
|
|
@@ -15181,6 +15261,16 @@ export interface GridProperties {
|
|
|
15181
15261
|
* Default value: null
|
|
15182
15262
|
*/
|
|
15183
15263
|
onCellRender?: {(cell: GridCell): void};
|
|
15264
|
+
/**
|
|
15265
|
+
* Callback function, which is called when a cell edit starts. If you return false, the edit will be canceled.
|
|
15266
|
+
* Default value: null
|
|
15267
|
+
*/
|
|
15268
|
+
onCellBeginEdit?: {(id: string, dataField: string, value: any): boolean};
|
|
15269
|
+
/**
|
|
15270
|
+
* Callback function, which is called when a cell edit ends. It is used along with the 'editing.readOnlyEdit' property when it is set to true and the purpose of this function is to update the Grid cell after editing.
|
|
15271
|
+
* Default value: null
|
|
15272
|
+
*/
|
|
15273
|
+
onCellEditRequest?: {(id: string, dataField: string, value: any, oldValue: any, data: any): void};
|
|
15184
15274
|
/**
|
|
15185
15275
|
* Callback function() called before the grid has been initialized and the Grid's Virtual DOM is not created.
|
|
15186
15276
|
* Default value: null
|
|
@@ -15301,26 +15391,6 @@ export interface GridProperties {
|
|
|
15301
15391
|
* Default value: null
|
|
15302
15392
|
*/
|
|
15303
15393
|
onCommand?: {(name: string, command: any, details: GridCell, event: Event | KeyboardEvent | PointerEvent, handled: boolean): void};
|
|
15304
|
-
/**
|
|
15305
|
-
* Sets or gets the rows CSS class rules. Different CSS class names are conditionally applied. Example: rowCSSRules: { 'cell-class-1': settings => settings.data.quantity === 5, 'cell-class-2': settings => settings.data.quantity < 5, 'cell-class-3': settings => settings.data.quantity > 5 }. The settings object contains the following properties: index, data, row, api.
|
|
15306
|
-
* Default value: null
|
|
15307
|
-
*/
|
|
15308
|
-
rowCSSRules?: any;
|
|
15309
|
-
/**
|
|
15310
|
-
* Sets or gets the id of the current user. Has to correspond to the id of an item from the users property/array. Depending on the current user, different privileges are enabled. If no current user is set, privileges depend on the element's properties.
|
|
15311
|
-
* Default value:
|
|
15312
|
-
*/
|
|
15313
|
-
currentUser?: string | number;
|
|
15314
|
-
/**
|
|
15315
|
-
* Sets the grid users. Expects an array with 'id', 'name' and optionally 'color' and 'image' properties.
|
|
15316
|
-
* Default value: []
|
|
15317
|
-
*/
|
|
15318
|
-
users?: any[];
|
|
15319
|
-
/**
|
|
15320
|
-
* Sets the grid's image and filter upload settings for the image and attachment columns.
|
|
15321
|
-
* Default value: [object Object]
|
|
15322
|
-
*/
|
|
15323
|
-
uploadSettings?: GridUploadSettings;
|
|
15324
15394
|
/**
|
|
15325
15395
|
* Describes the paging settings.
|
|
15326
15396
|
* Default value: [object Object]
|
|
@@ -15336,16 +15406,26 @@ export interface GridProperties {
|
|
|
15336
15406
|
* Default value: [object Object]
|
|
15337
15407
|
*/
|
|
15338
15408
|
rowDetail?: GridRowDetail;
|
|
15409
|
+
/**
|
|
15410
|
+
* Sets or gets the rows CSS class rules. Different CSS class names are conditionally applied. Example: rowCSSRules: { 'cell-class-1': settings => settings.data.quantity === 5, 'cell-class-2': settings => settings.data.quantity < 5, 'cell-class-3': settings => settings.data.quantity > 5 }. The settings object contains the following properties: index, data, row, api.
|
|
15411
|
+
* Default value: null
|
|
15412
|
+
*/
|
|
15413
|
+
rowCSSRules?: any;
|
|
15414
|
+
/**
|
|
15415
|
+
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
15416
|
+
* Default value: false
|
|
15417
|
+
*/
|
|
15418
|
+
rightToLeft?: boolean;
|
|
15419
|
+
/**
|
|
15420
|
+
* The rows property is used to describe all rows displayed in the grid.
|
|
15421
|
+
* Default value:
|
|
15422
|
+
*/
|
|
15423
|
+
rows?: GridRow[];
|
|
15339
15424
|
/**
|
|
15340
15425
|
* Sets the scroll mode settings.
|
|
15341
15426
|
* Default value: physical
|
|
15342
15427
|
*/
|
|
15343
15428
|
scrolling?: Scrolling | string;
|
|
15344
|
-
/**
|
|
15345
|
-
* Describes the column header settings.
|
|
15346
|
-
* Default value: [object Object]
|
|
15347
|
-
*/
|
|
15348
|
-
columnHeader?: GridColumnHeader;
|
|
15349
15429
|
/**
|
|
15350
15430
|
* Describes the summary row settings.
|
|
15351
15431
|
* Default value: [object Object]
|
|
@@ -15357,40 +15437,30 @@ export interface GridProperties {
|
|
|
15357
15437
|
*/
|
|
15358
15438
|
stateSettings?: GridStateSettings;
|
|
15359
15439
|
/**
|
|
15360
|
-
* Describes the settings
|
|
15361
|
-
* Default value: [object Object]
|
|
15362
|
-
*/
|
|
15363
|
-
groupHeader?: GridGroupHeader;
|
|
15364
|
-
/**
|
|
15365
|
-
* Describes the header settings of the grid.
|
|
15440
|
+
* Describes the selection settings.
|
|
15366
15441
|
* Default value: [object Object]
|
|
15367
15442
|
*/
|
|
15368
|
-
|
|
15443
|
+
selection?: GridSelection;
|
|
15369
15444
|
/**
|
|
15370
|
-
* Describes
|
|
15445
|
+
* Describes sorting settings.
|
|
15371
15446
|
* Default value: [object Object]
|
|
15372
15447
|
*/
|
|
15373
|
-
|
|
15374
|
-
/**
|
|
15375
|
-
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
15376
|
-
* Default value: false
|
|
15377
|
-
*/
|
|
15378
|
-
rightToLeft?: boolean;
|
|
15448
|
+
sorting?: GridSorting;
|
|
15379
15449
|
/**
|
|
15380
|
-
*
|
|
15381
|
-
* Default value:
|
|
15450
|
+
* Sets the grid users. Expects an array with 'id', 'name' and optionally 'color' and 'image' properties.
|
|
15451
|
+
* Default value: []
|
|
15382
15452
|
*/
|
|
15383
|
-
|
|
15453
|
+
users?: any[];
|
|
15384
15454
|
/**
|
|
15385
|
-
*
|
|
15455
|
+
* Sets the grid's image and filter upload settings for the image and attachment columns.
|
|
15386
15456
|
* Default value: [object Object]
|
|
15387
15457
|
*/
|
|
15388
|
-
|
|
15458
|
+
uploadSettings?: GridUploadSettings;
|
|
15389
15459
|
/**
|
|
15390
|
-
*
|
|
15391
|
-
* Default value:
|
|
15460
|
+
* Sets the current data view. The possible values are 'grid', 'kanban' and 'card'.
|
|
15461
|
+
* Default value: "grid"
|
|
15392
15462
|
*/
|
|
15393
|
-
|
|
15463
|
+
view?: string;
|
|
15394
15464
|
}
|
|
15395
15465
|
/**
|
|
15396
15466
|
Data Grid UI Component that covers everything from paging, sorting, grouping, filtering, and editing to row and column virtualization, right-to-left layout, export to Excel and PDF and Accessibility.
|
|
@@ -15465,6 +15535,15 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15465
15535
|
* originalEvent - The origianl Event object.
|
|
15466
15536
|
*/
|
|
15467
15537
|
onColumnDragStart?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
15538
|
+
/**
|
|
15539
|
+
* This event is triggered, when a column property is changed.
|
|
15540
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(column, propertyName, oldValue, value)
|
|
15541
|
+
* column - The resized column.
|
|
15542
|
+
* propertyName - The changed property's name.
|
|
15543
|
+
* oldValue - The old value(s) of the column.
|
|
15544
|
+
* value - The new value(s) of the column.
|
|
15545
|
+
*/
|
|
15546
|
+
onColumnChange?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
15468
15547
|
/**
|
|
15469
15548
|
* This event is triggered, when the user drags a column.
|
|
15470
15549
|
* @param event. The custom event. Custom data event was created with: ev.detail(column, dataField, index, data, originalEvent)
|
|
@@ -15578,10 +15657,11 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15578
15657
|
onRowCollapse?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
15579
15658
|
/**
|
|
15580
15659
|
* This event is triggered, when the user clicks on a row of the grid.
|
|
15581
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(row, originalEvent, id, isRightClick, pageX, pageY)
|
|
15660
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(row, originalEvent, id, data, isRightClick, pageX, pageY)
|
|
15582
15661
|
* row - The clicked row.
|
|
15583
15662
|
* originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
|
|
15584
15663
|
* id - Gets the row id.
|
|
15664
|
+
* data - Gets the row data.
|
|
15585
15665
|
* isRightClick - Gets whether the pointing device's right button is clicked.
|
|
15586
15666
|
* pageX - Gets the click's X position.
|
|
15587
15667
|
* pageY - Gets the click's Y position.
|
|
@@ -15589,10 +15669,11 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15589
15669
|
onRowClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
15590
15670
|
/**
|
|
15591
15671
|
* This event is triggered, when the user double clicks on a row of the grid.
|
|
15592
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(row, originalEvent, id, isRightClick, pageX, pageY)
|
|
15672
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(row, originalEvent, id, data, isRightClick, pageX, pageY)
|
|
15593
15673
|
* row - The double-clicked row.
|
|
15594
15674
|
* originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
|
|
15595
15675
|
* id - Gets the row id.
|
|
15676
|
+
* data - Gets the row data.
|
|
15596
15677
|
* isRightClick - Gets whether the pointing device's right button is clicked.
|
|
15597
15678
|
* pageX - Gets the click's X position.
|
|
15598
15679
|
* pageY - Gets the click's Y position.
|
|
@@ -15618,11 +15699,12 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15618
15699
|
onRowStarred?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
15619
15700
|
/**
|
|
15620
15701
|
* This event is triggered, when the user clicks on a cell of the grid.
|
|
15621
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(cell, originalEvent, id, dataField, isRightClick, pageX, pageY)
|
|
15702
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(cell, originalEvent, id, dataField, value, isRightClick, pageX, pageY)
|
|
15622
15703
|
* cell - The clicked cell.
|
|
15623
15704
|
* originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
|
|
15624
15705
|
* id - Gets the row id.
|
|
15625
15706
|
* dataField - Gets the column dataField.
|
|
15707
|
+
* value - Gets the cell value.
|
|
15626
15708
|
* isRightClick - Gets whether the pointing device's right button is clicked.
|
|
15627
15709
|
* pageX - Gets the click's X position.
|
|
15628
15710
|
* pageY - Gets the click's Y position.
|
|
@@ -15630,11 +15712,12 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15630
15712
|
onCellClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
15631
15713
|
/**
|
|
15632
15714
|
* This event is triggered, when the user double clicks on a cell of the grid.
|
|
15633
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(cell, originalEvent, id, dataField, isRightClick, pageX, pageY)
|
|
15715
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(cell, originalEvent, id, dataField, value, isRightClick, pageX, pageY)
|
|
15634
15716
|
* cell - The double-clicked cell.
|
|
15635
15717
|
* originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
|
|
15636
15718
|
* id - Gets the row id.
|
|
15637
15719
|
* dataField - Gets the column dataField.
|
|
15720
|
+
* value - Gets the cell value.
|
|
15638
15721
|
* isRightClick - Gets whether the pointing device's right button is clicked.
|
|
15639
15722
|
* pageX - Gets the click's X position.
|
|
15640
15723
|
* pageY - Gets the click's Y position.
|
|
@@ -15882,8 +15965,10 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15882
15965
|
/**
|
|
15883
15966
|
* Exports the Grid data to .XLSX, .PDF, .JSON, .XML, .CSV, .TSV, .HTML, .JPEG or .PNG. The method uses the options of the <em>dataExport</em> property.
|
|
15884
15967
|
* @param {string} Dataformat. 'xlsx', 'pdf', 'json', 'xml', 'csv', 'tsv', 'html', 'png', 'jpeg'.
|
|
15968
|
+
* @param {any} callback?. A callback that allows to format the exported data based on a condition. For additional details, refer to the Smart Export Documentation.
|
|
15969
|
+
* @param {any} dataCallback?. A callback that allows to change the exported data.
|
|
15885
15970
|
*/
|
|
15886
|
-
exportData(Dataformat: string): void;
|
|
15971
|
+
exportData(Dataformat: string, callback?: any, dataCallback?: any): void;
|
|
15887
15972
|
/**
|
|
15888
15973
|
* Finds entries by using a query and returns an array of row ids. Example: const rows = grid.find('nancy'); returns all rows that have 'nancy' value. Example 2: const rows = grid.find('nancy, davolio'); returns all rows that have 'nancy' and 'davolio' values in the same row. Example 3: const rows = grid.find(5, 'quantity', '>'); returns all rows where the value of the 'quantity' field is > 5.
|
|
15889
15974
|
* @param {string} query. Search query
|
|
@@ -15898,6 +15983,12 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
15898
15983
|
* @returns {any[]}
|
|
15899
15984
|
*/
|
|
15900
15985
|
findCells(query: string): any[];
|
|
15986
|
+
/**
|
|
15987
|
+
* Filter by all columns. This method works like a global filter and applies a filter to all grid columns.
|
|
15988
|
+
* @param {string} query. Filter query to filter by.
|
|
15989
|
+
* @param {string} dataType?. Optionally filter by a specific data type like 'string', 'boolean', 'date', 'number'.
|
|
15990
|
+
*/
|
|
15991
|
+
filterBy(query: string, dataType?: string): void;
|
|
15901
15992
|
/**
|
|
15902
15993
|
* Navigates to a page, when paging is enabled.
|
|
15903
15994
|
* @param {number} index. page index
|
|
@@ -16020,22 +16111,6 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16020
16111
|
* @returns {any}
|
|
16021
16112
|
*/
|
|
16022
16113
|
getState(): any;
|
|
16023
|
-
/**
|
|
16024
|
-
* Saves the Grid state and returns a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
16025
|
-
* @param {string} name?. state name
|
|
16026
|
-
* @returns {any}
|
|
16027
|
-
*/
|
|
16028
|
-
saveState(name?: string): any;
|
|
16029
|
-
/**
|
|
16030
|
-
* Loads a previously saved Grid state. You can pass a state name when there is a state which was previously saved with the saveState(stateName) method call or a state object returned by the saveState or getState method calls. The state object is required to be a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
16031
|
-
* @param {any} state. state name or state object
|
|
16032
|
-
* @returns {any}
|
|
16033
|
-
*/
|
|
16034
|
-
loadState(state: any): any;
|
|
16035
|
-
/**
|
|
16036
|
-
* Resets the Grid state.
|
|
16037
|
-
*/
|
|
16038
|
-
resetState(): void;
|
|
16039
16114
|
/**
|
|
16040
16115
|
* Gets the changes from the batch edit.
|
|
16041
16116
|
* @returns
|
|
@@ -16132,6 +16207,12 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16132
16207
|
* @param callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
|
|
16133
16208
|
*/
|
|
16134
16209
|
insertRow(data: any, index?: number, callback?: {(row: GridRow): void}): void;
|
|
16210
|
+
/**
|
|
16211
|
+
* Loads a previously saved Grid state. You can pass a state name when there is a state which was previously saved with the saveState(stateName) method call or a state object returned by the saveState or getState method calls. The state object is required to be a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
16212
|
+
* @param {any} state. state name or state object
|
|
16213
|
+
* @returns {any}
|
|
16214
|
+
*/
|
|
16215
|
+
loadState(state: any): any;
|
|
16135
16216
|
/**
|
|
16136
16217
|
* Opens a column drop-down menu.
|
|
16137
16218
|
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
@@ -16143,6 +16224,14 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16143
16224
|
* @param {number} top. Top Position.
|
|
16144
16225
|
*/
|
|
16145
16226
|
openContextMenu(left: number, top: number): void;
|
|
16227
|
+
/**
|
|
16228
|
+
* Opens the Grid when the 'dropDownMode' property is true.
|
|
16229
|
+
*/
|
|
16230
|
+
openDropDown(): void;
|
|
16231
|
+
/**
|
|
16232
|
+
* Closes the Grid when the 'dropDownMode' property is true.
|
|
16233
|
+
*/
|
|
16234
|
+
closeDropDown(): void;
|
|
16146
16235
|
/**
|
|
16147
16236
|
* Prints the Grid data. The method uses the options of the <em>dataExport</em> property. When printed, the Grid will not display any scrollbars so all rows and columns will be displayed. The grid will auto resize width and height to fit all contents. To customize the printing options, you can use the <em>dataExport</em> property.
|
|
16148
16237
|
*/
|
|
@@ -16159,6 +16248,10 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16159
16248
|
* Refreshes the grid cells in view. The method is useful for live-updates of cell values.
|
|
16160
16249
|
*/
|
|
16161
16250
|
refreshView(): void;
|
|
16251
|
+
/**
|
|
16252
|
+
* Resets the Grid state.
|
|
16253
|
+
*/
|
|
16254
|
+
resetState(): void;
|
|
16162
16255
|
/**
|
|
16163
16256
|
* Removes a column filter.
|
|
16164
16257
|
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
@@ -16190,6 +16283,12 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16190
16283
|
* @param {boolean} insertAfter?. Determines whether to insert the first column after the reference column.
|
|
16191
16284
|
*/
|
|
16192
16285
|
reorderColumns(dataField: string | number, referenceDataField: string | number, insertAfter?: boolean): void;
|
|
16286
|
+
/**
|
|
16287
|
+
* Saves the Grid state and returns a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
16288
|
+
* @param {string} name?. state name
|
|
16289
|
+
* @returns {any}
|
|
16290
|
+
*/
|
|
16291
|
+
saveState(name?: string): any;
|
|
16193
16292
|
/**
|
|
16194
16293
|
* Sorts the Grid by a data field. This method will add or remove sorting, when sorting is enabled. To remove the sorting, use 'null' for the sortOrder parameter.
|
|
16195
16294
|
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
@@ -16297,6 +16396,11 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16297
16396
|
* @param rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
16298
16397
|
*/
|
|
16299
16398
|
setCellStyle(rowId: string | number, dataField: string, rowStyle: {background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}): void;
|
|
16399
|
+
/**
|
|
16400
|
+
* Sets the label of the Grid when the 'dropDownMode' property is true.
|
|
16401
|
+
* @param {string} label. The label to be displayed in the dropdown button.
|
|
16402
|
+
*/
|
|
16403
|
+
setDropDownLabel(label: string): void;
|
|
16300
16404
|
/**
|
|
16301
16405
|
* Sets the position of the vertical scrollbar. You can use this method in combination with the getVerticalScrollValue and getVerticalScrollMax.
|
|
16302
16406
|
* @param {number} value. The new scroll position
|
|
@@ -16312,6 +16416,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
16312
16416
|
* @param {string | number} rowId. row bound id
|
|
16313
16417
|
*/
|
|
16314
16418
|
showDetail(rowId: string | number): void;
|
|
16419
|
+
/**
|
|
16420
|
+
* Shows an overlay message below a cell. This method can be used for onboarding tips or in scenarios when you want to display custom messages to the user.
|
|
16421
|
+
* @param {string | number} rowId. row bound id
|
|
16422
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
16423
|
+
* @param {string} value. The message to be shown below the cell
|
|
16424
|
+
*/
|
|
16425
|
+
showCellMessage(rowId: string | number, dataField: string, value: string): void;
|
|
16315
16426
|
/**
|
|
16316
16427
|
* Updates a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
|
|
16317
16428
|
* @param {string | number} rowId. row bound id
|
|
@@ -16627,6 +16738,11 @@ export interface GridBehavior {
|
|
|
16627
16738
|
* Default value: false
|
|
16628
16739
|
*/
|
|
16629
16740
|
allowColumnFreeze?: boolean;
|
|
16741
|
+
/**
|
|
16742
|
+
* Determines whether the scrolling with mouse wheel is enabled.
|
|
16743
|
+
* Default value: true
|
|
16744
|
+
*/
|
|
16745
|
+
allowMouseWheel?: boolean;
|
|
16630
16746
|
/**
|
|
16631
16747
|
* Sets the column resize mode. split resize mode 'grows' or 'shrinks' the resize element's size and 'shrinks' or 'grows' the next sibling element's size. growAndShrink resize mode 'grows' or 'shrinks' the resize element's size
|
|
16632
16748
|
* Default value: none
|
|
@@ -16639,73 +16755,38 @@ export interface GridBehavior {
|
|
|
16639
16755
|
rowResizeMode?: GridResizeMode | string;
|
|
16640
16756
|
}
|
|
16641
16757
|
|
|
16642
|
-
/**
|
|
16643
|
-
export interface
|
|
16758
|
+
/**Describes the column header settings. */
|
|
16759
|
+
export interface GridColumnHeader {
|
|
16644
16760
|
/**
|
|
16645
|
-
*
|
|
16646
|
-
* Default value:
|
|
16761
|
+
* Sets the column header visibility.
|
|
16762
|
+
* Default value: true
|
|
16647
16763
|
*/
|
|
16648
|
-
|
|
16764
|
+
visible?: boolean;
|
|
16765
|
+
}
|
|
16766
|
+
|
|
16767
|
+
/**The <em>clipboard</em> property is used to enable/disable clipboard operations with Ctrl+C, Ctrl+X and Ctrl+V keyboard navigations.. */
|
|
16768
|
+
export interface GridClipboard {
|
|
16649
16769
|
/**
|
|
16650
|
-
*
|
|
16651
|
-
* Default value:
|
|
16770
|
+
* Sets or gets whether the property is enabled.
|
|
16771
|
+
* Default value: true
|
|
16652
16772
|
*/
|
|
16653
|
-
|
|
16773
|
+
enabled?: boolean;
|
|
16654
16774
|
/**
|
|
16655
|
-
* Sets
|
|
16656
|
-
* Default value:
|
|
16775
|
+
* Sets or gets whether the copy-pasted values will be auto-filled by using automatic pattern detection. This is used in the Drag&Drop Multiple Cells selection. none does nothing. copy just copies the cells. 'fillSeries' detects and automatically fills the values. For example, if the selection has '1, 2' and the possible positions are more, the pasted values would be '1, 2, 3, 4, etc.
|
|
16776
|
+
* Default value: fillSeries
|
|
16657
16777
|
*/
|
|
16658
|
-
|
|
16778
|
+
autoFillMode?: GridClipboardAutoFillMode | string;
|
|
16659
16779
|
/**
|
|
16660
|
-
* Sets
|
|
16780
|
+
* Sets or gets a callback on paste.
|
|
16661
16781
|
* Default value: null
|
|
16662
16782
|
*/
|
|
16663
|
-
|
|
16783
|
+
onPasteValue?: {(args: {value: any, oldValue: any, dataField: string, id: string | number}): void};
|
|
16784
|
+
}
|
|
16785
|
+
|
|
16786
|
+
export interface GridColumn {
|
|
16664
16787
|
/**
|
|
16665
|
-
* Sets the
|
|
16666
|
-
* Default value:
|
|
16667
|
-
*/
|
|
16668
|
-
columnHeight?: string | number | null;
|
|
16669
|
-
/**
|
|
16670
|
-
* Sets the minimum height of the Grid columns.
|
|
16671
|
-
* Default value: 30
|
|
16672
|
-
*/
|
|
16673
|
-
columnMinHeight?: number;
|
|
16674
|
-
/**
|
|
16675
|
-
* Sets the minimum height of the Grid rows.
|
|
16676
|
-
* Default value: 30
|
|
16677
|
-
*/
|
|
16678
|
-
rowMinHeight?: number;
|
|
16679
|
-
/**
|
|
16680
|
-
* Sets the height of the Grid rows. The property can be set to null, auto or a number.
|
|
16681
|
-
* Default value: null
|
|
16682
|
-
*/
|
|
16683
|
-
rowHeight?: string | number | null;
|
|
16684
|
-
}
|
|
16685
|
-
|
|
16686
|
-
/**The <em>clipboard</em> property is used to enable/disable clipboard operations with Ctrl+C, Ctrl+X and Ctrl+V keyboard navigations.. */
|
|
16687
|
-
export interface GridClipboard {
|
|
16688
|
-
/**
|
|
16689
|
-
* Sets or gets whether the property is enabled.
|
|
16690
|
-
* Default value: true
|
|
16691
|
-
*/
|
|
16692
|
-
enabled?: boolean;
|
|
16693
|
-
/**
|
|
16694
|
-
* Sets or gets whether the copy-pasted values will be auto-filled by using automatic pattern detection. This is used in the Drag&Drop Multiple Cells selection. none does nothing. copy just copies the cells. 'fillSeries' detects and automatically fills the values. For example, if the selection has '1, 2' and the possible positions are more, the pasted values would be '1, 2, 3, 4, etc.
|
|
16695
|
-
* Default value: fillSeries
|
|
16696
|
-
*/
|
|
16697
|
-
autoFillMode?: GridClipboardAutoFillMode | string;
|
|
16698
|
-
/**
|
|
16699
|
-
* Sets or gets a callback on paste.
|
|
16700
|
-
* Default value: null
|
|
16701
|
-
*/
|
|
16702
|
-
onPasteValue?: {(args: {value: any, oldValue: any, dataField: string, id: string | number}): void};
|
|
16703
|
-
}
|
|
16704
|
-
|
|
16705
|
-
export interface GridColumn {
|
|
16706
|
-
/**
|
|
16707
|
-
* Sets or gets the column's header alignment. Accepts: 'left', 'right', 'center'
|
|
16708
|
-
* Default value: left
|
|
16788
|
+
* Sets or gets the column's header alignment. Accepts: 'left', 'right', 'center'
|
|
16789
|
+
* Default value: left
|
|
16709
16790
|
*/
|
|
16710
16791
|
align?: HorizontalAlignment | string;
|
|
16711
16792
|
/**
|
|
@@ -16729,10 +16810,10 @@ export interface GridColumn {
|
|
|
16729
16810
|
*/
|
|
16730
16811
|
allowSelect?: boolean | null;
|
|
16731
16812
|
/**
|
|
16732
|
-
* Sets or gets whether the column can be edited.
|
|
16813
|
+
* Sets or gets whether the column can be edited. The property can be 'boolean' i.e accept true and false values. To dynamically determine which cells are editable, a callback function can be supplied to the 'allowEdit' property. For example: allowEdit: (id, dataField, value, data) => { return value === 'Cappuccino'; }
|
|
16733
16814
|
* Default value: true
|
|
16734
16815
|
*/
|
|
16735
|
-
allowEdit?:
|
|
16816
|
+
allowEdit?: any;
|
|
16736
16817
|
/**
|
|
16737
16818
|
* Sets or gets whether the column can be sorted.
|
|
16738
16819
|
* Default value: true
|
|
@@ -16763,6 +16844,11 @@ export interface GridColumn {
|
|
|
16763
16844
|
* Default value: true
|
|
16764
16845
|
*/
|
|
16765
16846
|
allowNull?: boolean;
|
|
16847
|
+
/**
|
|
16848
|
+
* Sets or gets the cell's height in card view mode.
|
|
16849
|
+
* Default value: false
|
|
16850
|
+
*/
|
|
16851
|
+
cardHeight?: number;
|
|
16766
16852
|
/**
|
|
16767
16853
|
* Sets or gets the column's cells format. This property is used for applying a formatting to the cell values. Number format strings: 'd' - decimal numbers.'f' - floating-point numbers.'n' - integer numbers.'c' - currency numbers.'p' - percentage numbers.For adding decimal places to the numbers, add a number after the formatting striFor example: 'c3' displays a number in this format $25.256Built-in Date formats:// short date pattern'd' - 'M/d/yyyy',// long date pattern'D' - 'dddd, MMMM dd, yyyy',// short time pattern't' - 'h:mm tt',// long time pattern'T' - 'h:mm:ss tt',// long date, short time pattern'f' - 'dddd, MMMM dd, yyyy h:mm tt',// long date, long time pattern'F' - 'dddd, MMMM dd, yyyy h:mm:ss tt',// month/day pattern'M' - 'MMMM dd',// month/year pattern'Y' - 'yyyy MMMM',// S is a sortable format that does not vary by culture'S' - 'yyyy'-'MM'-'dd'T'HH':'mm':'ss'Date format strings:'d'-the day of the month;'dd'-the day of the month'ddd'-the abbreviated name of the day of the week'dddd'- the full name of the day of the week'h'-the hour, using a 12-hour clock from 1 to 12'hh'-the hour, using a 12-hour clock from 01 to 12'H'-the hour, using a 24-hour clock from 0 to 23'HH'- the hour, using a 24-hour clock from 00 to 23'm'-the minute, from 0 through 59'mm'-the minutes,from 00 though59'M'- the month, from 1 through 12'MM'- the month, from 01 through 12'MMM'-the abbreviated name of the month'MMMM'-the full name of the month's'-the second, from 0 through 59'ss'-the second, from 00 through 59't'- the first character of the AM/PM designator'tt'-the AM/PM designator'y'- the year, from 0 to 99'yy'- the year, from 00 to 99'yyy'-the year, with a minimum of three digits'yyyy'-the year as a four-digit number;'yyyyy'-the year as a four-digit number.
|
|
16768
16854
|
* Default value: ""
|
|
@@ -16823,6 +16909,11 @@ export interface GridColumn {
|
|
|
16823
16909
|
* Default value: ""
|
|
16824
16910
|
*/
|
|
16825
16911
|
description?: string;
|
|
16912
|
+
/**
|
|
16913
|
+
* Sets or gets custom data object related to the column.
|
|
16914
|
+
* Default value: null
|
|
16915
|
+
*/
|
|
16916
|
+
dataSet?: any;
|
|
16826
16917
|
/**
|
|
16827
16918
|
* Gets the HTML Element. The property returns null when the Column is not in the View.
|
|
16828
16919
|
* Default value: null
|
|
@@ -16863,6 +16954,11 @@ export interface GridColumn {
|
|
|
16863
16954
|
* Default value: [object Object]
|
|
16864
16955
|
*/
|
|
16865
16956
|
formatSettings?: any;
|
|
16957
|
+
/**
|
|
16958
|
+
* Sets or gets the column's formula. The formula you set will be applied to all cells. Example: COL(Name) & '-' & COL(Price) or IF(COL(Price) * COL(Quantity) > 5, 'Yes', 'No')
|
|
16959
|
+
* Default value: ""
|
|
16960
|
+
*/
|
|
16961
|
+
formula?: string;
|
|
16866
16962
|
/**
|
|
16867
16963
|
* Sets or gets the column's group.
|
|
16868
16964
|
* Default value: ""
|
|
@@ -16903,6 +16999,16 @@ export interface GridColumn {
|
|
|
16903
16999
|
* Default value: null
|
|
16904
17000
|
*/
|
|
16905
17001
|
rowSpan?: {(cellValue: any, rowIndex: number, data: any): number};
|
|
17002
|
+
/**
|
|
17003
|
+
* Sets or gets the relation id in the dataSourceSettings.relations. The 'relationField' property should be set.
|
|
17004
|
+
* Default value: ""
|
|
17005
|
+
*/
|
|
17006
|
+
relationId?: string;
|
|
17007
|
+
/**
|
|
17008
|
+
* Sets or gets the relation field in the dataSourceSettings.relations. The 'relationId' property should be set.
|
|
17009
|
+
* Default value: ""
|
|
17010
|
+
*/
|
|
17011
|
+
relationField?: string;
|
|
16906
17012
|
/**
|
|
16907
17013
|
* Sets or gets the sort order of the column. Accepts: 'asc', 'desc' and null.
|
|
16908
17014
|
* Default value: null
|
|
@@ -16939,10 +17045,15 @@ export interface GridColumn {
|
|
|
16939
17045
|
*/
|
|
16940
17046
|
width?: string | number;
|
|
16941
17047
|
/**
|
|
16942
|
-
* Sets or gets the column's template. The property expects the 'id' of HTMLTemplateElement or HTML string which is displayed in the cells. Built-in string values are: 'checkBox', 'switchButton', '
|
|
17048
|
+
* Sets or gets the column's template. The property expects the 'id' of HTMLTemplateElement or HTML string which is displayed in the cells. Built-in string values are: 'checkBox', 'switchButton', 'url', 'email', 'dropdownlist', 'list', 'progress', 'tags', 'autoNumber', 'modifiedBy', 'createdBy', 'createdTime', 'modifiedTime', 'images', 'checklist', 'attachments', 'sparklines', 'richText', 'color', 'rating', 'duration', 'startDate', 'dueDates'. For example, when you set the template to 'url', the cells will be render anchor tags. When you set the template property to HTMLTemplateElement you should consider that once a template is rendered, the formatObject.template property stores the rendered template component for further use.
|
|
16943
17049
|
* Default value:
|
|
16944
17050
|
*/
|
|
16945
17051
|
template?: any;
|
|
17052
|
+
/**
|
|
17053
|
+
* Sets or gets additional settings related to the column's template. For example, when the template is 'sparklines', the templateSettings could be an object which defines has 'type' - 'bar', 'column', 'line' or 'pie'. If you want to apply a custom color, you can add the 'colorFunction: function(value) { } and return a custom color as a 'hex' string or a 'tooltipFormatFunction: function(value) {}' which returns a formatted tooltip string. Additional properties are 'min', 'max', 'gap' and 'strokeWidth'.
|
|
17054
|
+
* Default value: null
|
|
17055
|
+
*/
|
|
17056
|
+
templateSettings?: any;
|
|
16946
17057
|
/**
|
|
16947
17058
|
* Sets or gets the column's validation rules. The expected value is an Array of Objects. Each object should have a 'type' property that can be set to 'required', 'min', 'max', 'minLength', 'maxLength', 'email', 'null', 'requiredTrue', 'minData', 'maxDate', 'pattern'. The 'value' property should be set, too. For validation rule types 'required', 'requiredTrue' and 'null' you can skip the 'value' property. Optional property is 'message', which determines the error message.
|
|
16948
17059
|
* Default value: null
|
|
@@ -16977,6 +17088,11 @@ export interface GridContextMenu {
|
|
|
16977
17088
|
* Default value: false
|
|
16978
17089
|
*/
|
|
16979
17090
|
enabled?: boolean;
|
|
17091
|
+
/**
|
|
17092
|
+
* Sets an array of custom context menu items to be displayed in the context menu.
|
|
17093
|
+
* Default value: null
|
|
17094
|
+
*/
|
|
17095
|
+
customContextMenuItems?: any[];
|
|
16980
17096
|
/**
|
|
16981
17097
|
* Sets the data sources to the context menu.
|
|
16982
17098
|
* Default value: [object Object]
|
|
@@ -17444,6 +17560,11 @@ export interface GridDataSourceSettings {
|
|
|
17444
17560
|
* Default value: "."
|
|
17445
17561
|
*/
|
|
17446
17562
|
mapChar?: string;
|
|
17563
|
+
/**
|
|
17564
|
+
* Sets or gets the Grid relations. The property expects an array of objects. Each object should have '{id: string, label: string, columns: GridColumn[], dataSource: any}'. Once you have the relations defined, when you create a column, you can set 'relationId' and 'relationField'. This will automatically define a new column editor based on the relation settings.
|
|
17565
|
+
* Default value: null
|
|
17566
|
+
*/
|
|
17567
|
+
relations?: any;
|
|
17447
17568
|
/**
|
|
17448
17569
|
* Sets the virtual data source function which is called each time the Grid requests data. Example for calling the callback function with the new data set: resultCallbackFunction({dataSource: data}); Demos using 'virtualDataSource' are available on the Grid demos page. Example: https://www.htmlelements.com/demos/grid/virtualscroll/
|
|
17449
17570
|
* Default value: null
|
|
@@ -17506,6 +17627,11 @@ export interface GridEditing {
|
|
|
17506
17627
|
* Default value: click
|
|
17507
17628
|
*/
|
|
17508
17629
|
action?: GridEditingAction | string;
|
|
17630
|
+
/**
|
|
17631
|
+
* Read Only Edit is a mode in the grid whereby Cell Editing will not update the data inside the grid. Instead the grid invokes the 'onCellEditRequest' function allowing the application to process the update request.
|
|
17632
|
+
* Default value: false
|
|
17633
|
+
*/
|
|
17634
|
+
readOnlyEdit?: boolean;
|
|
17509
17635
|
/**
|
|
17510
17636
|
* Describes command keys.
|
|
17511
17637
|
* Default value: [object Object]
|
|
@@ -17856,6 +17982,20 @@ export interface GridFilteringFilterBuilder {
|
|
|
17856
17982
|
height?: number | null;
|
|
17857
17983
|
}
|
|
17858
17984
|
|
|
17985
|
+
/**Describes the footer settings of the grid. */
|
|
17986
|
+
export interface GridFooter {
|
|
17987
|
+
/**
|
|
17988
|
+
* Sets the footer visibility.
|
|
17989
|
+
* Default value: false
|
|
17990
|
+
*/
|
|
17991
|
+
visible?: boolean;
|
|
17992
|
+
/**
|
|
17993
|
+
* Sets a template for the footer.
|
|
17994
|
+
* Default value:
|
|
17995
|
+
*/
|
|
17996
|
+
template?: string | HTMLTemplateElement | {(element: HTMLElement): void};
|
|
17997
|
+
}
|
|
17998
|
+
|
|
17859
17999
|
/**Describes the grid's grouping settings. */
|
|
17860
18000
|
export interface GridGrouping {
|
|
17861
18001
|
/**
|
|
@@ -17968,38 +18108,141 @@ export interface GridGroupingSummaryRow {
|
|
|
17968
18108
|
visible?: boolean;
|
|
17969
18109
|
}
|
|
17970
18110
|
|
|
17971
|
-
/**
|
|
17972
|
-
export interface
|
|
18111
|
+
/**Describes the settings for the group header. */
|
|
18112
|
+
export interface GridGroupHeader {
|
|
17973
18113
|
/**
|
|
17974
|
-
* Sets
|
|
17975
|
-
* Default value:
|
|
18114
|
+
* Sets the visibility of the group header.
|
|
18115
|
+
* Default value: false
|
|
17976
18116
|
*/
|
|
17977
|
-
|
|
18117
|
+
visible?: boolean;
|
|
17978
18118
|
/**
|
|
17979
|
-
* Sets
|
|
17980
|
-
* Default value:
|
|
18119
|
+
* Sets a template for the group header.
|
|
18120
|
+
* Default value:
|
|
17981
18121
|
*/
|
|
17982
|
-
|
|
18122
|
+
template?: string | HTMLTemplateElement;
|
|
18123
|
+
}
|
|
18124
|
+
|
|
18125
|
+
/**Describes the header settings of the grid. */
|
|
18126
|
+
export interface GridHeader {
|
|
17983
18127
|
/**
|
|
17984
|
-
* Sets
|
|
17985
|
-
* Default value:
|
|
18128
|
+
* Sets the header visibility.
|
|
18129
|
+
* Default value: false
|
|
17986
18130
|
*/
|
|
17987
|
-
|
|
18131
|
+
visible?: boolean;
|
|
17988
18132
|
/**
|
|
17989
|
-
*
|
|
17990
|
-
* Default value:
|
|
18133
|
+
* Sets a template for the header.
|
|
18134
|
+
* Default value:
|
|
17991
18135
|
*/
|
|
17992
|
-
|
|
18136
|
+
template?: string | HTMLTemplateElement | {(element: HTMLElement): void};
|
|
17993
18137
|
/**
|
|
17994
|
-
*
|
|
17995
|
-
* Default value:
|
|
18138
|
+
* This callback function can be used for customization of the Header toolbar. The Toolbar HTML Element is passed as an argument.
|
|
18139
|
+
* Default value: null
|
|
17996
18140
|
*/
|
|
17997
|
-
|
|
18141
|
+
onInit?: {(element: HTMLElement): void};
|
|
17998
18142
|
/**
|
|
17999
|
-
*
|
|
18000
|
-
* Default value:
|
|
18143
|
+
* Determines the buttons displayed in the Grid header. 'columns' displays a button opening the columns chooser panel. 'filter' displays a button opening the filtering panel. 'group' displays a button opening the grouping panel. 'sort' displays a button opening the sorting panel. 'format' displays a button opening the conditional formatting panel. 'search' displays a button opening the search panel. 'colors' displays a button with colors options for formatting.
|
|
18144
|
+
* Default value: [ "columns", "filter", "group", "sort", "format", "search" ]
|
|
18001
18145
|
*/
|
|
18002
|
-
|
|
18146
|
+
buttons?: string[];
|
|
18147
|
+
/**
|
|
18148
|
+
* Sets the search command type.
|
|
18149
|
+
* Default value: search
|
|
18150
|
+
*/
|
|
18151
|
+
searchCommand?: GridHeaderSearchCommand | string;
|
|
18152
|
+
/**
|
|
18153
|
+
* Custom toolbar button. Allows you to add a custom button to the toolbar.
|
|
18154
|
+
* Default value: [object Object]
|
|
18155
|
+
*/
|
|
18156
|
+
customButton?: GridCommand;
|
|
18157
|
+
}
|
|
18158
|
+
|
|
18159
|
+
/**An object containing settings related to the grid's layout. */
|
|
18160
|
+
export interface GridLayout {
|
|
18161
|
+
/**
|
|
18162
|
+
* Enables or disables the Cells Value wrapping. When the property is true, cell value can wrap in multiple lines.
|
|
18163
|
+
* Default value: false
|
|
18164
|
+
*/
|
|
18165
|
+
allowCellsWrap?: boolean;
|
|
18166
|
+
/**
|
|
18167
|
+
* Automatically sets width to any new Column which does not have its 'width' property set.
|
|
18168
|
+
* Default value: false
|
|
18169
|
+
*/
|
|
18170
|
+
autoSizeNewColumn?: boolean;
|
|
18171
|
+
/**
|
|
18172
|
+
* Sets the min width of the new column.
|
|
18173
|
+
* Default value: 250
|
|
18174
|
+
*/
|
|
18175
|
+
autoSizeNewColumnMinWidth?: number;
|
|
18176
|
+
/**
|
|
18177
|
+
* Automatically sets the height of the Grid.
|
|
18178
|
+
* Default value: false
|
|
18179
|
+
*/
|
|
18180
|
+
autoHeight?: boolean;
|
|
18181
|
+
/**
|
|
18182
|
+
* Automatically sets the width of the Grid. All columns should have a 'width' property set to a number in order to use this feature.
|
|
18183
|
+
* Default value: false
|
|
18184
|
+
*/
|
|
18185
|
+
autoWidth?: boolean;
|
|
18186
|
+
/**
|
|
18187
|
+
* Sets the width of the auto-generated Grid columns.
|
|
18188
|
+
* Default value: null
|
|
18189
|
+
*/
|
|
18190
|
+
autoGenerateColumnWidth?: string | number | null;
|
|
18191
|
+
/**
|
|
18192
|
+
* Sets the width of the Grid columns.
|
|
18193
|
+
* Default value: null
|
|
18194
|
+
*/
|
|
18195
|
+
columnWidth?: string | number | null;
|
|
18196
|
+
/**
|
|
18197
|
+
* Sets the height of the Grid columns.
|
|
18198
|
+
* Default value: null
|
|
18199
|
+
*/
|
|
18200
|
+
columnHeight?: string | number | null;
|
|
18201
|
+
/**
|
|
18202
|
+
* Sets the minimum height of the Grid columns.
|
|
18203
|
+
* Default value: 30
|
|
18204
|
+
*/
|
|
18205
|
+
columnMinHeight?: number;
|
|
18206
|
+
/**
|
|
18207
|
+
* Sets the minimum width of a card in card view.
|
|
18208
|
+
* Default value: 250
|
|
18209
|
+
*/
|
|
18210
|
+
cardMinWidth?: number;
|
|
18211
|
+
/**
|
|
18212
|
+
* Sets the cards per row.
|
|
18213
|
+
* Default value: null
|
|
18214
|
+
*/
|
|
18215
|
+
cardsPerRow?: number;
|
|
18216
|
+
/**
|
|
18217
|
+
* Sets whether cards are vertically oriented. In this layout mode, the column label is displayed above the column value
|
|
18218
|
+
* Default value: false
|
|
18219
|
+
*/
|
|
18220
|
+
cardVertical?: boolean;
|
|
18221
|
+
/**
|
|
18222
|
+
* Sets the width of the Grid when displayed in a drop-down mode.
|
|
18223
|
+
* Default value: 700
|
|
18224
|
+
*/
|
|
18225
|
+
dropDownWidth?: number;
|
|
18226
|
+
/**
|
|
18227
|
+
* Sets the height of the Grid when displayed in a drop-down mode.
|
|
18228
|
+
* Default value: 500
|
|
18229
|
+
*/
|
|
18230
|
+
dropDownHeight?: number;
|
|
18231
|
+
/**
|
|
18232
|
+
* Sets the minimum height of the Grid rows.
|
|
18233
|
+
* Default value: 30
|
|
18234
|
+
*/
|
|
18235
|
+
rowMinHeight?: number;
|
|
18236
|
+
/**
|
|
18237
|
+
* Sets the height of the Grid rows. The property can be set to null, auto or a number.
|
|
18238
|
+
* Default value: null
|
|
18239
|
+
*/
|
|
18240
|
+
rowHeight?: string | number | null;
|
|
18241
|
+
/**
|
|
18242
|
+
* Sets the width of the view bar.
|
|
18243
|
+
* Default value: 250
|
|
18244
|
+
*/
|
|
18245
|
+
viewBarWidth?: number;
|
|
18003
18246
|
}
|
|
18004
18247
|
|
|
18005
18248
|
/**Describes the paging settings. */
|
|
@@ -18240,156 +18483,42 @@ export interface GridRowDetail {
|
|
|
18240
18483
|
dialog?: Dialog;
|
|
18241
18484
|
}
|
|
18242
18485
|
|
|
18243
|
-
|
|
18244
|
-
export interface GridColumnHeader {
|
|
18486
|
+
export interface GridRow {
|
|
18245
18487
|
/**
|
|
18246
|
-
* Sets the
|
|
18488
|
+
* Sets or gets the row can be expanded or collapsed.
|
|
18247
18489
|
* Default value: true
|
|
18248
18490
|
*/
|
|
18249
|
-
|
|
18250
|
-
}
|
|
18251
|
-
|
|
18252
|
-
/**Describes the summary row settings. */
|
|
18253
|
-
export interface GridSummaryRow {
|
|
18254
|
-
/**
|
|
18255
|
-
* Sets the summary row visibility.
|
|
18256
|
-
* Default value: false
|
|
18257
|
-
*/
|
|
18258
|
-
visible?: boolean;
|
|
18491
|
+
allowToggle?: boolean;
|
|
18259
18492
|
/**
|
|
18260
|
-
* Sets
|
|
18261
|
-
* Default value:
|
|
18493
|
+
* Sets or gets the row can be resized.
|
|
18494
|
+
* Default value: true
|
|
18262
18495
|
*/
|
|
18263
|
-
|
|
18264
|
-
}
|
|
18265
|
-
|
|
18266
|
-
/**Sets the grid's state settings. */
|
|
18267
|
-
export interface GridStateSettings {
|
|
18496
|
+
allowResize?: boolean;
|
|
18268
18497
|
/**
|
|
18269
|
-
*
|
|
18270
|
-
* Default value:
|
|
18498
|
+
* Sets or gets the row can be selected.
|
|
18499
|
+
* Default value: true
|
|
18271
18500
|
*/
|
|
18272
|
-
|
|
18501
|
+
allowSelect?: boolean | null;
|
|
18273
18502
|
/**
|
|
18274
|
-
*
|
|
18275
|
-
* Default value:
|
|
18503
|
+
* Sets or gets the row can be checked. This property is used when the Grid is in Tree Grid or Grouped mode.
|
|
18504
|
+
* Default value: true
|
|
18276
18505
|
*/
|
|
18277
|
-
|
|
18506
|
+
allowCheck?: boolean;
|
|
18278
18507
|
/**
|
|
18279
|
-
*
|
|
18508
|
+
* Sets or gets the row's check state. This property is used when the Grid is in Tree Grid or Grouped mode.
|
|
18280
18509
|
* Default value: true
|
|
18281
18510
|
*/
|
|
18282
|
-
|
|
18511
|
+
checked?: boolean;
|
|
18283
18512
|
/**
|
|
18284
|
-
*
|
|
18285
|
-
* Default value:
|
|
18513
|
+
* Gets the Row's Cells array.
|
|
18514
|
+
* Default value: []
|
|
18286
18515
|
*/
|
|
18287
|
-
|
|
18516
|
+
cells?: GridCell[];
|
|
18288
18517
|
/**
|
|
18289
|
-
*
|
|
18518
|
+
* Gets the row's children array of GridRow. This property is associated to the TreeGrid and Groupng mode of the Grid.
|
|
18290
18519
|
* Default value: null
|
|
18291
18520
|
*/
|
|
18292
|
-
|
|
18293
|
-
/**
|
|
18294
|
-
* Function called when the state is changed.
|
|
18295
|
-
* Default value:
|
|
18296
|
-
*/
|
|
18297
|
-
onStateChange?: any;
|
|
18298
|
-
/**
|
|
18299
|
-
* Array with state options such as 'sort', 'filter', 'expandedRows', 'paging', 'selectedCells', 'selectedRows', 'group', 'columns'. This property determines which parts of the state would be saved or loaded.
|
|
18300
|
-
* Default value:
|
|
18301
|
-
*/
|
|
18302
|
-
options?: string[];
|
|
18303
|
-
}
|
|
18304
|
-
|
|
18305
|
-
/**Describes the settings for the group header. */
|
|
18306
|
-
export interface GridGroupHeader {
|
|
18307
|
-
/**
|
|
18308
|
-
* Sets the visibility of the group header.
|
|
18309
|
-
* Default value: false
|
|
18310
|
-
*/
|
|
18311
|
-
visible?: boolean;
|
|
18312
|
-
/**
|
|
18313
|
-
* Sets a template for the group header.
|
|
18314
|
-
* Default value:
|
|
18315
|
-
*/
|
|
18316
|
-
template?: string | HTMLTemplateElement;
|
|
18317
|
-
}
|
|
18318
|
-
|
|
18319
|
-
/**Describes the header settings of the grid. */
|
|
18320
|
-
export interface GridHeader {
|
|
18321
|
-
/**
|
|
18322
|
-
* Sets the header visibility.
|
|
18323
|
-
* Default value: false
|
|
18324
|
-
*/
|
|
18325
|
-
visible?: boolean;
|
|
18326
|
-
/**
|
|
18327
|
-
* Sets a template for the header.
|
|
18328
|
-
* Default value:
|
|
18329
|
-
*/
|
|
18330
|
-
template?: string | HTMLTemplateElement | {(element: HTMLElement): void};
|
|
18331
|
-
/**
|
|
18332
|
-
* This callback function can be used for customization of the Header toolbar. The Toolbar HTML Element is passed as an argument.
|
|
18333
|
-
* Default value: null
|
|
18334
|
-
*/
|
|
18335
|
-
onInit?: {(element: HTMLElement): void};
|
|
18336
|
-
/**
|
|
18337
|
-
* Determines the buttons displayed in the Grid header. 'columns' displays a button opening the columns chooser panel. 'filter' displays a button opening the filtering panel. 'group' displays a button opening the grouping panel. 'sort' displays a button opening the sorting panel. 'format' displays a button opening the conditional formatting panel. 'search' displays a button opening the search panel.
|
|
18338
|
-
* Default value: [ "columns", "filter", "group", "sort", "format", "search" ]
|
|
18339
|
-
*/
|
|
18340
|
-
buttons?: string[];
|
|
18341
|
-
}
|
|
18342
|
-
|
|
18343
|
-
/**Describes the footer settings of the grid. */
|
|
18344
|
-
export interface GridFooter {
|
|
18345
|
-
/**
|
|
18346
|
-
* Sets the footer visibility.
|
|
18347
|
-
* Default value: false
|
|
18348
|
-
*/
|
|
18349
|
-
visible?: boolean;
|
|
18350
|
-
/**
|
|
18351
|
-
* Sets a template for the footer.
|
|
18352
|
-
* Default value:
|
|
18353
|
-
*/
|
|
18354
|
-
template?: string | HTMLTemplateElement | {(element: HTMLElement): void};
|
|
18355
|
-
}
|
|
18356
|
-
|
|
18357
|
-
export interface GridRow {
|
|
18358
|
-
/**
|
|
18359
|
-
* Sets or gets the row can be expanded or collapsed.
|
|
18360
|
-
* Default value: true
|
|
18361
|
-
*/
|
|
18362
|
-
allowToggle?: boolean;
|
|
18363
|
-
/**
|
|
18364
|
-
* Sets or gets the row can be resized.
|
|
18365
|
-
* Default value: true
|
|
18366
|
-
*/
|
|
18367
|
-
allowResize?: boolean;
|
|
18368
|
-
/**
|
|
18369
|
-
* Sets or gets the row can be selected.
|
|
18370
|
-
* Default value: true
|
|
18371
|
-
*/
|
|
18372
|
-
allowSelect?: boolean | null;
|
|
18373
|
-
/**
|
|
18374
|
-
* Sets or gets the row can be checked. This property is used when the Grid is in Tree Grid or Grouped mode.
|
|
18375
|
-
* Default value: true
|
|
18376
|
-
*/
|
|
18377
|
-
allowCheck?: boolean;
|
|
18378
|
-
/**
|
|
18379
|
-
* Sets or gets the row's check state. This property is used when the Grid is in Tree Grid or Grouped mode.
|
|
18380
|
-
* Default value: true
|
|
18381
|
-
*/
|
|
18382
|
-
checked?: boolean;
|
|
18383
|
-
/**
|
|
18384
|
-
* Gets the Row's Cells array.
|
|
18385
|
-
* Default value: []
|
|
18386
|
-
*/
|
|
18387
|
-
cells?: GridCell[];
|
|
18388
|
-
/**
|
|
18389
|
-
* Gets the row's children array of GridRow. This property is associated to the TreeGrid and Groupng mode of the Grid.
|
|
18390
|
-
* Default value: null
|
|
18391
|
-
*/
|
|
18392
|
-
children?: any;
|
|
18521
|
+
children?: any;
|
|
18393
18522
|
/**
|
|
18394
18523
|
* Gets the row's bound data.
|
|
18395
18524
|
* Default value: null
|
|
@@ -18610,6 +18739,59 @@ export interface GridCell {
|
|
|
18610
18739
|
setStyle?: {(value: any): void};
|
|
18611
18740
|
}
|
|
18612
18741
|
|
|
18742
|
+
/**Describes the summary row settings. */
|
|
18743
|
+
export interface GridSummaryRow {
|
|
18744
|
+
/**
|
|
18745
|
+
* Sets the summary row visibility.
|
|
18746
|
+
* Default value: false
|
|
18747
|
+
*/
|
|
18748
|
+
visible?: boolean;
|
|
18749
|
+
/**
|
|
18750
|
+
* Sets the summary row editor. When you point over a summary row cell, an editor is displayed and you will be able to dynamically change the summary type.
|
|
18751
|
+
* Default value: false
|
|
18752
|
+
*/
|
|
18753
|
+
editing?: boolean;
|
|
18754
|
+
}
|
|
18755
|
+
|
|
18756
|
+
/**Sets the grid's state settings. */
|
|
18757
|
+
export interface GridStateSettings {
|
|
18758
|
+
/**
|
|
18759
|
+
* Enables or disables auto-save of the Grid's state
|
|
18760
|
+
* Default value: false
|
|
18761
|
+
*/
|
|
18762
|
+
autoSave?: boolean;
|
|
18763
|
+
/**
|
|
18764
|
+
* Enables or disables auto-load of the Grid's state on page reload.
|
|
18765
|
+
* Default value: false
|
|
18766
|
+
*/
|
|
18767
|
+
autoLoad?: boolean;
|
|
18768
|
+
/**
|
|
18769
|
+
* Enables or disables save/load of the grid state.
|
|
18770
|
+
* Default value: true
|
|
18771
|
+
*/
|
|
18772
|
+
enabled?: boolean;
|
|
18773
|
+
/**
|
|
18774
|
+
* Sets or gets the current state.
|
|
18775
|
+
* Default value: ""
|
|
18776
|
+
*/
|
|
18777
|
+
current?: string;
|
|
18778
|
+
/**
|
|
18779
|
+
* Container which is auto-filled with state objects when you call the saveState method or enable the autoSave of states. Each object has a key which is the state's name and value which is a json with the state's properties.
|
|
18780
|
+
* Default value: null
|
|
18781
|
+
*/
|
|
18782
|
+
storage?: any;
|
|
18783
|
+
/**
|
|
18784
|
+
* Function called when the state is changed.
|
|
18785
|
+
* Default value:
|
|
18786
|
+
*/
|
|
18787
|
+
onStateChange?: any;
|
|
18788
|
+
/**
|
|
18789
|
+
* Array with state options such as 'sort', 'filter', 'expandedRows', 'paging', 'selectedCells', 'selectedRows', 'group', 'columns'. This property determines which parts of the state would be saved or loaded.
|
|
18790
|
+
* Default value:
|
|
18791
|
+
*/
|
|
18792
|
+
options?: string[];
|
|
18793
|
+
}
|
|
18794
|
+
|
|
18613
18795
|
/**Describes the selection settings. */
|
|
18614
18796
|
export interface GridSelection {
|
|
18615
18797
|
/**
|
|
@@ -18761,6 +18943,40 @@ export interface GridSorting {
|
|
|
18761
18943
|
sortToggleOnClickAndCommandKey?: boolean;
|
|
18762
18944
|
}
|
|
18763
18945
|
|
|
18946
|
+
/**Sets the grid's image and filter upload settings for the image and attachment columns. */
|
|
18947
|
+
export interface GridUploadSettings {
|
|
18948
|
+
/**
|
|
18949
|
+
* Sets or file/image upload url.
|
|
18950
|
+
* Default value: ""
|
|
18951
|
+
*/
|
|
18952
|
+
url?: string;
|
|
18953
|
+
/**
|
|
18954
|
+
* Sets or file/image remove url.
|
|
18955
|
+
* Default value: ""
|
|
18956
|
+
*/
|
|
18957
|
+
removeUrl?: string;
|
|
18958
|
+
/**
|
|
18959
|
+
* Sets or gets the upload field name. In the backend, you can use this name to access the images data. For example in expressJS, you can use something like that: const images = req['files']['userfile[]'];
|
|
18960
|
+
* Default value: "userfile[]"
|
|
18961
|
+
*/
|
|
18962
|
+
name?: string;
|
|
18963
|
+
/**
|
|
18964
|
+
* Additional data to pass to the server. The format should be a JSON string.
|
|
18965
|
+
* Default value: ""
|
|
18966
|
+
*/
|
|
18967
|
+
data?: string;
|
|
18968
|
+
/**
|
|
18969
|
+
* Function called when the upload is completed. JSON object with 'files', 'status', 'fileURL' and 'serverResponse' are passed as parameters when the function is called by the Grid.
|
|
18970
|
+
* Default value:
|
|
18971
|
+
*/
|
|
18972
|
+
onUploadCompleted?: any;
|
|
18973
|
+
/**
|
|
18974
|
+
* Function called when the upload has failed. JSON object with 'files', 'status' and 'serverResponse' are passed as parameters when the function is called by the Grid.
|
|
18975
|
+
* Default value:
|
|
18976
|
+
*/
|
|
18977
|
+
onUploadError?: any;
|
|
18978
|
+
}
|
|
18979
|
+
|
|
18764
18980
|
declare global {
|
|
18765
18981
|
interface Document {
|
|
18766
18982
|
createElement(tagName: "smart-grid"): Grid;
|
|
@@ -18811,6 +19027,8 @@ export declare type GridFilteringFilterMenuMode = 'default' | 'excel';
|
|
|
18811
19027
|
export declare type GridGroupingExpandMode = 'buttonClick' | 'rowClick';
|
|
18812
19028
|
/**Sets the group render mode. 'basic' mode renders the group headers without taking into account the indent, groupRowHeight and column label properties. 'compact' mode is the same as basic, but also renders the column labels in the group headers. The default mode is 'advanced', which adds indents to groups that depend on the group level. In 'multipleColumns' mode, each group is displayed in its column. */
|
|
18813
19029
|
export declare type GridGroupingRenderMode = 'basic' | 'compact' | 'advanced' | 'multipleColumns';
|
|
19030
|
+
/**Sets the search command type. */
|
|
19031
|
+
export declare type GridHeaderSearchCommand = 'search' | 'filter';
|
|
18814
19032
|
/**Sets the ellipsis display mode. */
|
|
18815
19033
|
export declare type GridPagerAutoEllipsis = 'none' | 'before' | 'after' | 'both';
|
|
18816
19034
|
/**Sets or gets whether the selection allows you to select 'one', 'many' or a variation of 'many' called 'extended'. 'one' allows you to have only single cell or row selected. 'many' */
|
|
@@ -19238,6 +19456,11 @@ export interface KanbanProperties {
|
|
|
19238
19456
|
* Default value: true
|
|
19239
19457
|
*/
|
|
19240
19458
|
allowDrop?: boolean;
|
|
19459
|
+
/**
|
|
19460
|
+
* Allows the dropping of tasks placeholder. When you drag a task over another task it will make an empty space for the task.
|
|
19461
|
+
* Default value: false
|
|
19462
|
+
*/
|
|
19463
|
+
allowDropPlaceholder?: boolean;
|
|
19241
19464
|
/**
|
|
19242
19465
|
* This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog.
|
|
19243
19466
|
* Default value: false
|
|
@@ -19348,6 +19571,11 @@ export interface KanbanProperties {
|
|
|
19348
19571
|
* Default value: false
|
|
19349
19572
|
*/
|
|
19350
19573
|
editable?: boolean;
|
|
19574
|
+
/**
|
|
19575
|
+
* Determines the edit behavior. It could be either singleClick or doubleClick. The dialog edit window is by default opened when user double clicks on a Kanban task.
|
|
19576
|
+
* Default value: doubleClick
|
|
19577
|
+
*/
|
|
19578
|
+
editMode?: KanbanEditMode | string;
|
|
19351
19579
|
/**
|
|
19352
19580
|
* Sets or gets the format string of the "Due date" label and the "Start date" and "Due date" editors.
|
|
19353
19581
|
* Default value: "d"
|
|
@@ -20173,6 +20401,8 @@ export declare type KanbanAddNewButtonDisplayMode = 'top' | 'bottom' | 'both';
|
|
|
20173
20401
|
export declare type KanbanColumnOrientation = 'vertical' | 'horizontal';
|
|
20174
20402
|
/**Determines the column edit behavior. With the 'header' option, edit starts on double click on the column's label. In 'menu' mode, edit is allowed from the 'columnActions' menu. In 'headerAndMenu' option, column editing includes both options. */
|
|
20175
20403
|
export declare type KanbanColumnEditMode = 'header' | 'menu' | 'headerAndMenu';
|
|
20404
|
+
/**Determines the edit behavior. It could be either singleClick or doubleClick. The dialog edit window is by default opened when user double clicks on a Kanban task. */
|
|
20405
|
+
export declare type KanbanEditMode = 'doubleClick' | 'singleClick';
|
|
20176
20406
|
/**Sets or gets the header position. The header contains the Customize, Filter, Sort, and Search buttons. */
|
|
20177
20407
|
export declare type KanbanHeaderPosition = 'none' | 'top' | 'bottom';
|
|
20178
20408
|
/**Sets or gets the way column hierarchy is represented. */
|
|
@@ -20965,6 +21195,11 @@ export interface ListBox extends BaseElement, ListBoxProperties {
|
|
|
20965
21195
|
* @returns {Node}
|
|
20966
21196
|
*/
|
|
20967
21197
|
appendChild<T extends Node>(node: Node): T;
|
|
21198
|
+
/**
|
|
21199
|
+
* Adds a new item(s).
|
|
21200
|
+
* @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
|
|
21201
|
+
*/
|
|
21202
|
+
add(item: any): void;
|
|
20968
21203
|
/**
|
|
20969
21204
|
* Removes all items from the listBox.
|
|
20970
21205
|
*/
|
|
@@ -20973,6 +21208,10 @@ export interface ListBox extends BaseElement, ListBoxProperties {
|
|
|
20973
21208
|
* Unselects all items.
|
|
20974
21209
|
*/
|
|
20975
21210
|
clearSelection(): void;
|
|
21211
|
+
/**
|
|
21212
|
+
* Performs a data bind. This can be used to refresh the data source.
|
|
21213
|
+
*/
|
|
21214
|
+
dataBind(): void;
|
|
20976
21215
|
/**
|
|
20977
21216
|
* Ensures the target item is visible by scrolling to it.
|
|
20978
21217
|
* @param {HTMLElement | string} item. A list item or value of the desired item to be visible.
|
|
@@ -25966,274 +26205,696 @@ export interface RadioButtonProperties {
|
|
|
25966
26205
|
* If the custom element is readonly, it cannot be interacted with.
|
|
25967
26206
|
* Default value: false
|
|
25968
26207
|
*/
|
|
25969
|
-
readonly?: boolean;
|
|
26208
|
+
readonly?: boolean;
|
|
26209
|
+
/**
|
|
26210
|
+
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
26211
|
+
* Default value: false
|
|
26212
|
+
*/
|
|
26213
|
+
rightToLeft?: boolean;
|
|
26214
|
+
/**
|
|
26215
|
+
* Determines the theme. Theme defines the look of the element
|
|
26216
|
+
* Default value: ""
|
|
26217
|
+
*/
|
|
26218
|
+
theme?: string;
|
|
26219
|
+
/**
|
|
26220
|
+
* If is set to true, the element cannot be focused.
|
|
26221
|
+
* Default value: false
|
|
26222
|
+
*/
|
|
26223
|
+
unfocusable?: boolean;
|
|
26224
|
+
/**
|
|
26225
|
+
* Sets or gets the widget's value.
|
|
26226
|
+
* Default value: """"
|
|
26227
|
+
*/
|
|
26228
|
+
value?: string;
|
|
26229
|
+
}
|
|
26230
|
+
/**
|
|
26231
|
+
The Radio Button component lets you add a radio button and assign it to a radio group. Users can select only one radio button at a time within a radio group
|
|
26232
|
+
*/
|
|
26233
|
+
export interface RadioButton extends BaseElement, RadioButtonProperties {
|
|
26234
|
+
|
|
26235
|
+
/* Get a member by its name */
|
|
26236
|
+
[name: string]: any;
|
|
26237
|
+
/**
|
|
26238
|
+
* This event is triggered when the widget is checked/unchecked.
|
|
26239
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, oldValue, changeType)
|
|
26240
|
+
* value - A boolean value indicating the new state of the button ( checked or not ).
|
|
26241
|
+
* oldValue - A boolean value indicating the previous state of the button ( checked or not ).
|
|
26242
|
+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
|
|
26243
|
+
*/
|
|
26244
|
+
onChange: ((this: any, ev: Event) => any) | null;
|
|
26245
|
+
/**
|
|
26246
|
+
* This event is triggered when the widget is checked.
|
|
26247
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(changeType)
|
|
26248
|
+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
|
|
26249
|
+
*/
|
|
26250
|
+
onCheckValue?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26251
|
+
/**
|
|
26252
|
+
* This event is triggered when the widget is unchecked.
|
|
26253
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(changeType)
|
|
26254
|
+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
|
|
26255
|
+
*/
|
|
26256
|
+
onUncheckValue?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26257
|
+
}
|
|
26258
|
+
|
|
26259
|
+
declare global {
|
|
26260
|
+
interface Document {
|
|
26261
|
+
createElement(tagName: "smart-radio-button"): RadioButton;
|
|
26262
|
+
querySelector(selectors: "smart-radio-button"): RadioButton | null;
|
|
26263
|
+
querySelectorAll(selectors: "smart-radio-button"): NodeListOf<RadioButton>;
|
|
26264
|
+
getElementsByTagName(qualifiedName: "smart-radio-button"): HTMLCollectionOf<RadioButton>;
|
|
26265
|
+
getElementsByName(elementName: "smart-radio-button"): NodeListOf<RadioButton>;
|
|
26266
|
+
}
|
|
26267
|
+
}
|
|
26268
|
+
|
|
26269
|
+
export interface RatingProperties {
|
|
26270
|
+
/**
|
|
26271
|
+
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
26272
|
+
* Default value: advanced
|
|
26273
|
+
*/
|
|
26274
|
+
animation?: Animation | string;
|
|
26275
|
+
/**
|
|
26276
|
+
* Disables the interaction with the element.
|
|
26277
|
+
* Default value: false
|
|
26278
|
+
*/
|
|
26279
|
+
disabled?: boolean;
|
|
26280
|
+
/**
|
|
26281
|
+
* Sets or gets the language. Used in conjunction with the property messages.
|
|
26282
|
+
* Default value: "en"
|
|
26283
|
+
*/
|
|
26284
|
+
locale?: string;
|
|
26285
|
+
/**
|
|
26286
|
+
* Callback used to customize the format of the messages that are returned from the Localization Module.
|
|
26287
|
+
* Default value: null
|
|
26288
|
+
*/
|
|
26289
|
+
localizeFormatFunction?: any;
|
|
26290
|
+
/**
|
|
26291
|
+
* Determines the number of stars that will be displayed.
|
|
26292
|
+
* Default value:
|
|
26293
|
+
*/
|
|
26294
|
+
max?: number;
|
|
26295
|
+
/**
|
|
26296
|
+
* Sets or gets an object specifying strings used in the element that can be localized. Used in conjunction with the property locale.
|
|
26297
|
+
* Default value: * {
|
|
26298
|
+
* "en": {
|
|
26299
|
+
* "propertyUnknownType": "'' property is with undefined 'type' member!",
|
|
26300
|
+
* "propertyInvalidValue": "Invalid '!",
|
|
26301
|
+
* "propertyInvalidValueType": "Invalid '!",
|
|
26302
|
+
* "elementNotInDOM": "Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.",
|
|
26303
|
+
* "moduleUndefined": "Module is undefined.",
|
|
26304
|
+
* "missingReference": ".",
|
|
26305
|
+
* "htmlTemplateNotSuported": ": Browser doesn't support HTMLTemplate elements.",
|
|
26306
|
+
* "invalidTemplate": "' property accepts a string that must match the id of an HTMLTemplate element from the DOM."
|
|
26307
|
+
* }
|
|
26308
|
+
* }
|
|
26309
|
+
*/
|
|
26310
|
+
messages?: any;
|
|
26311
|
+
/**
|
|
26312
|
+
* The name of the element. Used when submiting data inside a Form.
|
|
26313
|
+
* Default value: ""
|
|
26314
|
+
*/
|
|
26315
|
+
name?: string;
|
|
26316
|
+
/**
|
|
26317
|
+
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
26318
|
+
* Default value: false
|
|
26319
|
+
*/
|
|
26320
|
+
rightToLeft?: boolean;
|
|
26321
|
+
/**
|
|
26322
|
+
* Determines the theme. Theme defines the look of the element
|
|
26323
|
+
* Default value: ""
|
|
26324
|
+
*/
|
|
26325
|
+
theme?: string;
|
|
26326
|
+
/**
|
|
26327
|
+
* If is set to true, the element cannot be focused.
|
|
26328
|
+
* Default value: false
|
|
26329
|
+
*/
|
|
26330
|
+
unfocusable?: boolean;
|
|
26331
|
+
/**
|
|
26332
|
+
* Determines the number of stars that will be marked as active.
|
|
26333
|
+
* Default value:
|
|
26334
|
+
*/
|
|
26335
|
+
value?: number;
|
|
26336
|
+
}
|
|
26337
|
+
/**
|
|
26338
|
+
Rating allows you to input a rating. It is broadly used in applications with reviews.
|
|
26339
|
+
*/
|
|
26340
|
+
export interface Rating extends BaseElement, RatingProperties {
|
|
26341
|
+
|
|
26342
|
+
/* Get a member by its name */
|
|
26343
|
+
[name: string]: any;
|
|
26344
|
+
/**
|
|
26345
|
+
* This event is triggered when the value of the slider is changed.
|
|
26346
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, oldValue)
|
|
26347
|
+
* value - A numeric value indicating the scroll position.
|
|
26348
|
+
* oldValue - A numeric value indicating the previous scroll position.
|
|
26349
|
+
*/
|
|
26350
|
+
onChange: ((this: any, ev: Event) => any) | null;
|
|
26351
|
+
/**
|
|
26352
|
+
* Get the value of the rating.
|
|
26353
|
+
* @returns {number}
|
|
26354
|
+
*/
|
|
26355
|
+
getValue(): number;
|
|
26356
|
+
/**
|
|
26357
|
+
* Sets the value of the rating.
|
|
26358
|
+
* @param {number} value. Sets the value of the rating
|
|
26359
|
+
*/
|
|
26360
|
+
setValue(value: number): void;
|
|
26361
|
+
}
|
|
26362
|
+
|
|
26363
|
+
declare global {
|
|
26364
|
+
interface Document {
|
|
26365
|
+
createElement(tagName: "smart-rating"): Rating;
|
|
26366
|
+
querySelector(selectors: "smart-rating"): Rating | null;
|
|
26367
|
+
querySelectorAll(selectors: "smart-rating"): NodeListOf<Rating>;
|
|
26368
|
+
getElementsByTagName(qualifiedName: "smart-rating"): HTMLCollectionOf<Rating>;
|
|
26369
|
+
getElementsByName(elementName: "smart-rating"): NodeListOf<Rating>;
|
|
26370
|
+
}
|
|
26371
|
+
}
|
|
26372
|
+
|
|
26373
|
+
export interface RepeatButtonProperties {
|
|
26374
|
+
/**
|
|
26375
|
+
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
26376
|
+
* Default value: advanced
|
|
26377
|
+
*/
|
|
26378
|
+
animation?: Animation | string;
|
|
26379
|
+
/**
|
|
26380
|
+
* Sets the click mode of the button.
|
|
26381
|
+
* Default value: release
|
|
26382
|
+
*/
|
|
26383
|
+
clickMode?: ClickMode | string;
|
|
26384
|
+
/**
|
|
26385
|
+
* Sets the delay between repeats in miliseconds.
|
|
26386
|
+
* Default value: 50
|
|
26387
|
+
*/
|
|
26388
|
+
delay?: number;
|
|
26389
|
+
/**
|
|
26390
|
+
* Enables or disables the ratio button.
|
|
26391
|
+
* Default value: false
|
|
26392
|
+
*/
|
|
26393
|
+
disabled?: boolean;
|
|
26394
|
+
/**
|
|
26395
|
+
* Sets a delay before the first repeat iteration in miliseconds.
|
|
26396
|
+
* Default value: 150
|
|
26397
|
+
*/
|
|
26398
|
+
initialDelay?: number;
|
|
26399
|
+
/**
|
|
26400
|
+
* Sets the inner HTML of the element.
|
|
26401
|
+
* Default value: """"
|
|
26402
|
+
*/
|
|
26403
|
+
innerHTML: string;
|
|
26404
|
+
/**
|
|
26405
|
+
* Sets or gets the language. Used in conjunction with the property messages.
|
|
26406
|
+
* Default value: "en"
|
|
26407
|
+
*/
|
|
26408
|
+
locale?: string;
|
|
26409
|
+
/**
|
|
26410
|
+
* Callback, related to localization module.
|
|
26411
|
+
* Default value: null
|
|
26412
|
+
*/
|
|
26413
|
+
localizeFormatFunction?: any;
|
|
26414
|
+
/**
|
|
26415
|
+
* Sets an object with string values, related to the different states of passwords strength.
|
|
26416
|
+
* Default value: * {
|
|
26417
|
+
* "en": {
|
|
26418
|
+
* "propertyUnknownType": "'' property is with undefined 'type' member!",
|
|
26419
|
+
* "propertyInvalidValue": "Invalid '!",
|
|
26420
|
+
* "propertyInvalidValueType": "Invalid '!",
|
|
26421
|
+
* "elementNotInDOM": "Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.",
|
|
26422
|
+
* "moduleUndefined": "Module is undefined.",
|
|
26423
|
+
* "missingReference": ".",
|
|
26424
|
+
* "htmlTemplateNotSuported": ": Browser doesn't support HTMLTemplate elements.",
|
|
26425
|
+
* "invalidTemplate": "' property accepts a string that must match the id of an HTMLTemplate element from the DOM."
|
|
26426
|
+
* }
|
|
26427
|
+
* }
|
|
26428
|
+
*/
|
|
26429
|
+
messages?: any;
|
|
26430
|
+
/**
|
|
26431
|
+
* Sets or gets the widget's name.
|
|
26432
|
+
* Default value: """"
|
|
26433
|
+
*/
|
|
26434
|
+
name?: string;
|
|
26435
|
+
/**
|
|
26436
|
+
* If the custom element is readonly, it cannot be interacted with.
|
|
26437
|
+
* Default value: false
|
|
26438
|
+
*/
|
|
26439
|
+
readonly?: boolean;
|
|
26440
|
+
/**
|
|
26441
|
+
* Determines the theme. Theme defines the look of the element
|
|
26442
|
+
* Default value: ""
|
|
26443
|
+
*/
|
|
26444
|
+
theme?: string;
|
|
26445
|
+
/**
|
|
26446
|
+
* If is set to true, the element cannot be focused.
|
|
26447
|
+
* Default value: false
|
|
26448
|
+
*/
|
|
26449
|
+
unfocusable?: boolean;
|
|
26450
|
+
/**
|
|
26451
|
+
* Sets or gets the widget's value.
|
|
26452
|
+
* Default value: """"
|
|
26453
|
+
*/
|
|
26454
|
+
value?: string;
|
|
26455
|
+
}
|
|
26456
|
+
/**
|
|
26457
|
+
RepatButton provides press-and-hold functionality and it is an ideal UI component for allowing end-users to control an increasing or decreasing value.
|
|
26458
|
+
*/
|
|
26459
|
+
export interface RepeatButton extends BaseElement, RepeatButtonProperties {
|
|
26460
|
+
|
|
26461
|
+
/* Get a member by its name */
|
|
26462
|
+
[name: string]: any;
|
|
26463
|
+
/**
|
|
26464
|
+
* This event is triggered when the element is clicked.
|
|
26465
|
+
* @param event. The custom event. */
|
|
26466
|
+
onClick: ((this: any, ev: Event) => any) | null;
|
|
26467
|
+
}
|
|
26468
|
+
|
|
26469
|
+
declare global {
|
|
26470
|
+
interface Document {
|
|
26471
|
+
createElement(tagName: "smart-repeat-button"): RepeatButton;
|
|
26472
|
+
querySelector(selectors: "smart-repeat-button"): RepeatButton | null;
|
|
26473
|
+
querySelectorAll(selectors: "smart-repeat-button"): NodeListOf<RepeatButton>;
|
|
26474
|
+
getElementsByTagName(qualifiedName: "smart-repeat-button"): HTMLCollectionOf<RepeatButton>;
|
|
26475
|
+
getElementsByName(elementName: "smart-repeat-button"): NodeListOf<RepeatButton>;
|
|
26476
|
+
}
|
|
26477
|
+
}
|
|
26478
|
+
|
|
26479
|
+
export interface RibbonProperties {
|
|
26480
|
+
/**
|
|
26481
|
+
* Determines whether the ribbon is collapsible.
|
|
26482
|
+
* Default value: false
|
|
26483
|
+
*/
|
|
26484
|
+
collapsible?: any;
|
|
26485
|
+
/**
|
|
26486
|
+
* Determines the tab items of the ribbon.
|
|
26487
|
+
* Default value:
|
|
26488
|
+
*/
|
|
26489
|
+
dataSource?: any;
|
|
26490
|
+
/**
|
|
26491
|
+
* Sets or gets the value indicating whether the element is disabled.
|
|
26492
|
+
* Default value: false
|
|
26493
|
+
*/
|
|
26494
|
+
disabled?: boolean;
|
|
26495
|
+
/**
|
|
26496
|
+
* Determines the file menu options of the ribbon.
|
|
26497
|
+
* Default value: undefined
|
|
26498
|
+
*/
|
|
26499
|
+
fileMenu?: RibbonFileMenu;
|
|
26500
|
+
/**
|
|
26501
|
+
* Determines the locale of the ribbon.
|
|
26502
|
+
* Default value: "en"
|
|
26503
|
+
*/
|
|
26504
|
+
locale?: string;
|
|
26505
|
+
/**
|
|
26506
|
+
* Determines the messages of the ribbon
|
|
26507
|
+
* Default value: * [object Object]
|
|
26508
|
+
*/
|
|
26509
|
+
messages?: any;
|
|
26510
|
+
/**
|
|
26511
|
+
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
26512
|
+
* Default value: false
|
|
26513
|
+
*/
|
|
26514
|
+
rightToLeft?: boolean;
|
|
26515
|
+
/**
|
|
26516
|
+
* Determines the selected tab.
|
|
26517
|
+
* Default value: 0
|
|
26518
|
+
*/
|
|
26519
|
+
selectedTab?: any;
|
|
26520
|
+
}
|
|
26521
|
+
/**
|
|
26522
|
+
Ribbon is a navigation control that allows you to organize your application's commands in a tabbed interface.
|
|
26523
|
+
*/
|
|
26524
|
+
export interface Ribbon extends BaseElement, RibbonProperties {
|
|
26525
|
+
|
|
26526
|
+
/* Get a member by its name */
|
|
26527
|
+
[name: string]: any;
|
|
26528
|
+
/**
|
|
26529
|
+
* This event is triggered when the ribbon is collapsed.
|
|
26530
|
+
* @param event. The custom event. */
|
|
26531
|
+
onCollapse?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26532
|
+
/**
|
|
26533
|
+
* This event is triggered when the ribbon is collapsing. The event can be canceled by calling event.preventDefault() in the event handler function.
|
|
26534
|
+
* @param event. The custom event. */
|
|
26535
|
+
onCollapsing?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26536
|
+
/**
|
|
26537
|
+
* This event is triggered when the dialog launcher is clicked.
|
|
26538
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(groupLabel, groupId)
|
|
26539
|
+
* groupLabel - The label of the dialog launcher's ribbon group.
|
|
26540
|
+
* groupId - The id of the dialog launcher's ribbon group.
|
|
26541
|
+
*/
|
|
26542
|
+
onDialogLauncherClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26543
|
+
/**
|
|
26544
|
+
* This event is triggered when the ribbon is expanded.
|
|
26545
|
+
* @param event. The custom event. */
|
|
26546
|
+
onExpand?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26547
|
+
/**
|
|
26548
|
+
* This event is triggered when the ribbon is expanding. The event can be canceled by calling event.preventDefault() in the event handler function.
|
|
26549
|
+
* @param event. The custom event. */
|
|
26550
|
+
onExpanding?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26551
|
+
/**
|
|
26552
|
+
* This event is triggered when the file menu button is clicked.
|
|
26553
|
+
* @param event. The custom event. */
|
|
26554
|
+
onFileButtonClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26555
|
+
/**
|
|
26556
|
+
* This event is triggered when the file menu is opened.
|
|
26557
|
+
* @param event. The custom event. */
|
|
26558
|
+
onFileMenuOpen?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26559
|
+
/**
|
|
26560
|
+
* This event is triggered when the file menu is closed.
|
|
26561
|
+
* @param event. The custom event. */
|
|
26562
|
+
onFileMenuClose?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26563
|
+
/**
|
|
26564
|
+
* This event is triggered when a file menu item is clicked.
|
|
26565
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(item)
|
|
26566
|
+
* item - The file menu item.
|
|
26567
|
+
*/
|
|
26568
|
+
onFileMenuItemClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26569
|
+
/**
|
|
26570
|
+
* This event is triggered when the tab selection is changed.
|
|
26571
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(oldIndex, index)
|
|
26572
|
+
* oldIndex - The previous tab index.
|
|
26573
|
+
* index - The new index of the selected tab.
|
|
26574
|
+
*/
|
|
26575
|
+
onSelect?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26576
|
+
/**
|
|
26577
|
+
* This event is triggered when the tab selection is changing. The event can be canceled by calling event.preventDefault() in the event handler function.
|
|
26578
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(oldIndex, index)
|
|
26579
|
+
* oldIndex - The previous tab index.
|
|
26580
|
+
* index - The new index of the selected tab.
|
|
26581
|
+
*/
|
|
26582
|
+
onSelecting?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
26583
|
+
/**
|
|
26584
|
+
* Adds a new ribbon tab to the ribbon. The tab can be added as an object, HTMLElement or id to an HTMLElement.
|
|
26585
|
+
* @param {any} tab. The ribbon tab to be added.
|
|
26586
|
+
*/
|
|
26587
|
+
addTab(tab: any): void;
|
|
26588
|
+
/**
|
|
26589
|
+
* Adds a new group to a ribbon tab. The group can be added as an object, HTMLElement or id to an HTMLElement.
|
|
26590
|
+
* @param {any} tab. The id, index or HTMLElement of the parent ribbon tab.
|
|
26591
|
+
* @param {any} group. The ribbon group to be added.
|
|
26592
|
+
*/
|
|
26593
|
+
addGroup(tab: any, group: any): void;
|
|
26594
|
+
/**
|
|
26595
|
+
* Adds a new ribbon item to a ribbon group. The item can be added as an object, HTMLElement or id to an HTMLElement.
|
|
26596
|
+
* @param {string | number | HTMLElement} tab. The id, index or HTMLElement of the parent ribbon tab.
|
|
26597
|
+
* @param {string | HTMLElement} group. The id or HTMLElement of the parent ribbon group.
|
|
26598
|
+
* @param {any} item. The ribbon item to be added.
|
|
26599
|
+
*/
|
|
26600
|
+
addItem(tab: string | number | HTMLElement, group: string | HTMLElement, item: any): void;
|
|
26601
|
+
/**
|
|
26602
|
+
* Collapses the ribbon.
|
|
26603
|
+
*/
|
|
26604
|
+
collapse(): void;
|
|
26605
|
+
/**
|
|
26606
|
+
* Expands the ribbon.
|
|
26607
|
+
*/
|
|
26608
|
+
expand(): void;
|
|
26609
|
+
/**
|
|
26610
|
+
* Removes a ribbon tab from the ribbon.
|
|
26611
|
+
* @param {string | number} ribbonTab. The id or index of the ribbon tab to be removed.
|
|
26612
|
+
*/
|
|
26613
|
+
removeTab(ribbonTab: string | number): void;
|
|
26614
|
+
/**
|
|
26615
|
+
* Removes a ribbon group from a ribbon tab.
|
|
26616
|
+
* @param {string | number} ribbonTabIndex?. The id or index of the parent ribbon tab.
|
|
26617
|
+
* @param {string | number} ribbonGroup?. The id or index of the ribbon group to be removed.
|
|
26618
|
+
*/
|
|
26619
|
+
removeGroup(ribbonTabIndex?: string | number, ribbonGroup?: string | number): void;
|
|
26620
|
+
/**
|
|
26621
|
+
* Removes a ribbon item from a ribbon group.
|
|
26622
|
+
* @param {string | number} ribbonTabIndex?. The id or index of the parent ribbon tab.
|
|
26623
|
+
* @param {string | number} ribbonGroup?. The id or index of the parent ribbon group.
|
|
26624
|
+
* @param {string | number} ribbonItem?. The id or index of the ribbon item to be removed.
|
|
26625
|
+
*/
|
|
26626
|
+
removeItem(ribbonTabIndex?: string | number, ribbonGroup?: string | number, ribbonItem?: string | number): void;
|
|
26627
|
+
/**
|
|
26628
|
+
* Selects a ribbon tab.
|
|
26629
|
+
* @param {string | number} ribbonTabIndex. The index of the ribbon tab to be selected.
|
|
26630
|
+
*/
|
|
26631
|
+
selectTab(ribbonTabIndex: string | number): void;
|
|
26632
|
+
}
|
|
26633
|
+
|
|
26634
|
+
/**Determines the file menu options of the ribbon. */
|
|
26635
|
+
export interface RibbonFileMenu {
|
|
26636
|
+
/**
|
|
26637
|
+
* Determines whether the file button is enabled.
|
|
26638
|
+
* Default value: true
|
|
26639
|
+
*/
|
|
26640
|
+
enabled?: boolean;
|
|
25970
26641
|
/**
|
|
25971
|
-
*
|
|
25972
|
-
* Default value:
|
|
26642
|
+
* Determines the data source that will be loaded to the FileMenu.
|
|
26643
|
+
* Default value:
|
|
25973
26644
|
*/
|
|
25974
|
-
|
|
26645
|
+
items?: any;
|
|
25975
26646
|
/**
|
|
25976
|
-
* Determines the
|
|
25977
|
-
* Default value:
|
|
26647
|
+
* Determines the position of the file menu.
|
|
26648
|
+
* Default value: left
|
|
25978
26649
|
*/
|
|
25979
|
-
|
|
26650
|
+
position?: RibbonFileMenuPosition | string;
|
|
25980
26651
|
/**
|
|
25981
|
-
*
|
|
25982
|
-
* Default value:
|
|
26652
|
+
* Determines the label of the file menu.
|
|
26653
|
+
* Default value: "File"
|
|
25983
26654
|
*/
|
|
25984
|
-
|
|
26655
|
+
label?: string;
|
|
25985
26656
|
/**
|
|
25986
|
-
*
|
|
25987
|
-
* Default value: ""
|
|
26657
|
+
* Determines the tooltip of the file menu.
|
|
26658
|
+
* Default value: ""
|
|
25988
26659
|
*/
|
|
25989
|
-
|
|
25990
|
-
}
|
|
25991
|
-
/**
|
|
25992
|
-
The Radio Button component lets you add a radio button and assign it to a radio group. Users can select only one radio button at a time within a radio group
|
|
25993
|
-
*/
|
|
25994
|
-
export interface RadioButton extends BaseElement, RadioButtonProperties {
|
|
25995
|
-
|
|
25996
|
-
/* Get a member by its name */
|
|
25997
|
-
[name: string]: any;
|
|
26660
|
+
tooltip?: string;
|
|
25998
26661
|
/**
|
|
25999
|
-
*
|
|
26000
|
-
|
|
26001
|
-
* value - A boolean value indicating the new state of the button ( checked or not ).
|
|
26002
|
-
* oldValue - A boolean value indicating the previous state of the button ( checked or not ).
|
|
26003
|
-
* changeType - A string flag indicating whether the change event was triggered via API or an event.
|
|
26662
|
+
* Determines the template of the file menu. Accepts HTMLTemplateElement, an id of an HTMLTemplateElement or a Function.
|
|
26663
|
+
* Default value: ""
|
|
26004
26664
|
*/
|
|
26005
|
-
|
|
26665
|
+
template?: string;
|
|
26006
26666
|
/**
|
|
26007
|
-
*
|
|
26008
|
-
|
|
26009
|
-
* changeType - A string flag indicating whether the change event was triggered via API or an event.
|
|
26667
|
+
* Determines the type of the file menu.
|
|
26668
|
+
* Default value: dropDown
|
|
26010
26669
|
*/
|
|
26011
|
-
|
|
26670
|
+
type?: RibbonFileMenuType | string;
|
|
26012
26671
|
/**
|
|
26013
|
-
*
|
|
26014
|
-
|
|
26015
|
-
* changeType - A string flag indicating whether the change event was triggered via API or an event.
|
|
26672
|
+
* Determines the icon of the file menu.
|
|
26673
|
+
* Default value: ""
|
|
26016
26674
|
*/
|
|
26017
|
-
|
|
26675
|
+
icon?: string;
|
|
26018
26676
|
}
|
|
26019
26677
|
|
|
26020
26678
|
declare global {
|
|
26021
26679
|
interface Document {
|
|
26022
|
-
createElement(tagName: "smart-
|
|
26023
|
-
querySelector(selectors: "smart-
|
|
26024
|
-
querySelectorAll(selectors: "smart-
|
|
26025
|
-
getElementsByTagName(qualifiedName: "smart-
|
|
26026
|
-
getElementsByName(elementName: "smart-
|
|
26680
|
+
createElement(tagName: "smart-ribbon"): Ribbon;
|
|
26681
|
+
querySelector(selectors: "smart-ribbon"): Ribbon | null;
|
|
26682
|
+
querySelectorAll(selectors: "smart-ribbon"): NodeListOf<Ribbon>;
|
|
26683
|
+
getElementsByTagName(qualifiedName: "smart-ribbon"): HTMLCollectionOf<Ribbon>;
|
|
26684
|
+
getElementsByName(elementName: "smart-ribbon"): NodeListOf<Ribbon>;
|
|
26027
26685
|
}
|
|
26028
26686
|
}
|
|
26029
26687
|
|
|
26030
|
-
|
|
26031
|
-
|
|
26032
|
-
|
|
26033
|
-
|
|
26034
|
-
|
|
26035
|
-
animation?: Animation | string;
|
|
26036
|
-
/**
|
|
26037
|
-
* Disables the interaction with the element.
|
|
26038
|
-
* Default value: false
|
|
26039
|
-
*/
|
|
26040
|
-
disabled?: boolean;
|
|
26041
|
-
/**
|
|
26042
|
-
* Sets or gets the language. Used in conjunction with the property messages.
|
|
26043
|
-
* Default value: "en"
|
|
26044
|
-
*/
|
|
26045
|
-
locale?: string;
|
|
26046
|
-
/**
|
|
26047
|
-
* Callback used to customize the format of the messages that are returned from the Localization Module.
|
|
26048
|
-
* Default value: null
|
|
26049
|
-
*/
|
|
26050
|
-
localizeFormatFunction?: any;
|
|
26688
|
+
/**Determines the position of the file menu. */
|
|
26689
|
+
export declare type RibbonFileMenuPosition = 'left' | 'right';
|
|
26690
|
+
/**Determines the type of the file menu. */
|
|
26691
|
+
export declare type RibbonFileMenuType = 'dropDown' | 'button';
|
|
26692
|
+
export interface RibbonGroupProperties {
|
|
26051
26693
|
/**
|
|
26052
|
-
* Determines the
|
|
26053
|
-
* Default value:
|
|
26694
|
+
* Determines the label of the ribbon group.
|
|
26695
|
+
* Default value: ""
|
|
26054
26696
|
*/
|
|
26055
|
-
|
|
26697
|
+
label?: string;
|
|
26056
26698
|
/**
|
|
26057
|
-
*
|
|
26058
|
-
* Default value:
|
|
26059
|
-
* "en": {
|
|
26060
|
-
* "propertyUnknownType": "'' property is with undefined 'type' member!",
|
|
26061
|
-
* "propertyInvalidValue": "Invalid '!",
|
|
26062
|
-
* "propertyInvalidValueType": "Invalid '!",
|
|
26063
|
-
* "elementNotInDOM": "Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.",
|
|
26064
|
-
* "moduleUndefined": "Module is undefined.",
|
|
26065
|
-
* "missingReference": ".",
|
|
26066
|
-
* "htmlTemplateNotSuported": ": Browser doesn't support HTMLTemplate elements.",
|
|
26067
|
-
* "invalidTemplate": "' property accepts a string that must match the id of an HTMLTemplate element from the DOM."
|
|
26068
|
-
* }
|
|
26069
|
-
* }
|
|
26699
|
+
* Determines the icon of the ribbon group.
|
|
26700
|
+
* Default value: ""
|
|
26070
26701
|
*/
|
|
26071
|
-
|
|
26702
|
+
icon?: string;
|
|
26072
26703
|
/**
|
|
26073
|
-
*
|
|
26704
|
+
* Determines the class of the ribbon group.
|
|
26074
26705
|
* Default value: ""
|
|
26075
26706
|
*/
|
|
26076
|
-
|
|
26707
|
+
cssClass?: string;
|
|
26077
26708
|
/**
|
|
26078
|
-
*
|
|
26079
|
-
* Default value:
|
|
26709
|
+
* Determines the ribbon items of the ribbon group.
|
|
26710
|
+
* Default value:
|
|
26080
26711
|
*/
|
|
26081
|
-
|
|
26712
|
+
ribbonItems?: any;
|
|
26082
26713
|
/**
|
|
26083
|
-
* Determines the
|
|
26084
|
-
* Default value:
|
|
26714
|
+
* Determines the direction of the ribbon group.
|
|
26715
|
+
* Default value: horizontal
|
|
26085
26716
|
*/
|
|
26086
|
-
|
|
26717
|
+
direction?: RibbonGroupDirection | string;
|
|
26087
26718
|
/**
|
|
26088
|
-
*
|
|
26089
|
-
* Default value:
|
|
26719
|
+
* Determines the settings of the dialog launcher of the ribbon group.
|
|
26720
|
+
* Default value: [object Object]
|
|
26090
26721
|
*/
|
|
26091
|
-
|
|
26722
|
+
dialogLauncher?: RibbonGroupDialogLauncher;
|
|
26092
26723
|
/**
|
|
26093
|
-
* Determines the
|
|
26094
|
-
* Default value:
|
|
26724
|
+
* Determines the size, below which the ribbon group will be wrapped.
|
|
26725
|
+
* Default value: undefined
|
|
26095
26726
|
*/
|
|
26096
|
-
|
|
26727
|
+
wrapSize?: RibbonGroupWrapSize | string;
|
|
26097
26728
|
}
|
|
26098
26729
|
/**
|
|
26099
|
-
|
|
26730
|
+
Defines a ribbon group.
|
|
26100
26731
|
*/
|
|
26101
|
-
export interface
|
|
26732
|
+
export interface RibbonGroup extends BaseElement, RibbonGroupProperties {
|
|
26102
26733
|
|
|
26103
26734
|
/* Get a member by its name */
|
|
26104
26735
|
[name: string]: any;
|
|
26736
|
+
}
|
|
26737
|
+
|
|
26738
|
+
/**Determines the settings of the dialog launcher of the ribbon group. */
|
|
26739
|
+
export interface RibbonGroupDialogLauncher {
|
|
26105
26740
|
/**
|
|
26106
|
-
*
|
|
26107
|
-
|
|
26108
|
-
* value - A numeric value indicating the scroll position.
|
|
26109
|
-
* oldValue - A numeric value indicating the previous scroll position.
|
|
26110
|
-
*/
|
|
26111
|
-
onChange: ((this: any, ev: Event) => any) | null;
|
|
26112
|
-
/**
|
|
26113
|
-
* Get the value of the rating.
|
|
26114
|
-
* @returns {number}
|
|
26741
|
+
* Determines whether the dialog launcher is enabled.
|
|
26742
|
+
* Default value: false
|
|
26115
26743
|
*/
|
|
26116
|
-
|
|
26744
|
+
enabled?: boolean;
|
|
26117
26745
|
/**
|
|
26118
|
-
*
|
|
26119
|
-
*
|
|
26746
|
+
* Determines the tooltip of the dialog launcher.
|
|
26747
|
+
* Default value: ""
|
|
26120
26748
|
*/
|
|
26121
|
-
|
|
26749
|
+
tooltip?: string;
|
|
26122
26750
|
}
|
|
26123
26751
|
|
|
26124
26752
|
declare global {
|
|
26125
26753
|
interface Document {
|
|
26126
|
-
createElement(tagName: "smart-
|
|
26127
|
-
querySelector(selectors: "smart-
|
|
26128
|
-
querySelectorAll(selectors: "smart-
|
|
26129
|
-
getElementsByTagName(qualifiedName: "smart-
|
|
26130
|
-
getElementsByName(elementName: "smart-
|
|
26754
|
+
createElement(tagName: "smart-ribbon-group"): RibbonGroup;
|
|
26755
|
+
querySelector(selectors: "smart-ribbon-group"): RibbonGroup | null;
|
|
26756
|
+
querySelectorAll(selectors: "smart-ribbon-group"): NodeListOf<RibbonGroup>;
|
|
26757
|
+
getElementsByTagName(qualifiedName: "smart-ribbon-group"): HTMLCollectionOf<RibbonGroup>;
|
|
26758
|
+
getElementsByName(elementName: "smart-ribbon-group"): NodeListOf<RibbonGroup>;
|
|
26131
26759
|
}
|
|
26132
26760
|
}
|
|
26133
26761
|
|
|
26134
|
-
|
|
26762
|
+
/**Determines the direction of the ribbon group. */
|
|
26763
|
+
export declare type RibbonGroupDirection = 'horizontal' | 'vertical';
|
|
26764
|
+
/**Determines the size, below which the ribbon group will be wrapped. */
|
|
26765
|
+
export declare type RibbonGroupWrapSize = 'iconOnly' | 'verySmall' | 'small' | 'normal' | 'large' | 'none';
|
|
26766
|
+
export interface RibbonItemProperties {
|
|
26135
26767
|
/**
|
|
26136
|
-
*
|
|
26137
|
-
* Default value:
|
|
26768
|
+
* Determines whether the ribbon item is disabled.
|
|
26769
|
+
* Default value: false
|
|
26138
26770
|
*/
|
|
26139
|
-
|
|
26771
|
+
disabled?: boolean;
|
|
26140
26772
|
/**
|
|
26141
|
-
*
|
|
26142
|
-
* Default value:
|
|
26773
|
+
* Determines the label of the ribbon item.
|
|
26774
|
+
* Default value: ""
|
|
26143
26775
|
*/
|
|
26144
|
-
|
|
26776
|
+
label?: string;
|
|
26145
26777
|
/**
|
|
26146
|
-
*
|
|
26147
|
-
* Default value:
|
|
26778
|
+
* Determines the type of the ribbon item.
|
|
26779
|
+
* Default value: button
|
|
26148
26780
|
*/
|
|
26149
|
-
|
|
26781
|
+
type?: RibbonItemType | string;
|
|
26150
26782
|
/**
|
|
26151
|
-
*
|
|
26152
|
-
* Default value:
|
|
26783
|
+
* Determines the template of the ribbon item. Accepts HTMLTemplateElement, an id of an HTMLTemplateElement or a Function.
|
|
26784
|
+
* Default value: ""
|
|
26153
26785
|
*/
|
|
26154
|
-
|
|
26786
|
+
template?: string;
|
|
26155
26787
|
/**
|
|
26156
|
-
*
|
|
26157
|
-
* Default value:
|
|
26788
|
+
* Determines the size of the ribbon item.
|
|
26789
|
+
* Default value: normal
|
|
26158
26790
|
*/
|
|
26159
|
-
|
|
26791
|
+
size?: RibbonItemSize | string;
|
|
26160
26792
|
/**
|
|
26161
|
-
*
|
|
26162
|
-
* Default value:
|
|
26793
|
+
*
|
|
26794
|
+
* Default value: null
|
|
26163
26795
|
*/
|
|
26164
|
-
|
|
26796
|
+
sizeChanged?: any;
|
|
26165
26797
|
/**
|
|
26166
|
-
*
|
|
26167
|
-
* Default value:
|
|
26798
|
+
* Determines the allowed sizes of the ribbon item.
|
|
26799
|
+
* Default value:
|
|
26168
26800
|
*/
|
|
26169
|
-
|
|
26801
|
+
allowedSizes?: any;
|
|
26170
26802
|
/**
|
|
26171
|
-
*
|
|
26803
|
+
* Determines the icon of the ribbon item.
|
|
26804
|
+
* Default value: ""
|
|
26805
|
+
*/
|
|
26806
|
+
icon?: string;
|
|
26807
|
+
/**
|
|
26808
|
+
* Determines the settings of the ribbon item. The settings will be applied as properties if the ribbon item is set to a Smart Element.
|
|
26809
|
+
* Default value: [object Object]
|
|
26810
|
+
*/
|
|
26811
|
+
settings?: RibbonItemSettings;
|
|
26812
|
+
/**
|
|
26813
|
+
* Determines the class of the ribbon item.
|
|
26814
|
+
* Default value: ""
|
|
26815
|
+
*/
|
|
26816
|
+
cssClass?: string;
|
|
26817
|
+
/**
|
|
26818
|
+
* Sets a click event handler for the ribbon item.
|
|
26172
26819
|
* Default value: null
|
|
26173
26820
|
*/
|
|
26174
|
-
|
|
26821
|
+
onItemClick?: any;
|
|
26175
26822
|
/**
|
|
26176
|
-
* Sets
|
|
26177
|
-
* Default value:
|
|
26178
|
-
* "en": {
|
|
26179
|
-
* "propertyUnknownType": "'' property is with undefined 'type' member!",
|
|
26180
|
-
* "propertyInvalidValue": "Invalid '!",
|
|
26181
|
-
* "propertyInvalidValueType": "Invalid '!",
|
|
26182
|
-
* "elementNotInDOM": "Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.",
|
|
26183
|
-
* "moduleUndefined": "Module is undefined.",
|
|
26184
|
-
* "missingReference": ".",
|
|
26185
|
-
* "htmlTemplateNotSuported": ": Browser doesn't support HTMLTemplate elements.",
|
|
26186
|
-
* "invalidTemplate": "' property accepts a string that must match the id of an HTMLTemplate element from the DOM."
|
|
26187
|
-
* }
|
|
26188
|
-
* }
|
|
26823
|
+
* Sets a change event handler for the ribbon item.
|
|
26824
|
+
* Default value: null
|
|
26189
26825
|
*/
|
|
26190
|
-
|
|
26826
|
+
onItemChange?: any;
|
|
26191
26827
|
/**
|
|
26192
|
-
*
|
|
26193
|
-
* Default value: ""
|
|
26828
|
+
* Determines the tooltip of the ribbon item.
|
|
26829
|
+
* Default value: ""
|
|
26194
26830
|
*/
|
|
26195
|
-
|
|
26831
|
+
tooltip?: string;
|
|
26832
|
+
}
|
|
26833
|
+
/**
|
|
26834
|
+
Defines a ribbon item.
|
|
26835
|
+
*/
|
|
26836
|
+
export interface RibbonItem extends BaseElement, RibbonItemProperties {
|
|
26837
|
+
|
|
26838
|
+
/* Get a member by its name */
|
|
26839
|
+
[name: string]: any;
|
|
26840
|
+
}
|
|
26841
|
+
|
|
26842
|
+
/**Determines the settings of the ribbon item. The settings will be applied as properties if the ribbon item is set to a Smart Element. */
|
|
26843
|
+
export interface RibbonItemSettings {
|
|
26844
|
+
}
|
|
26845
|
+
|
|
26846
|
+
declare global {
|
|
26847
|
+
interface Document {
|
|
26848
|
+
createElement(tagName: "smart-ribbon-item"): RibbonItem;
|
|
26849
|
+
querySelector(selectors: "smart-ribbon-item"): RibbonItem | null;
|
|
26850
|
+
querySelectorAll(selectors: "smart-ribbon-item"): NodeListOf<RibbonItem>;
|
|
26851
|
+
getElementsByTagName(qualifiedName: "smart-ribbon-item"): HTMLCollectionOf<RibbonItem>;
|
|
26852
|
+
getElementsByName(elementName: "smart-ribbon-item"): NodeListOf<RibbonItem>;
|
|
26853
|
+
}
|
|
26854
|
+
}
|
|
26855
|
+
|
|
26856
|
+
/**Determines the type of the ribbon item. */
|
|
26857
|
+
export declare type RibbonItemType = 'separator' | 'button' | 'toggleButton' | 'multiSplitButton' | 'dropDownButton' | 'input' | 'custom';
|
|
26858
|
+
/**Determines the size of the ribbon item. */
|
|
26859
|
+
export declare type RibbonItemSize = 'iconOnly' | 'small' | 'verySmall' | 'normal' | 'large';
|
|
26860
|
+
export interface RibbonTabProperties {
|
|
26196
26861
|
/**
|
|
26197
|
-
*
|
|
26862
|
+
* Determines whether the tab item is disabled.
|
|
26198
26863
|
* Default value: false
|
|
26199
26864
|
*/
|
|
26200
|
-
|
|
26865
|
+
disabled?: boolean;
|
|
26201
26866
|
/**
|
|
26202
|
-
* Determines the
|
|
26867
|
+
* Determines the label of the tab item.
|
|
26203
26868
|
* Default value: ""
|
|
26204
26869
|
*/
|
|
26205
|
-
|
|
26870
|
+
label?: string;
|
|
26206
26871
|
/**
|
|
26207
|
-
*
|
|
26872
|
+
* Determines whether the tab item is selected.
|
|
26208
26873
|
* Default value: false
|
|
26209
26874
|
*/
|
|
26210
|
-
|
|
26875
|
+
selected?: boolean;
|
|
26211
26876
|
/**
|
|
26212
|
-
*
|
|
26213
|
-
* Default value:
|
|
26877
|
+
* Determines the ribbon group of the tab item
|
|
26878
|
+
* Default value: undefined
|
|
26214
26879
|
*/
|
|
26215
|
-
|
|
26880
|
+
ribbonGroups?: any;
|
|
26216
26881
|
}
|
|
26217
26882
|
/**
|
|
26218
|
-
|
|
26883
|
+
Defines a ribbon tab.
|
|
26219
26884
|
*/
|
|
26220
|
-
export interface
|
|
26885
|
+
export interface RibbonTab extends BaseElement, RibbonTabProperties {
|
|
26221
26886
|
|
|
26222
26887
|
/* Get a member by its name */
|
|
26223
26888
|
[name: string]: any;
|
|
26224
|
-
/**
|
|
26225
|
-
* This event is triggered when the element is clicked.
|
|
26226
|
-
* @param event. The custom event. */
|
|
26227
|
-
onClick: ((this: any, ev: Event) => any) | null;
|
|
26228
26889
|
}
|
|
26229
26890
|
|
|
26230
26891
|
declare global {
|
|
26231
26892
|
interface Document {
|
|
26232
|
-
createElement(tagName: "smart-
|
|
26233
|
-
querySelector(selectors: "smart-
|
|
26234
|
-
querySelectorAll(selectors: "smart-
|
|
26235
|
-
getElementsByTagName(qualifiedName: "smart-
|
|
26236
|
-
getElementsByName(elementName: "smart-
|
|
26893
|
+
createElement(tagName: "smart-ribbon-tab"): RibbonTab;
|
|
26894
|
+
querySelector(selectors: "smart-ribbon-tab"): RibbonTab | null;
|
|
26895
|
+
querySelectorAll(selectors: "smart-ribbon-tab"): NodeListOf<RibbonTab>;
|
|
26896
|
+
getElementsByTagName(qualifiedName: "smart-ribbon-tab"): HTMLCollectionOf<RibbonTab>;
|
|
26897
|
+
getElementsByName(elementName: "smart-ribbon-tab"): NodeListOf<RibbonTab>;
|
|
26237
26898
|
}
|
|
26238
26899
|
}
|
|
26239
26900
|
|
|
@@ -27090,9 +27751,10 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
27090
27751
|
/**
|
|
27091
27752
|
* Exports the events from the Scheduler.
|
|
27092
27753
|
* @param {string} dataFormat. Determines the format of the exported file. The following values are available: <ul><li><b>pdf</b></li><li><b>xlsx</b></li><li><b>html</b></li><li><b>iCal</b></li></ul>
|
|
27093
|
-
* @param {any} callback?. A callback that allows to format the exported data based on a condition. For additional details, refer
|
|
27754
|
+
* @param {any} callback?. A callback that allows to format the exported data based on a condition. For additional details, refer to the Smart Export Documentation.
|
|
27755
|
+
* @param {any} dataCallback?. A callback that allows to change the exported data.
|
|
27094
27756
|
*/
|
|
27095
|
-
exportData(dataFormat: string, callback?: any): void;
|
|
27757
|
+
exportData(dataFormat: string, callback?: any, dataCallback?: any): void;
|
|
27096
27758
|
/**
|
|
27097
27759
|
* Returns a JSON representation of the events inside the Scheduler.
|
|
27098
27760
|
* @returns {any}
|
|
@@ -29202,7 +29864,7 @@ export interface TableProperties {
|
|
|
29202
29864
|
* Sets or gets the page size (when paging is enabled).
|
|
29203
29865
|
* Default value: 10
|
|
29204
29866
|
*/
|
|
29205
|
-
pageSize?:
|
|
29867
|
+
pageSize?: number;
|
|
29206
29868
|
/**
|
|
29207
29869
|
* Sets or gets the current (zero-based) page index (when paging is enabled).
|
|
29208
29870
|
* Default value: 0
|
|
@@ -29223,6 +29885,11 @@ export interface TableProperties {
|
|
|
29223
29885
|
* Default value: "null"
|
|
29224
29886
|
*/
|
|
29225
29887
|
rowDetailTemplate?: string;
|
|
29888
|
+
/**
|
|
29889
|
+
* Sets or gets a callback function with 3 arguments - column, filterConditions, filterInputTemplateString. The function should return the new filter input.
|
|
29890
|
+
* Default value: null
|
|
29891
|
+
*/
|
|
29892
|
+
onFilterRowInput?: any;
|
|
29226
29893
|
/**
|
|
29227
29894
|
* Sets or gets an array of the Table's selected row's ids.
|
|
29228
29895
|
* Default value:
|
|
@@ -29940,8 +30607,6 @@ export declare type TableDataSourceSettingsDataSourceType = 'array' | 'json' | '
|
|
|
29940
30607
|
export declare type TableEditMode = 'cell' | 'row';
|
|
29941
30608
|
/**Sets or gets the behavior when loading column settings either via autoLoadState or loadState. Applicable only when stateSettings contains 'columns'. */
|
|
29942
30609
|
export declare type TableLoadColumnStateBehavior = 'implementationOnly' | 'intersection' | 'stateOnly';
|
|
29943
|
-
/**Sets or gets the page size (when paging is enabled). */
|
|
29944
|
-
export declare type TablePageSize = '10' | '25' | '50';
|
|
29945
30610
|
/**Sets or gets the selection mode. Only applicable when selection is enabled. */
|
|
29946
30611
|
export declare type TableSelectionMode = 'one' | 'many' | 'extended';
|
|
29947
30612
|
/**Determines the sorting mode of the Table. */
|
|
@@ -30621,6 +31286,11 @@ export interface TextAreaProperties {
|
|
|
30621
31286
|
* Default value: false
|
|
30622
31287
|
*/
|
|
30623
31288
|
rightToLeft?: boolean;
|
|
31289
|
+
/**
|
|
31290
|
+
* Enables or disables the rich text formatting.
|
|
31291
|
+
* Default value: false
|
|
31292
|
+
*/
|
|
31293
|
+
richText?: boolean;
|
|
30624
31294
|
/**
|
|
30625
31295
|
* Determines whether the items are sorted alphabetically or not
|
|
30626
31296
|
* Default value: false
|
|
@@ -32149,6 +32819,12 @@ export interface Tree extends BaseElement, TreeProperties {
|
|
|
32149
32819
|
* children - the children of the jqx-tree-items-group to be expanded
|
|
32150
32820
|
*/
|
|
32151
32821
|
onExpanding?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
32822
|
+
/**
|
|
32823
|
+
* This event is triggered when selection in jqx-tree is changed.
|
|
32824
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value)
|
|
32825
|
+
* value - The filter input value.
|
|
32826
|
+
*/
|
|
32827
|
+
onFilterChange?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
32152
32828
|
/**
|
|
32153
32829
|
* This event is triggered when the Tree has been scrolled to the bottom.
|
|
32154
32830
|
* @param event. The custom event. */
|
|
@@ -32225,6 +32901,11 @@ export interface Tree extends BaseElement, TreeProperties {
|
|
|
32225
32901
|
* @returns {HTMLElement}
|
|
32226
32902
|
*/
|
|
32227
32903
|
getItem(id: string): HTMLElement;
|
|
32904
|
+
/**
|
|
32905
|
+
* Gets the applied filter.
|
|
32906
|
+
* @returns {string}
|
|
32907
|
+
*/
|
|
32908
|
+
getFilter(): string;
|
|
32228
32909
|
/**
|
|
32229
32910
|
* Gets the selected values. If value is not defined, returns the selected labels.
|
|
32230
32911
|
* @returns {string[]}
|