@smart-webcomponents-angular/phoneinput 10.3.4 → 13.0.9
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 +99 -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} +88 -51
- package/fesm2015/smart-webcomponents-angular-phoneinput.mjs.map +1 -0
- package/fesm2020/smart-webcomponents-angular-phoneinput.mjs +568 -0
- package/fesm2020/smart-webcomponents-angular-phoneinput.mjs.map +1 -0
- package/index.d.ts +369 -44
- 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 +2 -2
- 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 -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
|
|
@@ -8761,6 +8761,11 @@ export interface EditorProperties {
|
|
|
8761
8761
|
* Default value: ""
|
|
8762
8762
|
*/
|
|
8763
8763
|
placeholder?: string;
|
|
8764
|
+
/**
|
|
8765
|
+
* Determines whether the clearFormat toolbar action should also remove inline styles from the currently selected node.
|
|
8766
|
+
* Default value: false
|
|
8767
|
+
*/
|
|
8768
|
+
removeStylesOnClearFormat?: boolean;
|
|
8764
8769
|
/**
|
|
8765
8770
|
* Determines whether Editor's content is required ot not. If set and the Editor's content is empty, a notification will appear to notify that the Editor cannot be empty.
|
|
8766
8771
|
* Default value: false
|
|
@@ -9694,6 +9699,11 @@ export interface FileUploadProperties {
|
|
|
9694
9699
|
* Default value: false
|
|
9695
9700
|
*/
|
|
9696
9701
|
unfocusable?: boolean;
|
|
9702
|
+
/**
|
|
9703
|
+
* Gets the file upload value.
|
|
9704
|
+
* Default value: null
|
|
9705
|
+
*/
|
|
9706
|
+
value?: any;
|
|
9697
9707
|
/**
|
|
9698
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.
|
|
9699
9709
|
* Default value: null
|
|
@@ -12056,7 +12066,7 @@ export interface GanttChartProperties {
|
|
|
12056
12066
|
*/
|
|
12057
12067
|
popupWindowCustomizationFunction?: any;
|
|
12058
12068
|
/**
|
|
12059
|
-
* Determines which Tab items are visible inside the popup window. Three possible values are allowed: general - the general tab with task properties determines by the taskColumns property.dependency - the dependency tab which shows the connections to the task and allows to create/delete connections.segments - the segments tab which shows the segments of the task and allows to created/delete segments
|
|
12069
|
+
* Determines which Tab items are visible inside the popup window. Three possible values are allowed: general - the general tab with task properties determines by the taskColumns property.dependency - the dependency tab which shows the connections to the task and allows to create/delete connections.segments - the segments tab which shows the segments of the task and allows to created/delete segments..
|
|
12060
12070
|
* Default value: ['general', 'dependency', 'segments']
|
|
12061
12071
|
*/
|
|
12062
12072
|
popupWindowTabs?: string[];
|
|
@@ -13763,6 +13773,16 @@ export interface GridProperties {
|
|
|
13763
13773
|
* Default value: null
|
|
13764
13774
|
*/
|
|
13765
13775
|
onCommand?: {(name: string, command: any, details: GridCell, event: Event | KeyboardEvent | PointerEvent, handled: boolean): void};
|
|
13776
|
+
/**
|
|
13777
|
+
* 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.
|
|
13778
|
+
* Default value:
|
|
13779
|
+
*/
|
|
13780
|
+
currentUser?: string | number;
|
|
13781
|
+
/**
|
|
13782
|
+
* Sets the grid users. Expects an array with 'id', 'name' and optionally 'color' and 'image' properties.
|
|
13783
|
+
* Default value: []
|
|
13784
|
+
*/
|
|
13785
|
+
users?: any[];
|
|
13766
13786
|
/**
|
|
13767
13787
|
* Describes the paging settings.
|
|
13768
13788
|
* Default value: [object Object]
|
|
@@ -14056,9 +14076,10 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14056
14076
|
onEndEdit?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
14057
14077
|
/**
|
|
14058
14078
|
* This event is triggered, when a filter is added or removed.
|
|
14059
|
-
* @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)
|
|
14060
14080
|
* columns - Array of columns.
|
|
14061
|
-
* 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'
|
|
14062
14083
|
*/
|
|
14063
14084
|
onFilter?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
14064
14085
|
/**
|
|
@@ -14132,19 +14153,19 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14132
14153
|
addUnboundRow(count: number, position?: string): boolean;
|
|
14133
14154
|
/**
|
|
14134
14155
|
* Adds a filter to a column. This method will apply a filter to the Grid data.
|
|
14135
|
-
* @param {string} dataField. column bound data field
|
|
14136
|
-
* @param {string} filter. Filter expression like: 'startsWith B'
|
|
14137
|
-
* @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.
|
|
14138
14159
|
*/
|
|
14139
14160
|
addFilter(dataField: string, filter: string, refreshFilters?: boolean): void;
|
|
14140
14161
|
/**
|
|
14141
14162
|
* Groups the Grid by a data field. This method will add a group to the Grid when grouping is enabled.
|
|
14142
|
-
* @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.
|
|
14143
14164
|
*/
|
|
14144
14165
|
addGroup(dataField: string): void;
|
|
14145
14166
|
/**
|
|
14146
14167
|
* Sorts the Grid by a data field. This method will add a sorting to the Grid when sorting is enabled.
|
|
14147
|
-
* @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.
|
|
14148
14169
|
* @param {string} sortOrder. column's sort order. Use 'asc' or 'desc'.
|
|
14149
14170
|
*/
|
|
14150
14171
|
addSort(dataField: string, sortOrder: string): void;
|
|
@@ -14168,7 +14189,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14168
14189
|
/**
|
|
14169
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.
|
|
14170
14191
|
* @param {string | number} rowId. row bound id
|
|
14171
|
-
* @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.
|
|
14172
14193
|
*/
|
|
14173
14194
|
beginEdit(rowId: string | number, dataField?: string): void;
|
|
14174
14195
|
/**
|
|
@@ -14232,7 +14253,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14232
14253
|
/**
|
|
14233
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.
|
|
14234
14255
|
* @param {string | number} rowId. row bound id
|
|
14235
|
-
* @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.
|
|
14236
14257
|
* @returns {boolean}
|
|
14237
14258
|
*/
|
|
14238
14259
|
ensureVisible(rowId: string | number, dataField?: string): boolean;
|
|
@@ -14358,13 +14379,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14358
14379
|
/**
|
|
14359
14380
|
* Gets a value of a cell.
|
|
14360
14381
|
* @param {string | number} rowId. row bound id
|
|
14361
|
-
* @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.
|
|
14362
14383
|
* @returns {any}
|
|
14363
14384
|
*/
|
|
14364
14385
|
getCellValue(rowId: string | number, dataField: string): any;
|
|
14365
14386
|
/**
|
|
14366
14387
|
* Gets a value of a column.
|
|
14367
|
-
* @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.
|
|
14368
14389
|
* @param {string} propertyName. The property name.
|
|
14369
14390
|
* @returns {any}
|
|
14370
14391
|
*/
|
|
@@ -14405,13 +14426,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14405
14426
|
hideDetail(rowId: string | number): void;
|
|
14406
14427
|
/**
|
|
14407
14428
|
* Highlights a column. Highlights a Grid column.
|
|
14408
|
-
* @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.
|
|
14409
14430
|
*/
|
|
14410
14431
|
highlightColumn(dataField: string): void;
|
|
14411
14432
|
/**
|
|
14412
14433
|
* Highlights a cell. Calling the method a second time toggle the highlight state.
|
|
14413
14434
|
* @param {string | number} rowId. row bound id
|
|
14414
|
-
* @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.
|
|
14415
14436
|
* @param {string} className?. CSS Class Name
|
|
14416
14437
|
*/
|
|
14417
14438
|
highlightCell(rowId: string | number, dataField: string, className?: string): void;
|
|
@@ -14423,7 +14444,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14423
14444
|
highlightRow(rowId: string | number, className?: string): void;
|
|
14424
14445
|
/**
|
|
14425
14446
|
* Opens a column drop-down menu.
|
|
14426
|
-
* @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.
|
|
14427
14448
|
*/
|
|
14428
14449
|
openMenu(dataField: string): void;
|
|
14429
14450
|
/**
|
|
@@ -14444,18 +14465,18 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14444
14465
|
refreshView(): void;
|
|
14445
14466
|
/**
|
|
14446
14467
|
* Removes a column filter.
|
|
14447
|
-
* @param {string} dataField. column bound data field
|
|
14448
|
-
* @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.
|
|
14449
14470
|
*/
|
|
14450
14471
|
removeFilter(dataField: string, refreshFilters?: boolean): void;
|
|
14451
14472
|
/**
|
|
14452
14473
|
* Removes a group by data field. This method will remove a group to the Grid when grouping is enabled.
|
|
14453
|
-
* @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.
|
|
14454
14475
|
*/
|
|
14455
14476
|
removeGroup(dataField: string): void;
|
|
14456
14477
|
/**
|
|
14457
14478
|
* Removes a sorting by data field. This method will remove a sorting from a Grid column.
|
|
14458
|
-
* @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.
|
|
14459
14480
|
*/
|
|
14460
14481
|
removeSort(dataField: string): void;
|
|
14461
14482
|
/**
|
|
@@ -14475,7 +14496,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14475
14496
|
reorderColumns(dataField: string | number, referenceDataField: string | number, insertAfter?: boolean): void;
|
|
14476
14497
|
/**
|
|
14477
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.
|
|
14478
|
-
* @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.
|
|
14479
14500
|
* @param {string | null} sortOrder. column's sort order. Use 'asc', 'desc' or null.
|
|
14480
14501
|
*/
|
|
14481
14502
|
sortBy(dataField: string, sortOrder: string | null): void;
|
|
@@ -14526,13 +14547,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14526
14547
|
/**
|
|
14527
14548
|
* Sets a new value to a cell.
|
|
14528
14549
|
* @param {string | number} rowId. row bound id
|
|
14529
|
-
* @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.
|
|
14530
14551
|
* @param {string | number | Date | boolean} value. New Cell value.
|
|
14531
14552
|
*/
|
|
14532
14553
|
setCellValue(rowId: string | number, dataField: string, value: string | number | Date | boolean): void;
|
|
14533
14554
|
/**
|
|
14534
14555
|
* Sets a property to a column.
|
|
14535
|
-
* @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.
|
|
14536
14557
|
* @param {string} propertyName. The column property's name.
|
|
14537
14558
|
* @param {any} value. The new property value.
|
|
14538
14559
|
*/
|
|
@@ -14569,7 +14590,7 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14569
14590
|
/**
|
|
14570
14591
|
* Unselects a row, cell or column.
|
|
14571
14592
|
* @param {string | number} rowId. row bound id
|
|
14572
|
-
* @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.
|
|
14573
14594
|
*/
|
|
14574
14595
|
unselect(rowId: string | number, dataField?: string): void;
|
|
14575
14596
|
/**
|
|
@@ -14750,6 +14771,11 @@ export interface GridAppearance {
|
|
|
14750
14771
|
* Default value: true
|
|
14751
14772
|
*/
|
|
14752
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;
|
|
14753
14779
|
/**
|
|
14754
14780
|
* Shows filtered column background, when filter is applied.
|
|
14755
14781
|
* Default value: true
|
|
@@ -14839,6 +14865,11 @@ export interface GridBehavior {
|
|
|
14839
14865
|
* Default value: false
|
|
14840
14866
|
*/
|
|
14841
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;
|
|
14842
14873
|
/**
|
|
14843
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
|
|
14844
14875
|
* Default value: none
|
|
@@ -14858,6 +14889,11 @@ export interface GridLayout {
|
|
|
14858
14889
|
* Default value: false
|
|
14859
14890
|
*/
|
|
14860
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;
|
|
14861
14897
|
/**
|
|
14862
14898
|
* Sets the width of the auto-generated Grid columns.
|
|
14863
14899
|
* Default value: null
|
|
@@ -15041,7 +15077,7 @@ export interface GridColumn {
|
|
|
15041
15077
|
*/
|
|
15042
15078
|
freeze?: Position;
|
|
15043
15079
|
/**
|
|
15044
|
-
* 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'
|
|
15045
15081
|
* Default value: ""
|
|
15046
15082
|
*/
|
|
15047
15083
|
filter?: string;
|
|
@@ -15111,7 +15147,7 @@ export interface GridColumn {
|
|
|
15111
15147
|
*/
|
|
15112
15148
|
width?: string | number;
|
|
15113
15149
|
/**
|
|
15114
|
-
* 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.
|
|
15115
15151
|
* Default value:
|
|
15116
15152
|
*/
|
|
15117
15153
|
template?: any;
|
|
@@ -15862,7 +15898,7 @@ export interface GridFiltering {
|
|
|
15862
15898
|
*/
|
|
15863
15899
|
enabled?: boolean;
|
|
15864
15900
|
/**
|
|
15865
|
-
* 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'
|
|
15866
15902
|
* Default value:
|
|
15867
15903
|
*/
|
|
15868
15904
|
filter?: any[];
|
|
@@ -16291,6 +16327,11 @@ export interface GridSummaryRow {
|
|
|
16291
16327
|
* Default value: false
|
|
16292
16328
|
*/
|
|
16293
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;
|
|
16294
16335
|
}
|
|
16295
16336
|
|
|
16296
16337
|
/**Describes the settings for the group header. */
|
|
@@ -17142,11 +17183,21 @@ export interface KanbanProperties {
|
|
|
17142
17183
|
* Default value: false
|
|
17143
17184
|
*/
|
|
17144
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;
|
|
17145
17191
|
/**
|
|
17146
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.
|
|
17147
17193
|
* Default value: false
|
|
17148
17194
|
*/
|
|
17149
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;
|
|
17150
17201
|
/**
|
|
17151
17202
|
* Sets or gets whether a column with a button for adding new status columns to the Kanban will be displayed.
|
|
17152
17203
|
* Default value: false
|
|
@@ -17162,11 +17213,6 @@ export interface KanbanProperties {
|
|
|
17162
17213
|
* Default value: true
|
|
17163
17214
|
*/
|
|
17164
17215
|
allowDrop?: boolean;
|
|
17165
|
-
/**
|
|
17166
|
-
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
17167
|
-
* Default value: advanced
|
|
17168
|
-
*/
|
|
17169
|
-
animation?: Animation;
|
|
17170
17216
|
/**
|
|
17171
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.
|
|
17172
17218
|
* Default value: true
|
|
@@ -17182,6 +17228,11 @@ export interface KanbanProperties {
|
|
|
17182
17228
|
* Default value: false
|
|
17183
17229
|
*/
|
|
17184
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;
|
|
17185
17236
|
/**
|
|
17186
17237
|
* Describes the columns properties.
|
|
17187
17238
|
* Default value:
|
|
@@ -17267,6 +17318,16 @@ export interface KanbanProperties {
|
|
|
17267
17318
|
* Default value: zeroOrOne
|
|
17268
17319
|
*/
|
|
17269
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;
|
|
17270
17331
|
/**
|
|
17271
17332
|
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
17272
17333
|
* Default value: false
|
|
@@ -17322,6 +17383,26 @@ export interface KanbanProperties {
|
|
|
17322
17383
|
* Default value: false
|
|
17323
17384
|
*/
|
|
17324
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;
|
|
17325
17406
|
/**
|
|
17326
17407
|
* Toggles the visibility of task tags.
|
|
17327
17408
|
* Default value: true
|
|
@@ -17342,6 +17423,16 @@ export interface KanbanProperties {
|
|
|
17342
17423
|
* Default value: ""
|
|
17343
17424
|
*/
|
|
17344
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[];
|
|
17345
17436
|
/**
|
|
17346
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.
|
|
17347
17438
|
* Default value: false
|
|
@@ -17424,6 +17515,55 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17424
17515
|
* collapsed - The column's collapsed state.
|
|
17425
17516
|
*/
|
|
17426
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;
|
|
17427
17567
|
/**
|
|
17428
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.
|
|
17429
17569
|
* @param event. The custom event. Custom data event was created with: ev.detail(container, data, item, items, originalEvent, previousContainer, target)
|
|
@@ -17478,16 +17618,26 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17478
17618
|
onSort?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17479
17619
|
/**
|
|
17480
17620
|
* This event is triggered when a new task is added.
|
|
17481
|
-
* @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)
|
|
17482
17622
|
* value - The task data that is added to the Kanban.
|
|
17623
|
+
* id - The task data id.
|
|
17483
17624
|
*/
|
|
17484
17625
|
onTaskAdd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17485
17626
|
/**
|
|
17486
17627
|
* This event is triggered when a task is removed.
|
|
17487
|
-
* @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)
|
|
17488
17629
|
* value - The task data that is removed from the Kanban.
|
|
17630
|
+
* id - The task data id.
|
|
17489
17631
|
*/
|
|
17490
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;
|
|
17491
17641
|
/**
|
|
17492
17642
|
* Adds filtering
|
|
17493
17643
|
* @param {string[]} filters. Filter information
|
|
@@ -17528,6 +17678,15 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17528
17678
|
* @param {number | string} column. The index or dataField of the column to collapse
|
|
17529
17679
|
*/
|
|
17530
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;
|
|
17531
17690
|
/**
|
|
17532
17691
|
* Creates a copy of a task in the same column.
|
|
17533
17692
|
* @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
|
|
@@ -17566,6 +17725,18 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17566
17725
|
* @returns {any}
|
|
17567
17726
|
*/
|
|
17568
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;
|
|
17569
17740
|
/**
|
|
17570
17741
|
* Gets the Kanban's state.
|
|
17571
17742
|
* @returns
|
|
@@ -17617,6 +17788,25 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17617
17788
|
* Saves the Kanban's state to the browser's localStorage.
|
|
17618
17789
|
*/
|
|
17619
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;
|
|
17620
17810
|
/**
|
|
17621
17811
|
* Updates a task.
|
|
17622
17812
|
* @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
|
|
@@ -17672,6 +17862,11 @@ export interface KanbanColumn {
|
|
|
17672
17862
|
* Default value: true
|
|
17673
17863
|
*/
|
|
17674
17864
|
editable?: boolean;
|
|
17865
|
+
/**
|
|
17866
|
+
* Sets or gets whether a column is visible.
|
|
17867
|
+
* Default value: true
|
|
17868
|
+
*/
|
|
17869
|
+
visible?: boolean;
|
|
17675
17870
|
/**
|
|
17676
17871
|
* Sets or gets whether a column can be reordered.
|
|
17677
17872
|
* Default value: true
|
|
@@ -17720,6 +17915,16 @@ export interface KanbanDataSource {
|
|
|
17720
17915
|
* Default value: null
|
|
17721
17916
|
*/
|
|
17722
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;
|
|
17723
17928
|
/**
|
|
17724
17929
|
* The task's priority.
|
|
17725
17930
|
* Default value: normal
|
|
@@ -17780,6 +17985,19 @@ export interface KanbanSwimlane {
|
|
|
17780
17985
|
label?: string;
|
|
17781
17986
|
}
|
|
17782
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
|
+
|
|
17783
18001
|
export interface KanbanUser {
|
|
17784
18002
|
/**
|
|
17785
18003
|
* Sets whether the user has a privilege to add or copy tasks.
|
|
@@ -17833,6 +18051,8 @@ declare global {
|
|
|
17833
18051
|
}
|
|
17834
18052
|
}
|
|
17835
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';
|
|
17836
18056
|
/**Sets or gets whether the tasks in the column flow vertically or horizontally. */
|
|
17837
18057
|
export declare type KanbanColumnOrientation = 'vertical' | 'horizontal';
|
|
17838
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. */
|
|
@@ -17847,6 +18067,8 @@ export declare type KanbanHierarchy = 'columns' | 'tabs';
|
|
|
17847
18067
|
export declare type KanbanSelectionMode = 'zeroOrOne' | 'zeroOrManyExtended';
|
|
17848
18068
|
/**Sets or gets whether tasks can be shown in all levels of column hierarchy or only on leaf columns. */
|
|
17849
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';
|
|
17850
18072
|
export interface LayoutProperties {
|
|
17851
18073
|
/**
|
|
17852
18074
|
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
@@ -20153,6 +20375,11 @@ export interface MultiComboInputProperties {
|
|
|
20153
20375
|
* Default value: false
|
|
20154
20376
|
*/
|
|
20155
20377
|
selectAll?: boolean;
|
|
20378
|
+
/**
|
|
20379
|
+
* Gets or sets an array of selected values.
|
|
20380
|
+
* Default value:
|
|
20381
|
+
*/
|
|
20382
|
+
selectedValues?: any;
|
|
20156
20383
|
/**
|
|
20157
20384
|
* Determines whether the items are sorted alphabetically or not
|
|
20158
20385
|
* Default value: false
|
|
@@ -20355,6 +20582,11 @@ export interface MultiInputProperties {
|
|
|
20355
20582
|
* Default value: ","
|
|
20356
20583
|
*/
|
|
20357
20584
|
separator?: string;
|
|
20585
|
+
/**
|
|
20586
|
+
* Gets or sets an array of selected values.
|
|
20587
|
+
* Default value:
|
|
20588
|
+
*/
|
|
20589
|
+
selectedValues?: any;
|
|
20358
20590
|
/**
|
|
20359
20591
|
* Determines whether an additional item is displayed as the first item in the options list, which allows to select/unselect all items.
|
|
20360
20592
|
* Default value: false
|
|
@@ -22621,11 +22853,11 @@ export interface PivotTable extends BaseElement, PivotTableProperties {
|
|
|
22621
22853
|
/**
|
|
22622
22854
|
* Exports the PivotTable's data.
|
|
22623
22855
|
* @param {string} dataFormat. The file format to export to. Supported formats: 'csv', 'html', 'json', 'pdf', 'tsv', 'xlsx', 'xml'.
|
|
22624
|
-
* @param {string} fileName
|
|
22856
|
+
* @param {string} fileName. The name of the file to export to
|
|
22625
22857
|
* @param {Function} callback?. A callback function to pass the exported data to (if fileName is not provided)
|
|
22626
22858
|
* @returns {any}
|
|
22627
22859
|
*/
|
|
22628
|
-
exportData(dataFormat: string, fileName
|
|
22860
|
+
exportData(dataFormat: string, fileName: string, callback?: Function): any;
|
|
22629
22861
|
/**
|
|
22630
22862
|
* Returns the current dynamic pivot columns.
|
|
22631
22863
|
* @returns {any}
|
|
@@ -23294,7 +23526,7 @@ export interface QueryBuilderCustomOperation {
|
|
|
23294
23526
|
handleValue?: any;
|
|
23295
23527
|
/**
|
|
23296
23528
|
* A boolean condition that specifies whether the operation requires a value or not.
|
|
23297
|
-
* Default value:
|
|
23529
|
+
* Default value: false
|
|
23298
23530
|
*/
|
|
23299
23531
|
hideValue?: boolean;
|
|
23300
23532
|
/**
|
|
@@ -23979,6 +24211,11 @@ export interface SchedulerProperties {
|
|
|
23979
24211
|
* Default value: near
|
|
23980
24212
|
*/
|
|
23981
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;
|
|
23982
24219
|
/**
|
|
23983
24220
|
* Determines weather or not horizontal scrollbar is shown.
|
|
23984
24221
|
* Default value: auto
|
|
@@ -24079,6 +24316,21 @@ export interface SchedulerProperties {
|
|
|
24079
24316
|
* Default value: false
|
|
24080
24317
|
*/
|
|
24081
24318
|
showLegend?: boolean;
|
|
24319
|
+
/**
|
|
24320
|
+
* Determines the name of the resource data item property that will be used for sorting the resource data defined as the resource.dataSource.
|
|
24321
|
+
* Default value: "null"
|
|
24322
|
+
*/
|
|
24323
|
+
sortBy?: string;
|
|
24324
|
+
/**
|
|
24325
|
+
* Allows to define a custom sorting function that will be used to sort the resource data. The sortFunction is used when sortOrder is set to custom.
|
|
24326
|
+
* Default value: null
|
|
24327
|
+
*/
|
|
24328
|
+
sortFunction?: any;
|
|
24329
|
+
/**
|
|
24330
|
+
* Determines the sorting order of the resource data items. When set to custom, a custom sorting function has to be defined for the sortFunction property. The asc stands for 'ascending' while desc means 'descending' sorting order.
|
|
24331
|
+
* Default value: asc
|
|
24332
|
+
*/
|
|
24333
|
+
sortOrder?: SchedulerSortOrder;
|
|
24082
24334
|
/**
|
|
24083
24335
|
* Determines the repeating delay of the repeat buttons inside the header of the element. Such buttons are the Date navigation buttons and the view scroll buttons.
|
|
24084
24336
|
* Default value: 80
|
|
@@ -24295,6 +24547,14 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24295
24547
|
* originalEvent - The original event object.
|
|
24296
24548
|
*/
|
|
24297
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;
|
|
24298
24558
|
/**
|
|
24299
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.
|
|
24300
24560
|
* @param event. The custom event. Custom data event was created with: ev.detail(target, item, itemDateRange, originalEvent)
|
|
@@ -24462,6 +24722,15 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24462
24722
|
* Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
|
|
24463
24723
|
*/
|
|
24464
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;
|
|
24465
24734
|
/**
|
|
24466
24735
|
* Ends the update operation. This method will resume the rendering and will refresh the element.
|
|
24467
24736
|
*/
|
|
@@ -24487,6 +24756,20 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24487
24756
|
* @returns {any}
|
|
24488
24757
|
*/
|
|
24489
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;
|
|
24490
24773
|
/**
|
|
24491
24774
|
* Returns the current state of the Scheduler. Includes the current <b>dateCurernt</b>, <b>dataSource</b> and <b>timeZone</b> properties.
|
|
24492
24775
|
* @returns {any}
|
|
@@ -24571,8 +24854,14 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24571
24854
|
* Scrolls the Scheduler to a Date.
|
|
24572
24855
|
* @param {Date} date. The date to scroll to.
|
|
24573
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.
|
|
24574
24858
|
*/
|
|
24575
|
-
scrollToDate(date: Date, strictScroll?: boolean): void;
|
|
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.
|
|
24863
|
+
*/
|
|
24864
|
+
navigateToDate(date: Date): void;
|
|
24576
24865
|
/**
|
|
24577
24866
|
* Scrolls the Scheduler to an event.
|
|
24578
24867
|
* @param {any} index. The index of a Scheduler event or the actual event object to scroll to.
|
|
@@ -24855,6 +25144,21 @@ export interface SchedulerResource {
|
|
|
24855
25144
|
* Default value:
|
|
24856
25145
|
*/
|
|
24857
25146
|
dataSource?: any;
|
|
25147
|
+
/**
|
|
25148
|
+
* Determines the property name to sort the dataSource by.
|
|
25149
|
+
* Default value: "null"
|
|
25150
|
+
*/
|
|
25151
|
+
sortBy?: string;
|
|
25152
|
+
/**
|
|
25153
|
+
* Determines the custom sorting function that will be used to sort the resource dataSource. The sortFunction is used when sortOrder is set to custom.
|
|
25154
|
+
* Default value: null
|
|
25155
|
+
*/
|
|
25156
|
+
sortFunction?: any;
|
|
25157
|
+
/**
|
|
25158
|
+
* Determines the sorting order. When set to custom, a custom sorting function has to be defined for the sortFunction property. The asc stands for 'ascending' while desc means 'descending' sorting order.
|
|
25159
|
+
* Default value: asc
|
|
25160
|
+
*/
|
|
25161
|
+
sortOrder?: SchedulerResourceSortOrder;
|
|
24858
25162
|
}
|
|
24859
25163
|
|
|
24860
25164
|
export interface SchedulerStatuse {
|
|
@@ -24908,8 +25212,12 @@ export declare type SchedulerLegendPosition = 'near' | 'far';
|
|
|
24908
25212
|
export declare type MinuteFormat = '2-digit' | 'numeric';
|
|
24909
25213
|
/**Determines the visibility of the resize handles. */
|
|
24910
25214
|
export declare type ResizeHandlesVisibility = 'auto' | 'hidden' | 'visible';
|
|
25215
|
+
/**Determines the sorting order. When set to <b>custom</b>, a custom sorting function has to be defined for the <b>sortFunction</b> property. The <b>asc</b> stands for 'ascending' while <b>desc</b> means 'descending' sorting order. */
|
|
25216
|
+
export declare type SchedulerResourceSortOrder = 'asc' | 'desc' | 'custom';
|
|
24911
25217
|
/** Determines the position of the date navigation navigation buttons inside the header of the element. */
|
|
24912
25218
|
export declare type SchedulerScrollButtonsPosition = 'both' | 'far' | 'near';
|
|
25219
|
+
/**Determines the sorting order of the resource data items. When set to <b>custom</b>, a custom sorting function has to be defined for the <b>sortFunction</b> property. The <b>asc</b> stands for 'ascending' while <b>desc</b> means 'descending' sorting order. */
|
|
25220
|
+
export declare type SchedulerSortOrder = 'asc' | 'desc' | 'custom';
|
|
24913
25221
|
/**Determines the date scale for the timeline cells. */
|
|
24914
25222
|
export declare type SchedulerTimelineDayScale = 'hour' | 'halfHour' | 'quarterHour' | 'tenMinutes' | 'fiveMinutes';
|
|
24915
25223
|
/**Determines the timeZone for the element. By default if the local time zone is used if the property is not set. */
|
|
@@ -26326,6 +26634,11 @@ export interface TableProperties {
|
|
|
26326
26634
|
* Default value: null
|
|
26327
26635
|
*/
|
|
26328
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;
|
|
26329
26642
|
/**
|
|
26330
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.
|
|
26331
26644
|
* Default value: default
|
|
@@ -26436,6 +26749,11 @@ export interface TableProperties {
|
|
|
26436
26749
|
* Default value: false
|
|
26437
26750
|
*/
|
|
26438
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;
|
|
26439
26757
|
/**
|
|
26440
26758
|
* Sets or gets the behavior when loading column settings either via autoLoadState or loadState. Applicable only when stateSettings contains 'columns'.
|
|
26441
26759
|
* Default value: implementationOnly
|
|
@@ -27146,10 +27464,15 @@ export interface TableDataSourceSettings {
|
|
|
27146
27464
|
*/
|
|
27147
27465
|
root?: string;
|
|
27148
27466
|
/**
|
|
27149
|
-
* 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.
|
|
27150
27468
|
* Default value: blackList
|
|
27151
27469
|
*/
|
|
27152
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;
|
|
27153
27476
|
/**
|
|
27154
27477
|
* Sets or gets the XML binding record.
|
|
27155
27478
|
* Default value: ""
|
|
@@ -27242,8 +27565,10 @@ export declare type TableConditionalFormattingFontFamily = 'The default fontFami
|
|
|
27242
27565
|
export declare type TableConditionalFormattingFontSize = '8px' | '9px' | '10px' | '11px' | '12px' | '13px' | '14px' | '15px' | '16px';
|
|
27243
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. */
|
|
27244
27567
|
export declare type TableColumnSizeMode = 'auto' | 'default';
|
|
27245
|
-
/**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. */
|
|
27246
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';
|
|
27247
27572
|
/**Sets the dataField type. */
|
|
27248
27573
|
export declare type TableDataSourceSettingsDataFieldDataType = 'string' | 'date' | 'boolean' | 'number' | 'array' | 'any';
|
|
27249
27574
|
/**Sets or gets whether the data source type. */
|