@smart-webcomponents-angular/tooltip 11.0.0 → 13.0.1
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/esm2020/tooltip/index.mjs +2 -0
- package/{esm2015/tooltip/public_api.js → esm2020/tooltip/public_api.mjs} +0 -0
- package/{esm2015/tooltip/smart-webcomponents-angular-tooltip.js → esm2020/tooltip/smart-webcomponents-angular-tooltip.mjs} +2 -3
- package/esm2020/tooltip/smart.element.mjs +96 -0
- package/esm2020/tooltip/smart.tooltip.mjs +313 -0
- package/esm2020/tooltip/smart.tooltip.module.mjs +18 -0
- package/fesm2015/{smart-webcomponents-angular-tooltip.js → smart-webcomponents-angular-tooltip.mjs} +90 -53
- package/fesm2015/smart-webcomponents-angular-tooltip.mjs.map +1 -0
- package/fesm2020/smart-webcomponents-angular-tooltip.mjs +435 -0
- package/fesm2020/smart-webcomponents-angular-tooltip.mjs.map +1 -0
- package/index.d.ts +275 -18
- package/package.json +26 -24
- package/source/modules/smart.tooltip.js +1 -1
- package/source/smart.button.js +1 -1
- package/source/smart.element.js +2 -2
- package/source/smart.tooltip.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.tooltip.css +1 -1
- package/tooltip/index.d.ts +1 -0
- package/tooltip/smart-webcomponents-angular-tooltip.d.ts +2 -2
- package/tooltip/smart.element.d.ts +4 -1
- package/tooltip/smart.tooltip.d.ts +3 -0
- package/tooltip/smart.tooltip.module.d.ts +5 -0
- package/bundles/smart-webcomponents-angular-tooltip.umd.js +0 -828
- package/bundles/smart-webcomponents-angular-tooltip.umd.min.js +0 -25
- package/esm2015/tooltip/smart.element.js +0 -83
- package/esm2015/tooltip/smart.tooltip.js +0 -292
- package/esm2015/tooltip/smart.tooltip.module.js +0 -13
- package/fesm2015/smart-webcomponents-angular-tooltip.js.map +0 -1
- package/tooltip/smart-webcomponents-angular-tooltip.metadata.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-webcomponents-angular-tooltip.mjs","sources":["../../tooltip/src/smart.element.ts","../../tooltip/src/smart.tooltip.ts","../../tooltip/src/smart.tooltip.module.ts","../../tooltip/src/smart-webcomponents-angular-tooltip.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { ElementRef, Input, Output, Directive, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n@Directive()\nexport class BaseElement {\n constructor(ref: ElementRef) {\n const that = this;\n this.nativeElement = ref.nativeElement as any;\n\n that.nativeElement.onAttached = () => {\n that.onAttach.emit(that.nativeElement);\n }\n\n that.nativeElement.onDetached = () => {\n that.onDetach.emit(that.nativeElement);\n }\n }\n\n @Output() onCreate: EventEmitter<any> = new EventEmitter();\n @Output() onReady: EventEmitter<any> = new EventEmitter();\n @Output() onAttach: EventEmitter<any> = new EventEmitter();\n @Output() onDetach: EventEmitter<any> = new EventEmitter();\n\n public nativeElement: any;\n\n public addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n this.nativeElement.addEventListener(type, listener, options);\n\t}\n\n\tpublic removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n\t\tthis.nativeElement.removeEventListener(type, listener, options);\n\t}\n\n\tpublic dispatchEvent(event: Event): boolean {\n\t\treturn this.nativeElement.dispatchEvent(event);\n\t}\n\n\tpublic blur(): void {\n\t\tthis.nativeElement.blur();\n\t}\n\n\tpublic click(): void {\n\t\tthis.nativeElement.click();\n\t}\n\n\tpublic focus(options?: FocusOptions): void {\n\t\tthis.nativeElement.focus(options);\n\t}\n\n/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n}\n\nexport const Smart: any = window.Smart;\n\n","import { Tooltip } from './../index';\nimport { Animation, TooltipArrowDirection, TooltipOpenMode, TooltipPosition, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, TooltipArrowDirection, TooltipOpenMode, TooltipPosition, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { Tooltip } from './../index';\n\n\n@Directive({\n\tselector: 'smart-tooltip, [smart-tooltip]'\n})\n\nexport class TooltipComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<Tooltip>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as Tooltip;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic nativeElement: Tooltip;\n\t/** @description Creates the component on demand.\n\t * @param properties An optional object of properties, which will be added to the template binded ones.\n\t */\n\tpublic createComponent(properties = {}): any {\n \tthis.nativeElement = <Tooltip>document.createElement('smart-tooltip');\n\t\tfor (let propertyName in properties) { \n \t\t\tthis.nativeElement[propertyName] = properties[propertyName];\n\t\t}\n\t\treturn this.nativeElement;\n\t}\n\t/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */\n\t@Input()\n\tget animation(): Animation {\n\t\treturn this.nativeElement ? this.nativeElement.animation : undefined;\n\t}\n\tset animation(value: Animation) {\n\t\tthis.nativeElement ? this.nativeElement.animation = value : undefined;\n\t}\n\n\t/** @description Determines how to align the tooltip. */\n\t@Input()\n\tget align(): string {\n\t\treturn this.nativeElement ? this.nativeElement.align : undefined;\n\t}\n\tset align(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.align = value : undefined;\n\t}\n\n\t/** @description Gets or sets whether a tooltip's arrow will be shown. */\n\t@Input()\n\tget arrow(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.arrow : undefined;\n\t}\n\tset arrow(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.arrow = value : undefined;\n\t}\n\n\t/** @description Sets the position of the arrow. */\n\t@Input()\n\tget arrowDirection(): TooltipArrowDirection {\n\t\treturn this.nativeElement ? this.nativeElement.arrowDirection : undefined;\n\t}\n\tset arrowDirection(value: TooltipArrowDirection) {\n\t\tthis.nativeElement ? this.nativeElement.arrowDirection = value : undefined;\n\t}\n\n\t/** @description Gets or sets whether a tooltip's arrow will be shown. */\n\t@Input()\n\tget delay(): number {\n\t\treturn this.nativeElement ? this.nativeElement.delay : undefined;\n\t}\n\tset delay(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.delay = value : undefined;\n\t}\n\n\t/** @description Enables or disables the tooltip. */\n\t@Input()\n\tget disabled(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disabled : undefined;\n\t}\n\tset disabled(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disabled = value : undefined;\n\t}\n\n\t/** @description Sets an offset by X and Y. */\n\t@Input()\n\tget offset(): number[] {\n\t\treturn this.nativeElement ? this.nativeElement.offset : undefined;\n\t}\n\tset offset(value: number[]) {\n\t\tthis.nativeElement ? this.nativeElement.offset = value : undefined;\n\t}\n\n\t/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback, related to localization module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property language. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the way of triggering the tooltip. */\n\t@Input()\n\tget openMode(): TooltipOpenMode {\n\t\treturn this.nativeElement ? this.nativeElement.openMode : undefined;\n\t}\n\tset openMode(value: TooltipOpenMode) {\n\t\tthis.nativeElement ? this.nativeElement.openMode = value : undefined;\n\t}\n\n\t/** @description Gets or sets the position of the tooltip. */\n\t@Input()\n\tget position(): TooltipPosition {\n\t\treturn this.nativeElement ? this.nativeElement.position : undefined;\n\t}\n\tset position(value: TooltipPosition) {\n\t\tthis.nativeElement ? this.nativeElement.position = value : undefined;\n\t}\n\n\t/** @description Sets the element which triggers the tooltip. */\n\t@Input()\n\tget selector(): string | HTMLElement {\n\t\treturn this.nativeElement ? this.nativeElement.selector : undefined;\n\t}\n\tset selector(value: string | HTMLElement) {\n\t\tthis.nativeElement ? this.nativeElement.selector = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n\n\t/** @description Sets custom tooltip template. */\n\t@Input()\n\tget tooltipTemplate(): any {\n\t\treturn this.nativeElement ? this.nativeElement.tooltipTemplate : undefined;\n\t}\n\tset tooltipTemplate(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.tooltipTemplate = value : undefined;\n\t}\n\n\t/** @description If is set to true, the element cannot be focused. */\n\t@Input()\n\tget unfocusable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.unfocusable : undefined;\n\t}\n\tset unfocusable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.unfocusable = value : undefined;\n\t}\n\n\t/** @description Sets or gets the widget's value. */\n\t@Input()\n\tget value(): string {\n\t\treturn this.nativeElement ? this.nativeElement.value : undefined;\n\t}\n\tset value(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.value = value : undefined;\n\t}\n\n\t/** @description Sets or gets the visibility of the tooltip. */\n\t@Input()\n\tget visible(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.visible : undefined;\n\t}\n\tset visible(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.visible = value : undefined;\n\t}\n\n\t/** @description This event is triggered when the tooltip is opened.\n\t* @param event. The custom event. \t*/\n\t@Output() onOpen: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered before the tooltip is opened. The event can be prevented via event.preventDefault().\n\t* @param event. The custom event. \t*/\n\t@Output() onOpening: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the tooltip is closed.\n\t* @param event. The custom event. \t*/\n\t@Output() onClose: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered before the tooltip is closed. The event can be prevented via event.preventDefault().\n\t* @param event. The custom event. \t*/\n\t@Output() onClosing: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Closes smart-tooltip. \n\t*/\n public close(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.close();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.close();\n });\n }\n }\n\n\t/** @description Opens smart-tooltip. \n\t*/\n public open(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.open();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.open();\n });\n }\n }\n\n\t/** @description Toggles smart-tooltip. \n\t*/\n public toggle(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.toggle();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.toggle();\n });\n }\n }\n\n\t/** @description Clears the content of the Tooltip. \n\t*/\n public clear(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.clear();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.clear();\n });\n }\n }\n\n\n\tget isRendered(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isRendered : false;\n\t}\n\n\tngOnInit() {\n\t}\n\n ngAfterViewInit() {\n const that = this;\n\n that.onCreate.emit(that.nativeElement);\n\n\t\tSmart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tthis.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });\n\t\tthis.listen();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.unlisten();\n\t}\n\n\tngOnChanges(changes: SimpleChanges) {\n\t\tif (this.nativeElement && this.nativeElement.isRendered) {\n\t\t\tfor (const propName in changes) {\n\t\t\t\tif (changes.hasOwnProperty(propName)) {\n\t\t\t\t\tthis.nativeElement[propName] = changes[propName].currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @description Add event listeners. */\n\tprivate listen(): void {\n const that = this;\n\t\tthat.eventHandlers['openHandler'] = (event: CustomEvent) => { that.onOpen.emit(event); }\n\t\tthat.nativeElement.addEventListener('open', that.eventHandlers['openHandler']);\n\n\t\tthat.eventHandlers['openingHandler'] = (event: CustomEvent) => { that.onOpening.emit(event); }\n\t\tthat.nativeElement.addEventListener('opening', that.eventHandlers['openingHandler']);\n\n\t\tthat.eventHandlers['closeHandler'] = (event: CustomEvent) => { that.onClose.emit(event); }\n\t\tthat.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);\n\n\t\tthat.eventHandlers['closingHandler'] = (event: CustomEvent) => { that.onClosing.emit(event); }\n\t\tthat.nativeElement.addEventListener('closing', that.eventHandlers['closingHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['openHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('open', that.eventHandlers['openHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['openingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('opening', that.eventHandlers['openingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['closeHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['closingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('closing', that.eventHandlers['closingHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { TooltipComponent } from './smart.tooltip';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [TooltipComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [TooltipComponent]\n})\n\nexport class TooltipModule { }\n","/**\n *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
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
|
|
@@ -14765,6 +14770,11 @@ export interface GridAppearance {
|
|
|
14765
14770
|
* Default value: true
|
|
14766
14771
|
*/
|
|
14767
14772
|
showRowLines?: boolean;
|
|
14773
|
+
/**
|
|
14774
|
+
* 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.
|
|
14775
|
+
* Default value: false
|
|
14776
|
+
*/
|
|
14777
|
+
showColumnGroupsInColumnPanel?: boolean;
|
|
14768
14778
|
/**
|
|
14769
14779
|
* Shows filtered column background, when filter is applied.
|
|
14770
14780
|
* Default value: true
|
|
@@ -14854,6 +14864,11 @@ export interface GridBehavior {
|
|
|
14854
14864
|
* Default value: false
|
|
14855
14865
|
*/
|
|
14856
14866
|
allowColumnReorder?: boolean;
|
|
14867
|
+
/**
|
|
14868
|
+
* 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.
|
|
14869
|
+
* Default value: false
|
|
14870
|
+
*/
|
|
14871
|
+
allowColumnFreeze?: boolean;
|
|
14857
14872
|
/**
|
|
14858
14873
|
* 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
14874
|
* Default value: none
|
|
@@ -14873,6 +14888,11 @@ export interface GridLayout {
|
|
|
14873
14888
|
* Default value: false
|
|
14874
14889
|
*/
|
|
14875
14890
|
allowCellsWrap?: boolean;
|
|
14891
|
+
/**
|
|
14892
|
+
* Automatically sets width to any new Column which does not have its 'width' property set.
|
|
14893
|
+
* Default value: false
|
|
14894
|
+
*/
|
|
14895
|
+
autoSizeNewColumn?: boolean;
|
|
14876
14896
|
/**
|
|
14877
14897
|
* Sets the width of the auto-generated Grid columns.
|
|
14878
14898
|
* Default value: null
|
|
@@ -15126,7 +15146,7 @@ export interface GridColumn {
|
|
|
15126
15146
|
*/
|
|
15127
15147
|
width?: string | number;
|
|
15128
15148
|
/**
|
|
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.
|
|
15149
|
+
* 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
15150
|
* Default value:
|
|
15131
15151
|
*/
|
|
15132
15152
|
template?: any;
|
|
@@ -16306,6 +16326,11 @@ export interface GridSummaryRow {
|
|
|
16306
16326
|
* Default value: false
|
|
16307
16327
|
*/
|
|
16308
16328
|
visible?: boolean;
|
|
16329
|
+
/**
|
|
16330
|
+
* 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.
|
|
16331
|
+
* Default value: false
|
|
16332
|
+
*/
|
|
16333
|
+
editing?: boolean;
|
|
16309
16334
|
}
|
|
16310
16335
|
|
|
16311
16336
|
/**Describes the settings for the group header. */
|
|
@@ -17157,11 +17182,21 @@ export interface KanbanProperties {
|
|
|
17157
17182
|
* Default value: false
|
|
17158
17183
|
*/
|
|
17159
17184
|
allowColumnRemove?: boolean;
|
|
17185
|
+
/**
|
|
17186
|
+
* 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.
|
|
17187
|
+
* Default value: false
|
|
17188
|
+
*/
|
|
17189
|
+
allowColumnHide?: boolean;
|
|
17160
17190
|
/**
|
|
17161
17191
|
* 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
17192
|
* Default value: false
|
|
17163
17193
|
*/
|
|
17164
17194
|
addNewButton?: boolean;
|
|
17195
|
+
/**
|
|
17196
|
+
* Determines whether the add button is visible in the column header and/or after the tasks in the column.
|
|
17197
|
+
* Default value: both
|
|
17198
|
+
*/
|
|
17199
|
+
addNewButtonDisplayMode?: KanbanAddNewButtonDisplayMode;
|
|
17165
17200
|
/**
|
|
17166
17201
|
* Sets or gets whether a column with a button for adding new status columns to the Kanban will be displayed.
|
|
17167
17202
|
* Default value: false
|
|
@@ -17177,11 +17212,6 @@ export interface KanbanProperties {
|
|
|
17177
17212
|
* Default value: true
|
|
17178
17213
|
*/
|
|
17179
17214
|
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
17215
|
/**
|
|
17186
17216
|
* 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
17217
|
* Default value: true
|
|
@@ -17197,6 +17227,11 @@ export interface KanbanProperties {
|
|
|
17197
17227
|
* Default value: false
|
|
17198
17228
|
*/
|
|
17199
17229
|
collapsible?: boolean;
|
|
17230
|
+
/**
|
|
17231
|
+
* Displays colors in the column header, when the column's color property is set.
|
|
17232
|
+
* Default value: false
|
|
17233
|
+
*/
|
|
17234
|
+
columnColors?: boolean;
|
|
17200
17235
|
/**
|
|
17201
17236
|
* Describes the columns properties.
|
|
17202
17237
|
* Default value:
|
|
@@ -17282,6 +17317,16 @@ export interface KanbanProperties {
|
|
|
17282
17317
|
* Default value: zeroOrOne
|
|
17283
17318
|
*/
|
|
17284
17319
|
selectionMode?: KanbanSelectionMode;
|
|
17320
|
+
/**
|
|
17321
|
+
* Sets or gets whether the tasks history will be stored and displayed in the task dialog.
|
|
17322
|
+
* Default value: false
|
|
17323
|
+
*/
|
|
17324
|
+
storeHistory?: boolean;
|
|
17325
|
+
/**
|
|
17326
|
+
* Sets or gets the task history items that will be stored when storeHistory is enabled.
|
|
17327
|
+
* Default value: 20
|
|
17328
|
+
*/
|
|
17329
|
+
storeHistoryItems?: number;
|
|
17285
17330
|
/**
|
|
17286
17331
|
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
17287
17332
|
* Default value: false
|
|
@@ -17337,6 +17382,26 @@ export interface KanbanProperties {
|
|
|
17337
17382
|
* Default value: false
|
|
17338
17383
|
*/
|
|
17339
17384
|
taskProgress?: boolean;
|
|
17385
|
+
/**
|
|
17386
|
+
* 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.
|
|
17387
|
+
* Default value:
|
|
17388
|
+
*/
|
|
17389
|
+
taskCustomFields?: any;
|
|
17390
|
+
/**
|
|
17391
|
+
* The task's background color depends on the task's color property. By default the color is rendered within the task's left border.
|
|
17392
|
+
* Default value: false
|
|
17393
|
+
*/
|
|
17394
|
+
taskColorEntireSurface?: boolean;
|
|
17395
|
+
/**
|
|
17396
|
+
* 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'.
|
|
17397
|
+
* Default value: true
|
|
17398
|
+
*/
|
|
17399
|
+
taskSubTasksInput?: boolean;
|
|
17400
|
+
/**
|
|
17401
|
+
* 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.
|
|
17402
|
+
* Default value: none
|
|
17403
|
+
*/
|
|
17404
|
+
taskSubTasks?: KanbanTaskSubTasks;
|
|
17340
17405
|
/**
|
|
17341
17406
|
* Toggles the visibility of task tags.
|
|
17342
17407
|
* Default value: true
|
|
@@ -17357,6 +17422,16 @@ export interface KanbanProperties {
|
|
|
17357
17422
|
* Default value: ""
|
|
17358
17423
|
*/
|
|
17359
17424
|
theme?: string;
|
|
17425
|
+
/**
|
|
17426
|
+
* 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.
|
|
17427
|
+
* Default value: false
|
|
17428
|
+
*/
|
|
17429
|
+
priorityList?: boolean;
|
|
17430
|
+
/**
|
|
17431
|
+
* Determines the priority Kanban tasks can be assigned to. Example: [{label: 'low', value: 'low'}, {label: 'high', value: 'high'}]
|
|
17432
|
+
* Default value:
|
|
17433
|
+
*/
|
|
17434
|
+
priority?: KanbanPriority[];
|
|
17360
17435
|
/**
|
|
17361
17436
|
* 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
17437
|
* Default value: false
|
|
@@ -17439,6 +17514,55 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17439
17514
|
* collapsed - The column's collapsed state.
|
|
17440
17515
|
*/
|
|
17441
17516
|
onColumnDoubleClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17517
|
+
/**
|
|
17518
|
+
* This event is triggered when a column is shown by using the column's action menu or the Kanban's 'show' method.
|
|
17519
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17520
|
+
* label - The column label.
|
|
17521
|
+
* dataField - The column data field.
|
|
17522
|
+
*/
|
|
17523
|
+
onColumnShow?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17524
|
+
/**
|
|
17525
|
+
* This event is triggered when a column is hidden by using the column's action menu or the Kanban's 'hide' method.
|
|
17526
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17527
|
+
* label - The column label.
|
|
17528
|
+
* dataField - The column data field.
|
|
17529
|
+
*/
|
|
17530
|
+
onColumnHide?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17531
|
+
/**
|
|
17532
|
+
* This event is triggered when a column is collapsed by using the column's action menu or the Kanban's 'collapse' method.
|
|
17533
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17534
|
+
* label - The column label.
|
|
17535
|
+
* dataField - The column data field.
|
|
17536
|
+
*/
|
|
17537
|
+
onColumnCollapse?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17538
|
+
/**
|
|
17539
|
+
* This event is triggered when a column is expanded by using the column's action menu or the Kanban's 'expand' method.
|
|
17540
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(label, dataField)
|
|
17541
|
+
* label - The column label.
|
|
17542
|
+
* dataField - The column data field.
|
|
17543
|
+
*/
|
|
17544
|
+
onColumnExpand?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17545
|
+
/**
|
|
17546
|
+
* This event is triggered when a comment is added to the Kanban Task.
|
|
17547
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(id, value)
|
|
17548
|
+
* id - The task's id.
|
|
17549
|
+
* value - The comment object. It has 'text: string, time: Date and userId:number' properties.
|
|
17550
|
+
*/
|
|
17551
|
+
onCommentAdd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17552
|
+
/**
|
|
17553
|
+
* This event is triggered when a comment is removed from the Kanban Task.
|
|
17554
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(id, value)
|
|
17555
|
+
* id - The task's id.
|
|
17556
|
+
* value - The comment object. It has 'text: string, time: Date and userId:number' properties.
|
|
17557
|
+
*/
|
|
17558
|
+
onCommentRemove?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17559
|
+
/**
|
|
17560
|
+
* This event is triggered when a comment is updated in the Kanban Task.
|
|
17561
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(id, value)
|
|
17562
|
+
* id - The task's id.
|
|
17563
|
+
* value - The comment object. It has 'text: string, time: Date and userId:number' properties.
|
|
17564
|
+
*/
|
|
17565
|
+
onCommentUpdate?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17442
17566
|
/**
|
|
17443
17567
|
* 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
17568
|
* @param event. The custom event. Custom data event was created with: ev.detail(container, data, item, items, originalEvent, previousContainer, target)
|
|
@@ -17493,16 +17617,26 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17493
17617
|
onSort?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17494
17618
|
/**
|
|
17495
17619
|
* 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)
|
|
17620
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, id)
|
|
17497
17621
|
* value - The task data that is added to the Kanban.
|
|
17622
|
+
* id - The task data id.
|
|
17498
17623
|
*/
|
|
17499
17624
|
onTaskAdd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17500
17625
|
/**
|
|
17501
17626
|
* This event is triggered when a task is removed.
|
|
17502
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(value)
|
|
17627
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, id)
|
|
17503
17628
|
* value - The task data that is removed from the Kanban.
|
|
17629
|
+
* id - The task data id.
|
|
17504
17630
|
*/
|
|
17505
17631
|
onTaskRemove?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17632
|
+
/**
|
|
17633
|
+
* This event is triggered when a task is updated.
|
|
17634
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(value, oldValue, id)
|
|
17635
|
+
* value - The task data that is updated.
|
|
17636
|
+
* oldValue - The update task's old data.
|
|
17637
|
+
* id - The task data id.
|
|
17638
|
+
*/
|
|
17639
|
+
onTaskUpdate?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17506
17640
|
/**
|
|
17507
17641
|
* Adds filtering
|
|
17508
17642
|
* @param {string[]} filters. Filter information
|
|
@@ -17543,6 +17677,15 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17543
17677
|
* @param {number | string} column. The index or dataField of the column to collapse
|
|
17544
17678
|
*/
|
|
17545
17679
|
collapse(column: number | string): void;
|
|
17680
|
+
/**
|
|
17681
|
+
* Clears the Kanban's selection.
|
|
17682
|
+
*/
|
|
17683
|
+
clearSelection(): void;
|
|
17684
|
+
/**
|
|
17685
|
+
* Hides a Kanban column.
|
|
17686
|
+
* @param {number | string} column. The index or dataField of the column to hide
|
|
17687
|
+
*/
|
|
17688
|
+
hide(column: number | string): void;
|
|
17546
17689
|
/**
|
|
17547
17690
|
* Creates a copy of a task in the same column.
|
|
17548
17691
|
* @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
|
|
@@ -17581,6 +17724,18 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17581
17724
|
* @returns {any}
|
|
17582
17725
|
*/
|
|
17583
17726
|
getColumn(dataField: string): any;
|
|
17727
|
+
/**
|
|
17728
|
+
* 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'
|
|
17729
|
+
* @param {number} id. The task's id
|
|
17730
|
+
* @returns {any}
|
|
17731
|
+
*/
|
|
17732
|
+
getTask(id: number): any;
|
|
17733
|
+
/**
|
|
17734
|
+
* Gets the selected ids. The returned value is an array. Each item in the array is the 'id' of a selected task.
|
|
17735
|
+
* @param {number} id. The task's id
|
|
17736
|
+
* @returns {any}
|
|
17737
|
+
*/
|
|
17738
|
+
getSelectedTasks(id: number): any;
|
|
17584
17739
|
/**
|
|
17585
17740
|
* Gets the Kanban's state.
|
|
17586
17741
|
* @returns
|
|
@@ -17632,6 +17787,25 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17632
17787
|
* Saves the Kanban's state to the browser's localStorage.
|
|
17633
17788
|
*/
|
|
17634
17789
|
saveState(): void;
|
|
17790
|
+
/**
|
|
17791
|
+
* Shows a Kanban column.
|
|
17792
|
+
* @param {number | string} column. The index or dataField of the column to show
|
|
17793
|
+
*/
|
|
17794
|
+
show(column: number | string): void;
|
|
17795
|
+
/**
|
|
17796
|
+
* Shows all Kanban columns.
|
|
17797
|
+
*/
|
|
17798
|
+
showAllColumns(): void;
|
|
17799
|
+
/**
|
|
17800
|
+
* Selects a task.
|
|
17801
|
+
* @param {number | string} task. The task's id.
|
|
17802
|
+
*/
|
|
17803
|
+
selectTask(task: number | string): void;
|
|
17804
|
+
/**
|
|
17805
|
+
* Unselects a task.
|
|
17806
|
+
* @param {number | string} task. The task's id.
|
|
17807
|
+
*/
|
|
17808
|
+
unselectTask(task: number | string): void;
|
|
17635
17809
|
/**
|
|
17636
17810
|
* Updates a task.
|
|
17637
17811
|
* @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
|
|
@@ -17687,6 +17861,11 @@ export interface KanbanColumn {
|
|
|
17687
17861
|
* Default value: true
|
|
17688
17862
|
*/
|
|
17689
17863
|
editable?: boolean;
|
|
17864
|
+
/**
|
|
17865
|
+
* Sets or gets whether a column is visible.
|
|
17866
|
+
* Default value: true
|
|
17867
|
+
*/
|
|
17868
|
+
visible?: boolean;
|
|
17690
17869
|
/**
|
|
17691
17870
|
* Sets or gets whether a column can be reordered.
|
|
17692
17871
|
* Default value: true
|
|
@@ -17735,6 +17914,16 @@ export interface KanbanDataSource {
|
|
|
17735
17914
|
* Default value: null
|
|
17736
17915
|
*/
|
|
17737
17916
|
dueDate?: Date;
|
|
17917
|
+
/**
|
|
17918
|
+
* Callback function which can be used for customizing the tasks rendering. The Kanban calls it with 2 arguments - task html element and task data.
|
|
17919
|
+
* Default value: null
|
|
17920
|
+
*/
|
|
17921
|
+
onTaskRender?: any;
|
|
17922
|
+
/**
|
|
17923
|
+
* 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.
|
|
17924
|
+
* Default value: null
|
|
17925
|
+
*/
|
|
17926
|
+
onColumnHeaderRender?: any;
|
|
17738
17927
|
/**
|
|
17739
17928
|
* The task's priority.
|
|
17740
17929
|
* Default value: normal
|
|
@@ -17795,6 +17984,19 @@ export interface KanbanSwimlane {
|
|
|
17795
17984
|
label?: string;
|
|
17796
17985
|
}
|
|
17797
17986
|
|
|
17987
|
+
export interface KanbanPriority {
|
|
17988
|
+
/**
|
|
17989
|
+
* The priority label displayed.
|
|
17990
|
+
* Default value: ""
|
|
17991
|
+
*/
|
|
17992
|
+
label?: string;
|
|
17993
|
+
/**
|
|
17994
|
+
* The priority value.
|
|
17995
|
+
* Default value: ""
|
|
17996
|
+
*/
|
|
17997
|
+
value?: string;
|
|
17998
|
+
}
|
|
17999
|
+
|
|
17798
18000
|
export interface KanbanUser {
|
|
17799
18001
|
/**
|
|
17800
18002
|
* Sets whether the user has a privilege to add or copy tasks.
|
|
@@ -17848,6 +18050,8 @@ declare global {
|
|
|
17848
18050
|
}
|
|
17849
18051
|
}
|
|
17850
18052
|
|
|
18053
|
+
/**Determines whether the add button is visible in the column header and/or after the tasks in the column. */
|
|
18054
|
+
export declare type KanbanAddNewButtonDisplayMode = 'top' | 'bottom' | 'both';
|
|
17851
18055
|
/**Sets or gets whether the tasks in the column flow vertically or horizontally. */
|
|
17852
18056
|
export declare type KanbanColumnOrientation = 'vertical' | 'horizontal';
|
|
17853
18057
|
/**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 +18066,8 @@ export declare type KanbanHierarchy = 'columns' | 'tabs';
|
|
|
17862
18066
|
export declare type KanbanSelectionMode = 'zeroOrOne' | 'zeroOrManyExtended';
|
|
17863
18067
|
/**Sets or gets whether tasks can be shown in all levels of column hierarchy or only on leaf columns. */
|
|
17864
18068
|
export declare type KanbanTaskPosition = 'all' | 'leaf';
|
|
18069
|
+
/**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. */
|
|
18070
|
+
export declare type KanbanTaskSubTasks = 'none' | 'onePerRow' | 'onlyUnfinished';
|
|
17865
18071
|
export interface LayoutProperties {
|
|
17866
18072
|
/**
|
|
17867
18073
|
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
@@ -20168,6 +20374,11 @@ export interface MultiComboInputProperties {
|
|
|
20168
20374
|
* Default value: false
|
|
20169
20375
|
*/
|
|
20170
20376
|
selectAll?: boolean;
|
|
20377
|
+
/**
|
|
20378
|
+
* Gets or sets an array of selected values.
|
|
20379
|
+
* Default value:
|
|
20380
|
+
*/
|
|
20381
|
+
selectedValues?: any;
|
|
20171
20382
|
/**
|
|
20172
20383
|
* Determines whether the items are sorted alphabetically or not
|
|
20173
20384
|
* Default value: false
|
|
@@ -20370,6 +20581,11 @@ export interface MultiInputProperties {
|
|
|
20370
20581
|
* Default value: ","
|
|
20371
20582
|
*/
|
|
20372
20583
|
separator?: string;
|
|
20584
|
+
/**
|
|
20585
|
+
* Gets or sets an array of selected values.
|
|
20586
|
+
* Default value:
|
|
20587
|
+
*/
|
|
20588
|
+
selectedValues?: any;
|
|
20373
20589
|
/**
|
|
20374
20590
|
* Determines whether an additional item is displayed as the first item in the options list, which allows to select/unselect all items.
|
|
20375
20591
|
* Default value: false
|
|
@@ -22636,11 +22852,11 @@ export interface PivotTable extends BaseElement, PivotTableProperties {
|
|
|
22636
22852
|
/**
|
|
22637
22853
|
* Exports the PivotTable's data.
|
|
22638
22854
|
* @param {string} dataFormat. The file format to export to. Supported formats: 'csv', 'html', 'json', 'pdf', 'tsv', 'xlsx', 'xml'.
|
|
22639
|
-
* @param {string} fileName
|
|
22855
|
+
* @param {string} fileName. The name of the file to export to
|
|
22640
22856
|
* @param {Function} callback?. A callback function to pass the exported data to (if fileName is not provided)
|
|
22641
22857
|
* @returns {any}
|
|
22642
22858
|
*/
|
|
22643
|
-
exportData(dataFormat: string, fileName
|
|
22859
|
+
exportData(dataFormat: string, fileName: string, callback?: Function): any;
|
|
22644
22860
|
/**
|
|
22645
22861
|
* Returns the current dynamic pivot columns.
|
|
22646
22862
|
* @returns {any}
|
|
@@ -23994,6 +24210,11 @@ export interface SchedulerProperties {
|
|
|
23994
24210
|
* Default value: near
|
|
23995
24211
|
*/
|
|
23996
24212
|
legendPosition?: SchedulerLegendPosition;
|
|
24213
|
+
/**
|
|
24214
|
+
* 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.
|
|
24215
|
+
* Default value: -1
|
|
24216
|
+
*/
|
|
24217
|
+
mouseWheelStep?: number;
|
|
23997
24218
|
/**
|
|
23998
24219
|
* Determines weather or not horizontal scrollbar is shown.
|
|
23999
24220
|
* Default value: auto
|
|
@@ -24492,6 +24713,15 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24492
24713
|
* Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
|
|
24493
24714
|
*/
|
|
24494
24715
|
beginUpdate(): void;
|
|
24716
|
+
/**
|
|
24717
|
+
* Creates an event and adds it to the Scheduler.
|
|
24718
|
+
* @param {string} label. Event label.
|
|
24719
|
+
* @param {string} value. Event value.
|
|
24720
|
+
* @param {string} dateStart. Event date start.
|
|
24721
|
+
* @param {string} dateEnd. Event date end.
|
|
24722
|
+
* @param {boolean} allDay. Event all day. Set it to true to create all day event.
|
|
24723
|
+
*/
|
|
24724
|
+
createEvent(label: string, value: string, dateStart: string, dateEnd: string, allDay: boolean): void;
|
|
24495
24725
|
/**
|
|
24496
24726
|
* Ends the update operation. This method will resume the rendering and will refresh the element.
|
|
24497
24727
|
*/
|
|
@@ -24517,6 +24747,20 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24517
24747
|
* @returns {any}
|
|
24518
24748
|
*/
|
|
24519
24749
|
getResources(): any;
|
|
24750
|
+
/**
|
|
24751
|
+
* Gets a date from coordinates
|
|
24752
|
+
* @param {number} x. X coordinate.
|
|
24753
|
+
* @param {number} y. Y coordinate.
|
|
24754
|
+
* @returns {string}
|
|
24755
|
+
*/
|
|
24756
|
+
getDateFromCoordinates(x: number, y: number): string;
|
|
24757
|
+
/**
|
|
24758
|
+
* Gets whether a cell is all day cell from coordinates
|
|
24759
|
+
* @param {number} x. X coordinate.
|
|
24760
|
+
* @param {number} y. Y coordinate.
|
|
24761
|
+
* @returns {boolean}
|
|
24762
|
+
*/
|
|
24763
|
+
getIsAllDayCellFromCoordinates(x: number, y: number): boolean;
|
|
24520
24764
|
/**
|
|
24521
24765
|
* Returns the current state of the Scheduler. Includes the current <b>dateCurernt</b>, <b>dataSource</b> and <b>timeZone</b> properties.
|
|
24522
24766
|
* @returns {any}
|
|
@@ -24601,8 +24845,14 @@ export interface Scheduler extends BaseElement, SchedulerProperties {
|
|
|
24601
24845
|
* Scrolls the Scheduler to a Date.
|
|
24602
24846
|
* @param {Date} date. The date to scroll to.
|
|
24603
24847
|
* @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.
|
|
24848
|
+
* @param {boolean} autoScroll?. Calculates the scroll positions and element bounds, then adds an offset to scroll within the middle of the view.
|
|
24849
|
+
*/
|
|
24850
|
+
scrollToDate(date: Date, strictScroll?: boolean, autoScroll?: boolean): void;
|
|
24851
|
+
/**
|
|
24852
|
+
* Navigates the Scheduler to a Date.
|
|
24853
|
+
* @param {Date} date. The date to navigate to.
|
|
24604
24854
|
*/
|
|
24605
|
-
|
|
24855
|
+
navigateToDate(date: Date): void;
|
|
24606
24856
|
/**
|
|
24607
24857
|
* Scrolls the Scheduler to an event.
|
|
24608
24858
|
* @param {any} index. The index of a Scheduler event or the actual event object to scroll to.
|
|
@@ -27195,10 +27445,15 @@ export interface TableDataSourceSettings {
|
|
|
27195
27445
|
*/
|
|
27196
27446
|
root?: string;
|
|
27197
27447
|
/**
|
|
27198
|
-
* Sets or gets the
|
|
27448
|
+
* 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
27449
|
* Default value: blackList
|
|
27200
27450
|
*/
|
|
27201
27451
|
sanitizeHTML?: TableDataSourceSettingsSanitizeHTML;
|
|
27452
|
+
/**
|
|
27453
|
+
* Determines whether cell values will display the espaced values as text or html.
|
|
27454
|
+
* Default value: text
|
|
27455
|
+
*/
|
|
27456
|
+
sanitizeHTMLRender?: TableDataSourceSettingsSanitizeHTMLRender;
|
|
27202
27457
|
/**
|
|
27203
27458
|
* Sets or gets the XML binding record.
|
|
27204
27459
|
* Default value: ""
|
|
@@ -27291,8 +27546,10 @@ export declare type TableConditionalFormattingFontFamily = 'The default fontFami
|
|
|
27291
27546
|
export declare type TableConditionalFormattingFontSize = '8px' | '9px' | '10px' | '11px' | '12px' | '13px' | '14px' | '15px' | '16px';
|
|
27292
27547
|
/**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
27548
|
export declare type TableColumnSizeMode = 'auto' | 'default';
|
|
27294
|
-
/**Sets or gets the
|
|
27549
|
+
/**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
27550
|
export declare type TableDataSourceSettingsSanitizeHTML = 'all' | 'blackList' | 'none';
|
|
27551
|
+
/**Determines whether cell values will display the espaced values as text or html. */
|
|
27552
|
+
export declare type TableDataSourceSettingsSanitizeHTMLRender = 'text' | 'html';
|
|
27296
27553
|
/**Sets the dataField type. */
|
|
27297
27554
|
export declare type TableDataSourceSettingsDataFieldDataType = 'string' | 'date' | 'boolean' | 'number' | 'array' | 'any';
|
|
27298
27555
|
/**Sets or gets whether the data source type. */
|