@smart-webcomponents-angular/phoneinput 11.0.0 → 13.0.10
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/README.md +10 -2
- package/esm2020/phoneinput/index.mjs +2 -0
- package/{esm2015/phoneinput/public_api.js → esm2020/phoneinput/public_api.mjs} +0 -0
- package/{esm2015/phoneinput/smart-webcomponents-angular-phoneinput.js → esm2020/phoneinput/smart-webcomponents-angular-phoneinput.mjs} +2 -3
- package/esm2020/phoneinput/smart.element.mjs +96 -0
- package/esm2020/phoneinput/smart.phoneinput.mjs +443 -0
- package/esm2020/phoneinput/smart.phoneinput.module.mjs +18 -0
- package/fesm2015/{smart-webcomponents-angular-phoneinput.js → smart-webcomponents-angular-phoneinput.mjs} +85 -51
- package/fesm2015/smart-webcomponents-angular-phoneinput.mjs.map +1 -0
- package/fesm2020/smart-webcomponents-angular-phoneinput.mjs +565 -0
- package/fesm2020/smart-webcomponents-angular-phoneinput.mjs.map +1 -0
- package/index.d.ts +318 -42
- package/package.json +26 -24
- package/phoneinput/index.d.ts +1 -0
- package/phoneinput/smart-webcomponents-angular-phoneinput.d.ts +2 -2
- package/phoneinput/smart.element.d.ts +4 -1
- package/phoneinput/smart.phoneinput.d.ts +4 -1
- package/phoneinput/smart.phoneinput.module.d.ts +5 -0
- package/source/modules/smart.input.js +1 -1
- package/source/modules/smart.phoneinput.js +1 -1
- 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 +1 -1
- package/source/smart.scrollbar.js +1 -1
- package/styles/font/smart-icons.eot +0 -0
- package/styles/font/smart-icons.svg +11 -3
- 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 +2 -2
- package/styles/smart.phoneinput.css +2 -2
- package/bundles/smart-webcomponents-angular-phoneinput.umd.js +0 -1001
- package/bundles/smart-webcomponents-angular-phoneinput.umd.min.js +0 -25
- package/esm2015/phoneinput/smart.element.js +0 -83
- package/esm2015/phoneinput/smart.phoneinput.js +0 -434
- package/esm2015/phoneinput/smart.phoneinput.module.js +0 -13
- package/fesm2015/smart-webcomponents-angular-phoneinput.js.map +0 -1
- package/phoneinput/smart-webcomponents-angular-phoneinput.metadata.json +0 -1
package/index.d.ts
CHANGED
|
@@ -4209,6 +4209,11 @@ export interface CheckInputProperties {
|
|
|
4209
4209
|
* Default value: false
|
|
4210
4210
|
*/
|
|
4211
4211
|
selectAll?: boolean;
|
|
4212
|
+
/**
|
|
4213
|
+
* Gets or sets an array of selected values.
|
|
4214
|
+
* Default value:
|
|
4215
|
+
*/
|
|
4216
|
+
selectedValues?: any;
|
|
4212
4217
|
/**
|
|
4213
4218
|
* Determines whether the items are sorted alphabetically or not
|
|
4214
4219
|
* Default value: false
|
|
@@ -5394,11 +5399,6 @@ declare global {
|
|
|
5394
5399
|
}
|
|
5395
5400
|
|
|
5396
5401
|
export interface ComboBoxProperties {
|
|
5397
|
-
/**
|
|
5398
|
-
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
5399
|
-
* Default value: advanced
|
|
5400
|
-
*/
|
|
5401
|
-
animation?: Animation;
|
|
5402
5402
|
/**
|
|
5403
5403
|
* 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.
|
|
5404
5404
|
* Default value: 100
|
|
@@ -9699,6 +9699,11 @@ export interface FileUploadProperties {
|
|
|
9699
9699
|
* Default value: false
|
|
9700
9700
|
*/
|
|
9701
9701
|
unfocusable?: boolean;
|
|
9702
|
+
/**
|
|
9703
|
+
* Gets the file upload value.
|
|
9704
|
+
* Default value: null
|
|
9705
|
+
*/
|
|
9706
|
+
value?: any;
|
|
9702
9707
|
/**
|
|
9703
9708
|
* Callback used to validate the files immediatelly after their selection. Retuns a boolean value. If the returned value is false, the file is removed from list and a 'validationError is fired.
|
|
9704
9709
|
* Default value: null
|
|
@@ -14071,9 +14076,10 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14071
14076
|
onEndEdit?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
14072
14077
|
/**
|
|
14073
14078
|
* This event is triggered, when a filter is added or removed.
|
|
14074
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(columns, data)
|
|
14079
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(columns, data, expressions)
|
|
14075
14080
|
* columns - Array of columns.
|
|
14076
|
-
* data - Array of {dataField: string, filter:
|
|
14081
|
+
* data - Array of {dataField: string, filter: object}. <em>dataField</em> is the column's data field. <em>filter</em> is a FilterGroup object.
|
|
14082
|
+
* expressions - Array of {dataField: string, filter: string}. <em>dataField</em> is the column's data field. <em>filter</em> is a filter expression like 'startsWith B'. In each array item, you will have an object with column's name and filter string. Example: [['firstName', 'contains Andrew or contains Nancy'], ['quantity', '<= 3 and >= 8']], [['firstName', 'EQUAL' 'Andrew' or 'EQUAL' 'Antoni' or 'EQUAL' 'Beate']], [['lastName','CONTAINS' 'burke' or 'CONTAINS' 'peterson']]. Filter conditions used in the filter expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
|
|
14077
14083
|
*/
|
|
14078
14084
|
onFilter?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
14079
14085
|
/**
|
|
@@ -14147,19 +14153,19 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14147
14153
|
addUnboundRow(count: number, position?: string): boolean;
|
|
14148
14154
|
/**
|
|
14149
14155
|
* Adds a filter to a column. This method will apply a filter to the Grid data.
|
|
14150
|
-
* @param {string} dataField. column bound data field
|
|
14151
|
-
* @param {string} filter. Filter expression like: 'startsWith B'
|
|
14152
|
-
* @param {boolean} refreshFilters?.
|
|
14156
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14157
|
+
* @param {string} filter. Filter expression like: 'startsWith B'. Example 2: ['contains Andrew or contains Nancy'], Example 3: ['quantity', '<= 3 and >= 8']. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
|
|
14158
|
+
* @param {boolean} refreshFilters?. Set this to false, if you will use multiple 'addFilter' calls. By doing this, you will avoid unnecessary renders.
|
|
14153
14159
|
*/
|
|
14154
14160
|
addFilter(dataField: string, filter: string, refreshFilters?: boolean): void;
|
|
14155
14161
|
/**
|
|
14156
14162
|
* Groups the Grid by a data field. This method will add a group to the Grid when grouping is enabled.
|
|
14157
|
-
* @param {string} dataField. column bound data field
|
|
14163
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14158
14164
|
*/
|
|
14159
14165
|
addGroup(dataField: string): void;
|
|
14160
14166
|
/**
|
|
14161
14167
|
* Sorts the Grid by a data field. This method will add a sorting to the Grid when sorting is enabled.
|
|
14162
|
-
* @param {string} dataField. column bound data field
|
|
14168
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14163
14169
|
* @param {string} sortOrder. column's sort order. Use 'asc' or 'desc'.
|
|
14164
14170
|
*/
|
|
14165
14171
|
addSort(dataField: string, sortOrder: string): void;
|
|
@@ -14183,7 +14189,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14183
14189
|
/**
|
|
14184
14190
|
* Begins row, cell or column. This method allows you to programmatically start a cell, row or column editing. After calling it, an editor HTMLElement will be created and displayed in the Grid.
|
|
14185
14191
|
* @param {string | number} rowId. row bound id
|
|
14186
|
-
* @param {string} dataField?. column bound data field
|
|
14192
|
+
* @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14187
14193
|
*/
|
|
14188
14194
|
beginEdit(rowId: string | number, dataField?: string): void;
|
|
14189
14195
|
/**
|
|
@@ -14247,7 +14253,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14247
14253
|
/**
|
|
14248
14254
|
* Scrolls to a row or cell. This method scrolls to a row or cell, when scrolling is necessary. If pagination is enabled, it will automatically change the page.
|
|
14249
14255
|
* @param {string | number} rowId. row bound id
|
|
14250
|
-
* @param {string} dataField?. column bound data field
|
|
14256
|
+
* @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14251
14257
|
* @returns {boolean}
|
|
14252
14258
|
*/
|
|
14253
14259
|
ensureVisible(rowId: string | number, dataField?: string): boolean;
|
|
@@ -14373,13 +14379,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14373
14379
|
/**
|
|
14374
14380
|
* Gets a value of a cell.
|
|
14375
14381
|
* @param {string | number} rowId. row bound id
|
|
14376
|
-
* @param {string} dataField. column bound data field
|
|
14382
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14377
14383
|
* @returns {any}
|
|
14378
14384
|
*/
|
|
14379
14385
|
getCellValue(rowId: string | number, dataField: string): any;
|
|
14380
14386
|
/**
|
|
14381
14387
|
* Gets a value of a column.
|
|
14382
|
-
* @param {string} dataField. column bound data field
|
|
14388
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14383
14389
|
* @param {string} propertyName. The property name.
|
|
14384
14390
|
* @returns {any}
|
|
14385
14391
|
*/
|
|
@@ -14420,13 +14426,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14420
14426
|
hideDetail(rowId: string | number): void;
|
|
14421
14427
|
/**
|
|
14422
14428
|
* Highlights a column. Highlights a Grid column.
|
|
14423
|
-
* @param {string} dataField. column bound data field
|
|
14429
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14424
14430
|
*/
|
|
14425
14431
|
highlightColumn(dataField: string): void;
|
|
14426
14432
|
/**
|
|
14427
14433
|
* Highlights a cell. Calling the method a second time toggle the highlight state.
|
|
14428
14434
|
* @param {string | number} rowId. row bound id
|
|
14429
|
-
* @param {string} dataField. column bound data field
|
|
14435
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14430
14436
|
* @param {string} className?. CSS Class Name
|
|
14431
14437
|
*/
|
|
14432
14438
|
highlightCell(rowId: string | number, dataField: string, className?: string): void;
|
|
@@ -14438,7 +14444,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14438
14444
|
highlightRow(rowId: string | number, className?: string): void;
|
|
14439
14445
|
/**
|
|
14440
14446
|
* Opens a column drop-down menu.
|
|
14441
|
-
* @param {string} dataField. column bound data field
|
|
14447
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14442
14448
|
*/
|
|
14443
14449
|
openMenu(dataField: string): void;
|
|
14444
14450
|
/**
|
|
@@ -14459,18 +14465,18 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14459
14465
|
refreshView(): void;
|
|
14460
14466
|
/**
|
|
14461
14467
|
* Removes a column filter.
|
|
14462
|
-
* @param {string} dataField. column bound data field
|
|
14463
|
-
* @param {boolean} refreshFilters?.
|
|
14468
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14469
|
+
* @param {boolean} refreshFilters?. Set this to false, if you need to make multiple removeFilter calls.
|
|
14464
14470
|
*/
|
|
14465
14471
|
removeFilter(dataField: string, refreshFilters?: boolean): void;
|
|
14466
14472
|
/**
|
|
14467
14473
|
* Removes a group by data field. This method will remove a group to the Grid when grouping is enabled.
|
|
14468
|
-
* @param {string} dataField. column bound data field
|
|
14474
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14469
14475
|
*/
|
|
14470
14476
|
removeGroup(dataField: string): void;
|
|
14471
14477
|
/**
|
|
14472
14478
|
* Removes a sorting by data field. This method will remove a sorting from a Grid column.
|
|
14473
|
-
* @param {string} dataField. column bound data field
|
|
14479
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14474
14480
|
*/
|
|
14475
14481
|
removeSort(dataField: string): void;
|
|
14476
14482
|
/**
|
|
@@ -14490,7 +14496,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14490
14496
|
reorderColumns(dataField: string | number, referenceDataField: string | number, insertAfter?: boolean): void;
|
|
14491
14497
|
/**
|
|
14492
14498
|
* 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.
|
|
14493
|
-
* @param {string} dataField. column bound data field
|
|
14499
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14494
14500
|
* @param {string | null} sortOrder. column's sort order. Use 'asc', 'desc' or null.
|
|
14495
14501
|
*/
|
|
14496
14502
|
sortBy(dataField: string, sortOrder: string | null): void;
|
|
@@ -14541,13 +14547,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14541
14547
|
/**
|
|
14542
14548
|
* Sets a new value to a cell.
|
|
14543
14549
|
* @param {string | number} rowId. row bound id
|
|
14544
|
-
* @param {string} dataField. column bound data field
|
|
14550
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14545
14551
|
* @param {string | number | Date | boolean} value. New Cell value.
|
|
14546
14552
|
*/
|
|
14547
14553
|
setCellValue(rowId: string | number, dataField: string, value: string | number | Date | boolean): void;
|
|
14548
14554
|
/**
|
|
14549
14555
|
* Sets a property to a column.
|
|
14550
|
-
* @param {string} dataField. column bound data field
|
|
14556
|
+
* @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14551
14557
|
* @param {string} propertyName. The column property's name.
|
|
14552
14558
|
* @param {any} value. The new property value.
|
|
14553
14559
|
*/
|
|
@@ -14584,7 +14590,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14584
14590
|
/**
|
|
14585
14591
|
* Unselects a row, cell or column.
|
|
14586
14592
|
* @param {string | number} rowId. row bound id
|
|
14587
|
-
* @param {string} dataField?. column bound data field
|
|
14593
|
+
* @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
|
|
14588
14594
|
*/
|
|
14589
14595
|
unselect(rowId: string | number, dataField?: string): void;
|
|
14590
14596
|
/**
|
|
@@ -14765,6 +14771,11 @@ export interface GridAppearance {
|
|
|
14765
14771
|
* Default value: true
|
|
14766
14772
|
*/
|
|
14767
14773
|
showRowLines?: boolean;
|
|
14774
|
+
/**
|
|
14775
|
+
* Shows column groups in the Hide columns panel. Column groups and columns are shown in a tree-like structure. When the property is set to false, the column groups are not displayed and the column labels contain the column group name.
|
|
14776
|
+
* Default value: false
|
|
14777
|
+
*/
|
|
14778
|
+
showColumnGroupsInColumnPanel?: boolean;
|
|
14768
14779
|
/**
|
|
14769
14780
|
* Shows filtered column background, when filter is applied.
|
|
14770
14781
|
* Default value: true
|
|
@@ -14854,6 +14865,11 @@ export interface GridBehavior {
|
|
|
14854
14865
|
* Default value: false
|
|
14855
14866
|
*/
|
|
14856
14867
|
allowColumnReorder?: boolean;
|
|
14868
|
+
/**
|
|
14869
|
+
* Determines whether column freeze with drag and drop is enabled. When other columns are frozen/pinned, drag the column to the existing frozen area. When no columns are pinned, drag the column to the edge of the grid and wait for approximately one second. The grid will then assume you want to freeze/pin and create a frozen/pinned area and place the column into it.
|
|
14870
|
+
* Default value: false
|
|
14871
|
+
*/
|
|
14872
|
+
allowColumnFreeze?: boolean;
|
|
14857
14873
|
/**
|
|
14858
14874
|
* 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
|
|
14859
14875
|
* Default value: none
|
|
@@ -14873,6 +14889,11 @@ export interface GridLayout {
|
|
|
14873
14889
|
* Default value: false
|
|
14874
14890
|
*/
|
|
14875
14891
|
allowCellsWrap?: boolean;
|
|
14892
|
+
/**
|
|
14893
|
+
* Automatically sets width to any new Column which does not have its 'width' property set.
|
|
14894
|
+
* Default value: false
|
|
14895
|
+
*/
|
|
14896
|
+
autoSizeNewColumn?: boolean;
|
|
14876
14897
|
/**
|
|
14877
14898
|
* Sets the width of the auto-generated Grid columns.
|
|
14878
14899
|
* Default value: null
|
|
@@ -15056,7 +15077,7 @@ export interface GridColumn {
|
|
|
15056
15077
|
*/
|
|
15057
15078
|
freeze?: Position;
|
|
15058
15079
|
/**
|
|
15059
|
-
* Sets or gets the filter of the column.
|
|
15080
|
+
* Sets or gets the filter of the column. Example: ['contains Andrew or contains Nancy']. Example with numeric filter ['quantity', '<= 3 and >= 8']. Additional example with filter which we want to apply to a column with filterMenuMode='excel' - ['EQUAL' 'Andrew' or 'EQUAL' 'Antoni' or 'EQUAL' 'Beate']. Example with a string filter applied to a string column - ['CONTAINS' 'burke' or 'CONTAINS' 'peterson']. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
|
|
15060
15081
|
* Default value: ""
|
|
15061
15082
|
*/
|
|
15062
15083
|
filter?: string;
|
|
@@ -15126,7 +15147,7 @@ export interface GridColumn {
|
|
|
15126
15147
|
*/
|
|
15127
15148
|
width?: string | number;
|
|
15128
15149
|
/**
|
|
15129
|
-
* 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', 'radioButton', 'url', 'email', 'dropdownlist', 'list', 'tags', 'autoNumber', 'modifiedBy', 'createdBy', 'createdTime', 'modifiedTime', 'images. 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.
|
|
15150
|
+
* 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', 'radioButton', 'url', 'email', 'dropdownlist', 'list', 'progress', 'tags', 'autoNumber', 'modifiedBy', 'createdBy', 'createdTime', 'modifiedTime', 'images. 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.
|
|
15130
15151
|
* Default value:
|
|
15131
15152
|
*/
|
|
15132
15153
|
template?: any;
|
|
@@ -15877,7 +15898,7 @@ export interface GridFiltering {
|
|
|
15877
15898
|
*/
|
|
15878
15899
|
enabled?: boolean;
|
|
15879
15900
|
/**
|
|
15880
|
-
* An array of filtering conditions to apply to the DataGrid. Each member of the filter array is an array with two members. The first one is the column dataField to apply the filter to. The second one is the filtering condition. Example: [['firstName', 'contains Andrew or contains Nancy'], ['quantity', '<= 3 and >= 8']]
|
|
15901
|
+
* An array of filtering conditions to apply to the DataGrid. Each member of the filter array is an array with two members. The first one is the column dataField to apply the filter to. The second one is the filtering condition. Example: [['firstName', 'contains Andrew or contains Nancy'], ['quantity', '<= 3 and >= 8']]. Additional example with filter which we want to apply to a column with filterMenuMode='excel' - [['firstName', 'EQUAL' 'Andrew' or 'EQUAL' 'Antoni' or 'EQUAL' 'Beate']]. Example with a string filter applied to a string column - [['lastName','CONTAINS' 'burke' or 'CONTAINS' 'peterson']]. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
|
|
15881
15902
|
* Default value:
|
|
15882
15903
|
*/
|
|
15883
15904
|
filter?: any[];
|
|
@@ -16306,6 +16327,11 @@ export interface GridSummaryRow {
|
|
|
16306
16327
|
* Default value: false
|
|
16307
16328
|
*/
|
|
16308
16329
|
visible?: boolean;
|
|
16330
|
+
/**
|
|
16331
|
+
* 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.
|
|
16332
|
+
* Default value: false
|
|
16333
|
+
*/
|
|
16334
|
+
editing?: boolean;
|
|
16309
16335
|
}
|
|
16310
16336
|
|
|
16311
16337
|
/**Describes the settings for the group header. */
|
|
@@ -17157,11 +17183,21 @@ export interface KanbanProperties {
|
|
|
17157
17183
|
* Default value: false
|
|
17158
17184
|
*/
|
|
17159
17185
|
allowColumnRemove?: boolean;
|
|
17186
|
+
/**
|
|
17187
|
+
* Enables or disables column hiding. When this property is set to true, users will be able to dynamically hide a column through the column actions menu. the 'columnActions' property should be true.
|
|
17188
|
+
* Default value: false
|
|
17189
|
+
*/
|
|
17190
|
+
allowColumnHide?: boolean;
|
|
17160
17191
|
/**
|
|
17161
17192
|
* Toggles the visibility of the column buttons for adding tasks. A particular button can be disabled by setting addNewButton in the column's definition to false.
|
|
17162
17193
|
* Default value: false
|
|
17163
17194
|
*/
|
|
17164
17195
|
addNewButton?: boolean;
|
|
17196
|
+
/**
|
|
17197
|
+
* Determines whether the add button is visible in the column header and/or after the tasks in the column.
|
|
17198
|
+
* Default value: both
|
|
17199
|
+
*/
|
|
17200
|
+
addNewButtonDisplayMode?: KanbanAddNewButtonDisplayMode;
|
|
17165
17201
|
/**
|
|
17166
17202
|
* Sets or gets whether a column with a button for adding new status columns to the Kanban will be displayed.
|
|
17167
17203
|
* Default value: false
|
|
@@ -17177,11 +17213,6 @@ export interface KanbanProperties {
|
|
|
17177
17213
|
* Default value: true
|
|
17178
17214
|
*/
|
|
17179
17215
|
allowDrop?: boolean;
|
|
17180
|
-
/**
|
|
17181
|
-
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
17182
|
-
* Default value: advanced
|
|
17183
|
-
*/
|
|
17184
|
-
animation?: Animation;
|
|
17185
17216
|
/**
|
|
17186
17217
|
* Enables or disables auto load state from the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is loaded.
|
|
17187
17218
|
* Default value: true
|
|
@@ -17197,6 +17228,11 @@ export interface KanbanProperties {
|
|
|
17197
17228
|
* Default value: false
|
|
17198
17229
|
*/
|
|
17199
17230
|
collapsible?: boolean;
|
|
17231
|
+
/**
|
|
17232
|
+
* Displays colors in the column header, when the column's color property is set.
|
|
17233
|
+
* Default value: false
|
|
17234
|
+
*/
|
|
17235
|
+
columnColors?: boolean;
|
|
17200
17236
|
/**
|
|
17201
17237
|
* Describes the columns properties.
|
|
17202
17238
|
* Default value:
|
|
@@ -17282,6 +17318,16 @@ export interface KanbanProperties {
|
|
|
17282
17318
|
* Default value: zeroOrOne
|
|
17283
17319
|
*/
|
|
17284
17320
|
selectionMode?: KanbanSelectionMode;
|
|
17321
|
+
/**
|
|
17322
|
+
* Sets or gets whether the tasks history will be stored and displayed in the task dialog.
|
|
17323
|
+
* Default value: false
|
|
17324
|
+
*/
|
|
17325
|
+
storeHistory?: boolean;
|
|
17326
|
+
/**
|
|
17327
|
+
* Sets or gets the task history items that will be stored when storeHistory is enabled.
|
|
17328
|
+
* Default value: 20
|
|
17329
|
+
*/
|
|
17330
|
+
storeHistoryItems?: number;
|
|
17285
17331
|
/**
|
|
17286
17332
|
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
17287
17333
|
* Default value: false
|
|
@@ -17337,6 +17383,26 @@ export interface KanbanProperties {
|
|
|
17337
17383
|
* Default value: false
|
|
17338
17384
|
*/
|
|
17339
17385
|
taskProgress?: boolean;
|
|
17386
|
+
/**
|
|
17387
|
+
* Sets the task custom fields displayed in the card. Each array item should have 'dataField', 'label' 'dataType' and optionally 'visible' properties. The 'dataField' determines the value, the label is displayed as title, 'dataType' is used for formatting and 'visible' determines whether the field will be displayed.
|
|
17388
|
+
* Default value:
|
|
17389
|
+
*/
|
|
17390
|
+
taskCustomFields?: any;
|
|
17391
|
+
/**
|
|
17392
|
+
* The task's background color depends on the task's color property. By default the color is rendered within the task's left border.
|
|
17393
|
+
* Default value: false
|
|
17394
|
+
*/
|
|
17395
|
+
taskColorEntireSurface?: boolean;
|
|
17396
|
+
/**
|
|
17397
|
+
* Displays an input in the task's card for adding dynamically a sub task. The 'taskSubTasks' property should be set to a value different than 'none'.
|
|
17398
|
+
* Default value: true
|
|
17399
|
+
*/
|
|
17400
|
+
taskSubTasksInput?: boolean;
|
|
17401
|
+
/**
|
|
17402
|
+
* Sets the rendering mode of sub tasks. 'none' - default value. Sub tasks are displayed only in the edit dialog. 'onePerRow' - all sub tasks are displayed in the task's card. 'onlyUnfinished' - only tasks which are not completed are displayed in the task's card.
|
|
17403
|
+
* Default value: none
|
|
17404
|
+
*/
|
|
17405
|
+
taskSubTasks?: KanbanTaskSubTasks;
|
|
17340
17406
|
/**
|
|
17341
17407
|
* Toggles the visibility of task tags.
|
|
17342
17408
|
* Default value: true
|
|
@@ -17357,6 +17423,16 @@ export interface KanbanProperties {
|
|
|
17357
17423
|
* Default value: ""
|
|
17358
17424
|
*/
|
|
17359
17425
|
theme?: string;
|
|
17426
|
+
/**
|
|
17427
|
+
* Determines whether the priority list (as defined by the priority property) will be shown when clicking the priority icon. Only applicable if editable privileges are enabled.
|
|
17428
|
+
* Default value: false
|
|
17429
|
+
*/
|
|
17430
|
+
priorityList?: boolean;
|
|
17431
|
+
/**
|
|
17432
|
+
* Determines the priority Kanban tasks can be assigned to. Example: [{label: 'low', value: 'low'}, {label: 'high', value: 'high'}]
|
|
17433
|
+
* Default value:
|
|
17434
|
+
*/
|
|
17435
|
+
priority?: KanbanPriority[];
|
|
17360
17436
|
/**
|
|
17361
17437
|
* Determines whether the user list (as defined by the users property) will be shown when clicking the user icon. Only applicable if editable privileges are enabled.
|
|
17362
17438
|
* Default value: false
|
|
@@ -17439,6 +17515,55 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17439
17515
|
* collapsed - The column's collapsed state.
|
|
17440
17516
|
*/
|
|
17441
17517
|
onColumnDoubleClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17518
|
+
/**
|
|
17519
|
+
* This event is triggered when a column is shown by using the column's action menu or the Kanban's 'show' method.
|
|
17520
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17521
|
+
* label - The column label.
|
|
17522
|
+
* dataField - The column data field.
|
|
17523
|
+
*/
|
|
17524
|
+
onColumnShow?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17525
|
+
/**
|
|
17526
|
+
* This event is triggered when a column is hidden by using the column's action menu or the Kanban's 'hide' method.
|
|
17527
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17528
|
+
* label - The column label.
|
|
17529
|
+
* dataField - The column data field.
|
|
17530
|
+
*/
|
|
17531
|
+
onColumnHide?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17532
|
+
/**
|
|
17533
|
+
* This event is triggered when a column is collapsed by using the column's action menu or the Kanban's 'collapse' method.
|
|
17534
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17535
|
+
* label - The column label.
|
|
17536
|
+
* dataField - The column data field.
|
|
17537
|
+
*/
|
|
17538
|
+
onColumnCollapse?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17539
|
+
/**
|
|
17540
|
+
* This event is triggered when a column is expanded by using the column's action menu or the Kanban's 'expand' method.
|
|
17541
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17542
|
+
* label - The column label.
|
|
17543
|
+
* dataField - The column data field.
|
|
17544
|
+
*/
|
|
17545
|
+
onColumnExpand?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17546
|
+
/**
|
|
17547
|
+
* This event is triggered when a comment is added to the Kanban Task.
|
|
17548
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(id, value)
|
|
17549
|
+
* id - The task's id.
|
|
17550
|
+
* value - The comment object. It has 'text: string, time: Date and userId:number' properties.
|
|
17551
|
+
*/
|
|
17552
|
+
onCommentAdd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17553
|
+
/**
|
|
17554
|
+
* This event is triggered when a comment is removed from the Kanban Task.
|
|
17555
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(id, value)
|
|
17556
|
+
* id - The task's id.
|
|
17557
|
+
* value - The comment object. It has 'text: string, time: Date and userId:number' properties.
|
|
17558
|
+
*/
|
|
17559
|
+
onCommentRemove?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17560
|
+
/**
|
|
17561
|
+
* This event is triggered when a comment is updated in the Kanban Task.
|
|
17562
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(id, value)
|
|
17563
|
+
* id - The task's id.
|
|
17564
|
+
* value - The comment object. It has 'text: string, time: Date and userId:number' properties.
|
|
17565
|
+
*/
|
|
17566
|
+
onCommentUpdate?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17442
17567
|
/**
|
|
17443
17568
|
* This event is triggered when a task is dropped somewhere in the DOM. The dragging operation can be canceled by calling event.preventDefault() in the event handler function.
|
|
17444
17569
|
* @param event. The custom event. Custom data event was created with: ev.detail(container, data, item, items, originalEvent, previousContainer, target)
|
|
@@ -17493,16 +17618,26 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17493
17618
|
onSort?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17494
17619
|
/**
|
|
17495
17620
|
* This event is triggered when a new task is added.
|
|
17496
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(value)
|
|
17621
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, id)
|
|
17497
17622
|
* value - The task data that is added to the Kanban.
|
|
17623
|
+
* id - The task data id.
|
|
17498
17624
|
*/
|
|
17499
17625
|
onTaskAdd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17500
17626
|
/**
|
|
17501
17627
|
* This event is triggered when a task is removed.
|
|
17502
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(value)
|
|
17628
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, id)
|
|
17503
17629
|
* value - The task data that is removed from the Kanban.
|
|
17630
|
+
* id - The task data id.
|
|
17504
17631
|
*/
|
|
17505
17632
|
onTaskRemove?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17633
|
+
/**
|
|
17634
|
+
* This event is triggered when a task is updated.
|
|
17635
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, oldValue, id)
|
|
17636
|
+
* value - The task data that is updated.
|
|
17637
|
+
* oldValue - The update task's old data.
|
|
17638
|
+
* id - The task data id.
|
|
17639
|
+
*/
|
|
17640
|
+
onTaskUpdate?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17506
17641
|
/**
|
|
17507
17642
|
* Adds filtering
|
|
17508
17643
|
* @param {string[]} filters. Filter information
|
|
@@ -17543,6 +17678,15 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17543
17678
|
* @param {number | string} column. The index or dataField of the column to collapse
|
|
17544
17679
|
*/
|
|
17545
17680
|
collapse(column: number | string): void;
|
|
17681
|
+
/**
|
|
17682
|
+
* Clears the Kanban's selection.
|
|
17683
|
+
*/
|
|
17684
|
+
clearSelection(): void;
|
|
17685
|
+
/**
|
|
17686
|
+
* Hides a Kanban column.
|
|
17687
|
+
* @param {number | string} column. The index or dataField of the column to hide
|
|
17688
|
+
*/
|
|
17689
|
+
hide(column: number | string): void;
|
|
17546
17690
|
/**
|
|
17547
17691
|
* Creates a copy of a task in the same column.
|
|
17548
17692
|
* @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
|
|
@@ -17581,6 +17725,18 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17581
17725
|
* @returns {any}
|
|
17582
17726
|
*/
|
|
17583
17727
|
getColumn(dataField: string): any;
|
|
17728
|
+
/**
|
|
17729
|
+
* Gets the data of a task. The returned value is a JSON object with the following fields: 'checklist', 'id', 'color', 'comments', 'history', 'dueDate', 'startDate', 'priority', 'progress', 'status', 'swimlane', 'tags', 'text', 'description', 'userId', 'createdUserId', 'createdDate', 'updatedUserId', 'updatedDate'
|
|
17730
|
+
* @param {number} id. The task's id
|
|
17731
|
+
* @returns {any}
|
|
17732
|
+
*/
|
|
17733
|
+
getTask(id: number): any;
|
|
17734
|
+
/**
|
|
17735
|
+
* Gets the selected ids. The returned value is an array. Each item in the array is the 'id' of a selected task.
|
|
17736
|
+
* @param {number} id. The task's id
|
|
17737
|
+
* @returns {any}
|
|
17738
|
+
*/
|
|
17739
|
+
getSelectedTasks(id: number): any;
|
|
17584
17740
|
/**
|
|
17585
17741
|
* Gets the Kanban's state.
|
|
17586
17742
|
* @returns
|
|
@@ -17632,6 +17788,25 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17632
17788
|
* Saves the Kanban's state to the browser's localStorage.
|
|
17633
17789
|
*/
|
|
17634
17790
|
saveState(): void;
|
|
17791
|
+
/**
|
|
17792
|
+
* Shows a Kanban column.
|
|
17793
|
+
* @param {number | string} column. The index or dataField of the column to show
|
|
17794
|
+
*/
|
|
17795
|
+
show(column: number | string): void;
|
|
17796
|
+
/**
|
|
17797
|
+
* Shows all Kanban columns.
|
|
17798
|
+
*/
|
|
17799
|
+
showAllColumns(): void;
|
|
17800
|
+
/**
|
|
17801
|
+
* Selects a task.
|
|
17802
|
+
* @param {number | string} task. The task's id.
|
|
17803
|
+
*/
|
|
17804
|
+
selectTask(task: number | string): void;
|
|
17805
|
+
/**
|
|
17806
|
+
* Unselects a task.
|
|
17807
|
+
* @param {number | string} task. The task's id.
|
|
17808
|
+
*/
|
|
17809
|
+
unselectTask(task: number | string): void;
|
|
17635
17810
|
/**
|
|
17636
17811
|
* Updates a task.
|
|
17637
17812
|
* @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
|
|
@@ -17687,6 +17862,11 @@ export interface KanbanColumn {
|
|
|
17687
17862
|
* Default value: true
|
|
17688
17863
|
*/
|
|
17689
17864
|
editable?: boolean;
|
|
17865
|
+
/**
|
|
17866
|
+
* Sets or gets whether a column is visible.
|
|
17867
|
+
* Default value: true
|
|
17868
|
+
*/
|
|
17869
|
+
visible?: boolean;
|
|
17690
17870
|
/**
|
|
17691
17871
|
* Sets or gets whether a column can be reordered.
|
|
17692
17872
|
* Default value: true
|
|
@@ -17735,6 +17915,16 @@ export interface KanbanDataSource {
|
|
|
17735
17915
|
* Default value: null
|
|
17736
17916
|
*/
|
|
17737
17917
|
dueDate?: Date;
|
|
17918
|
+
/**
|
|
17919
|
+
* Callback function which can be used for customizing the tasks rendering. The Kanban calls it with 2 arguments - task html element and task data.
|
|
17920
|
+
* Default value: null
|
|
17921
|
+
*/
|
|
17922
|
+
onTaskRender?: any;
|
|
17923
|
+
/**
|
|
17924
|
+
* Callback function which can be used for customizing the column header rendering. The Kanban calls it with 2 arguments - column header html element and column data.
|
|
17925
|
+
* Default value: null
|
|
17926
|
+
*/
|
|
17927
|
+
onColumnHeaderRender?: any;
|
|
17738
17928
|
/**
|
|
17739
17929
|
* The task's priority.
|
|
17740
17930
|
* Default value: normal
|
|
@@ -17795,6 +17985,19 @@ export interface KanbanSwimlane {
|
|
|
17795
17985
|
label?: string;
|
|
17796
17986
|
}
|
|
17797
17987
|
|
|
17988
|
+
export interface KanbanPriority {
|
|
17989
|
+
/**
|
|
17990
|
+
* The priority label displayed.
|
|
17991
|
+
* Default value: ""
|
|
17992
|
+
*/
|
|
17993
|
+
label?: string;
|
|
17994
|
+
/**
|
|
17995
|
+
* The priority value.
|
|
17996
|
+
* Default value: ""
|
|
17997
|
+
*/
|
|
17998
|
+
value?: string;
|
|
17999
|
+
}
|
|
18000
|
+
|
|
17798
18001
|
export interface KanbanUser {
|
|
17799
18002
|
/**
|
|
17800
18003
|
* Sets whether the user has a privilege to add or copy tasks.
|
|
@@ -17848,6 +18051,8 @@ declare global {
|
|
|
17848
18051
|
}
|
|
17849
18052
|
}
|
|
17850
18053
|
|
|
18054
|
+
/**Determines whether the add button is visible in the column header and/or after the tasks in the column. */
|
|
18055
|
+
export declare type KanbanAddNewButtonDisplayMode = 'top' | 'bottom' | 'both';
|
|
17851
18056
|
/**Sets or gets whether the tasks in the column flow vertically or horizontally. */
|
|
17852
18057
|
export declare type KanbanColumnOrientation = 'vertical' | 'horizontal';
|
|
17853
18058
|
/**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. */
|
|
@@ -17862,6 +18067,8 @@ export declare type KanbanHierarchy = 'columns' | 'tabs';
|
|
|
17862
18067
|
export declare type KanbanSelectionMode = 'zeroOrOne' | 'zeroOrManyExtended';
|
|
17863
18068
|
/**Sets or gets whether tasks can be shown in all levels of column hierarchy or only on leaf columns. */
|
|
17864
18069
|
export declare type KanbanTaskPosition = 'all' | 'leaf';
|
|
18070
|
+
/**Sets the rendering mode of sub tasks. 'none' - default value. Sub tasks are displayed only in the edit dialog. 'onePerRow' - all sub tasks are displayed in the task's card. 'onlyUnfinished' - only tasks which are not completed are displayed in the task's card. */
|
|
18071
|
+
export declare type KanbanTaskSubTasks = 'none' | 'onePerRow' | 'onlyUnfinished';
|
|
17865
18072
|
export interface LayoutProperties {
|
|
17866
18073
|
/**
|
|
17867
18074
|
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
@@ -20168,6 +20375,11 @@ export interface MultiComboInputProperties {
|
|
|
20168
20375
|
* Default value: false
|
|
20169
20376
|
*/
|
|
20170
20377
|
selectAll?: boolean;
|
|
20378
|
+
/**
|
|
20379
|
+
* Gets or sets an array of selected values.
|
|
20380
|
+
* Default value:
|
|
20381
|
+
*/
|
|
20382
|
+
selectedValues?: any;
|
|
20171
20383
|
/**
|
|
20172
20384
|
* Determines whether the items are sorted alphabetically or not
|
|
20173
20385
|
* Default value: false
|
|
@@ -20370,6 +20582,11 @@ export interface MultiInputProperties {
|
|
|
20370
20582
|
* Default value: ","
|
|
20371
20583
|
*/
|
|
20372
20584
|
separator?: string;
|
|
20585
|
+
/**
|
|
20586
|
+
* Gets or sets an array of selected values.
|
|
20587
|
+
* Default value:
|
|
20588
|
+
*/
|
|
20589
|
+
selectedValues?: any;
|
|
20373
20590
|
/**
|
|
20374
20591
|
* Determines whether an additional item is displayed as the first item in the options list, which allows to select/unselect all items.
|
|
20375
20592
|
* Default value: false
|
|
@@ -22636,11 +22853,11 @@ export interface PivotTable extends BaseElement, PivotTableProperties {
|
|
|
22636
22853
|
/**
|
|
22637
22854
|
* Exports the PivotTable's data.
|
|
22638
22855
|
* @param {string} dataFormat. The file format to export to. Supported formats: 'csv', 'html', 'json', 'pdf', 'tsv', 'xlsx', 'xml'.
|
|
22639
|
-
* @param {string} fileName
|
|
22856
|
+
* @param {string} fileName. The name of the file to export to
|
|
22640
22857
|
* @param {Function} callback?. A callback function to pass the exported data to (if fileName is not provided)
|
|
22641
22858
|
* @returns {any}
|
|
22642
22859
|
*/
|
|
22643
|
-
exportData(dataFormat: string, fileName
|
|
22860
|
+
exportData(dataFormat: string, fileName: string, callback?: Function): any;
|
|
22644
22861
|
/**
|
|
22645
22862
|
* Returns the current dynamic pivot columns.
|
|
22646
22863
|
* @returns {any}
|
|
@@ -23994,6 +24211,11 @@ export interface SchedulerProperties {
|
|
|
23994
24211
|
* Default value: near
|
|
23995
24212
|
*/
|
|
23996
24213
|
legendPosition?: SchedulerLegendPosition;
|
|
24214
|
+
/**
|
|
24215
|
+
* Determines the mouse wheel step. When this property is set to a positive number, the scroll step with mouse wheel or trackpad will depend on the property value.
|
|
24216
|
+
* Default value: -1
|
|
24217
|
+
*/
|
|
24218
|
+
mouseWheelStep?: number;
|
|
23997
24219
|
/**
|
|
23998
24220
|
* Determines weather or not horizontal scrollbar is shown.
|
|
23999
24221
|
* Default value: auto
|
|
@@ -24325,6 +24547,14 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24325
24547
|
* originalEvent - The original event object.
|
|
24326
24548
|
*/
|
|
24327
24549
|
onDragEnd: ((this: any, ev: Event) => any) | null;
|
|
24550
|
+
/**
|
|
24551
|
+
* This event is triggered when the user drops an item over a cell.
|
|
24552
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(target, date, allDay)
|
|
24553
|
+
* target - The HTMLElement that corresponds to the event that is dragged.
|
|
24554
|
+
* date - The cell's date under the pointer.
|
|
24555
|
+
* allDay - Boolean value, which is true when the cell under the pointer is all day cell.
|
|
24556
|
+
*/
|
|
24557
|
+
onDropoverCell?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
24328
24558
|
/**
|
|
24329
24559
|
* This event is triggered when resizing of a task starts. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
|
|
24330
24560
|
* @param event. The custom event. Custom data event was created with: ev.detail(target, item, itemDateRange, originalEvent)
|
|
@@ -24492,6 +24722,15 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24492
24722
|
* Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
|
|
24493
24723
|
*/
|
|
24494
24724
|
beginUpdate(): void;
|
|
24725
|
+
/**
|
|
24726
|
+
* Creates an event and adds it to the Scheduler.
|
|
24727
|
+
* @param {string} label. Event label.
|
|
24728
|
+
* @param {string} value. Event value.
|
|
24729
|
+
* @param {string} dateStart. Event date start.
|
|
24730
|
+
* @param {string} dateEnd. Event date end.
|
|
24731
|
+
* @param {boolean} allDay. Event all day. Set it to true to create all day event.
|
|
24732
|
+
*/
|
|
24733
|
+
createEvent(label: string, value: string, dateStart: string, dateEnd: string, allDay: boolean): void;
|
|
24495
24734
|
/**
|
|
24496
24735
|
* Ends the update operation. This method will resume the rendering and will refresh the element.
|
|
24497
24736
|
*/
|
|
@@ -24517,6 +24756,20 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24517
24756
|
* @returns {any}
|
|
24518
24757
|
*/
|
|
24519
24758
|
getResources(): any;
|
|
24759
|
+
/**
|
|
24760
|
+
* Gets a date from coordinates
|
|
24761
|
+
* @param {number} x. X coordinate.
|
|
24762
|
+
* @param {number} y. Y coordinate.
|
|
24763
|
+
* @returns {string}
|
|
24764
|
+
*/
|
|
24765
|
+
getDateFromCoordinates(x: number, y: number): string;
|
|
24766
|
+
/**
|
|
24767
|
+
* Gets whether a cell is all day cell from coordinates
|
|
24768
|
+
* @param {number} x. X coordinate.
|
|
24769
|
+
* @param {number} y. Y coordinate.
|
|
24770
|
+
* @returns {boolean}
|
|
24771
|
+
*/
|
|
24772
|
+
getIsAllDayCellFromCoordinates(x: number, y: number): boolean;
|
|
24520
24773
|
/**
|
|
24521
24774
|
* Returns the current state of the Scheduler. Includes the current <b>dateCurernt</b>, <b>dataSource</b> and <b>timeZone</b> properties.
|
|
24522
24775
|
* @returns {any}
|
|
@@ -24601,8 +24854,14 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24601
24854
|
* Scrolls the Scheduler to a Date.
|
|
24602
24855
|
* @param {Date} date. The date to scroll to.
|
|
24603
24856
|
* @param {boolean} strictScroll?. Determines whether to scroll strictly to the date or not. This mean sthat the Scheduler wll scroll to the begining of the cell that corresponds to the target date.
|
|
24857
|
+
* @param {boolean} autoScroll?. Calculates the scroll positions and element bounds, then adds an offset to scroll within the middle of the view.
|
|
24858
|
+
*/
|
|
24859
|
+
scrollToDate(date: Date, strictScroll?: boolean, autoScroll?: boolean): void;
|
|
24860
|
+
/**
|
|
24861
|
+
* Navigates the Scheduler to a Date.
|
|
24862
|
+
* @param {Date} date. The date to navigate to.
|
|
24604
24863
|
*/
|
|
24605
|
-
|
|
24864
|
+
navigateToDate(date: Date): void;
|
|
24606
24865
|
/**
|
|
24607
24866
|
* Scrolls the Scheduler to an event.
|
|
24608
24867
|
* @param {any} index. The index of a Scheduler event or the actual event object to scroll to.
|
|
@@ -26375,6 +26634,11 @@ export interface TableProperties {
|
|
|
26375
26634
|
* Default value: null
|
|
26376
26635
|
*/
|
|
26377
26636
|
conditionalFormatting?: TableConditionalFormatting[];
|
|
26637
|
+
/**
|
|
26638
|
+
* Sets or gets the column menu. When you set this property to true, each column will have a column menu. From the column menu, you will be able to sort, filter, show or hide columns.
|
|
26639
|
+
* Default value: false
|
|
26640
|
+
*/
|
|
26641
|
+
columnMenu?: boolean;
|
|
26378
26642
|
/**
|
|
26379
26643
|
* Sets or gets the column sizing behavior. In 'auto' mode Columns are automatically sized based on their content and the value of the columnMinWidth property, unless there is not enough space in the Table, in which case ellipses are shown. User-set static column width is still respected. In 'default' mode Columns are sized according to the rules of the standard HTML table element's table-layout: fixed. Custom width can also be applied to columns in this case by setting the column width property.
|
|
26380
26644
|
* Default value: default
|
|
@@ -26485,6 +26749,11 @@ export interface TableProperties {
|
|
|
26485
26749
|
* Default value: false
|
|
26486
26750
|
*/
|
|
26487
26751
|
keyboardNavigation?: boolean;
|
|
26752
|
+
/**
|
|
26753
|
+
* Sets or gets whether the checkboxes are displayed in the selection column.
|
|
26754
|
+
* Default value: false
|
|
26755
|
+
*/
|
|
26756
|
+
hideSelectionColumn?: boolean;
|
|
26488
26757
|
/**
|
|
26489
26758
|
* Sets or gets the behavior when loading column settings either via autoLoadState or loadState. Applicable only when stateSettings contains 'columns'.
|
|
26490
26759
|
* Default value: implementationOnly
|
|
@@ -27195,10 +27464,15 @@ export interface TableDataSourceSettings {
|
|
|
27195
27464
|
*/
|
|
27196
27465
|
root?: string;
|
|
27197
27466
|
/**
|
|
27198
|
-
* Sets or gets the
|
|
27467
|
+
* Sets or gets the Table values espace mode. This property specifies how html tags will be espaced by the table. The default 'blackList' value includes the most commonly used tags for espace such as 'script'. The 'all' value espaces all tags, whereas 'none' does not escape any tags.
|
|
27199
27468
|
* Default value: blackList
|
|
27200
27469
|
*/
|
|
27201
27470
|
sanitizeHTML?: TableDataSourceSettingsSanitizeHTML;
|
|
27471
|
+
/**
|
|
27472
|
+
* Determines whether cell values will display the espaced values as text or html.
|
|
27473
|
+
* Default value: text
|
|
27474
|
+
*/
|
|
27475
|
+
sanitizeHTMLRender?: TableDataSourceSettingsSanitizeHTMLRender;
|
|
27202
27476
|
/**
|
|
27203
27477
|
* Sets or gets the XML binding record.
|
|
27204
27478
|
* Default value: ""
|
|
@@ -27291,8 +27565,10 @@ export declare type TableConditionalFormattingFontFamily = 'The default fontFami
|
|
|
27291
27565
|
export declare type TableConditionalFormattingFontSize = '8px' | '9px' | '10px' | '11px' | '12px' | '13px' | '14px' | '15px' | '16px';
|
|
27292
27566
|
/**Sets or gets the column sizing behavior. In 'auto' mode Columns are automatically sized based on their content and the value of the columnMinWidth property, unless there is not enough space in the Table, in which case ellipses are shown. User-set static column width is still respected. In 'default' mode Columns are sized according to the rules of the standard HTML table element's table-layout: fixed. Custom width can also be applied to columns in this case by setting the column width property. */
|
|
27293
27567
|
export declare type TableColumnSizeMode = 'auto' | 'default';
|
|
27294
|
-
/**Sets or gets the
|
|
27568
|
+
/**Sets or gets the Table values espace mode. This property specifies how html tags will be espaced by the table. The default 'blackList' value includes the most commonly used tags for espace such as 'script'. The 'all' value espaces all tags, whereas 'none' does not escape any tags. */
|
|
27295
27569
|
export declare type TableDataSourceSettingsSanitizeHTML = 'all' | 'blackList' | 'none';
|
|
27570
|
+
/**Determines whether cell values will display the espaced values as text or html. */
|
|
27571
|
+
export declare type TableDataSourceSettingsSanitizeHTMLRender = 'text' | 'html';
|
|
27296
27572
|
/**Sets the dataField type. */
|
|
27297
27573
|
export declare type TableDataSourceSettingsDataFieldDataType = 'string' | 'date' | 'boolean' | 'number' | 'array' | 'any';
|
|
27298
27574
|
/**Sets or gets whether the data source type. */
|