UNPKG

smart-webcomponents-angular

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

1 lines 125 kB
{"version":3,"file":"smart-webcomponents-angular-kanban.mjs","sources":["../../kanban/src/smart.element.ts","../../kanban/src/smart.kanban.ts","../../kanban/src/smart.kanban.module.ts","../../kanban/src/smart-webcomponents-angular-kanban.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n\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 license. */\n\t@Input()\n\tget license(): string {\n\t\treturn this.nativeElement ? this.nativeElement.license : undefined;\n\t}\n\tset license(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.license = value : undefined;\n\t}\n\t\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\nlet Smart: any;\nif (typeof window !== \"undefined\") {\n\tSmart = window.Smart;\n}\nexport { Smart };\n\n","import { Kanban } from './../index';\nimport { KanbanAddNewButtonDisplayMode, KanbanColumnOrientation, KanbanColumnEditMode, KanbanEditMode, KanbanHeaderPosition, KanbanHierarchy, KanbanSelectionMode, KanbanTaskPosition, KanbanTaskSubTasks, KanbanColumn, KanbanDataSource, KanbanSwimlane, KanbanPriority, KanbanUser, ElementRenderMode} from './../index';\nimport { DataAdapter } from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { KanbanAddNewButtonDisplayMode, KanbanColumnOrientation, KanbanColumnEditMode, KanbanEditMode, KanbanHeaderPosition, KanbanHierarchy, KanbanSelectionMode, KanbanTaskPosition, KanbanTaskSubTasks, KanbanColumn, KanbanDataSource, KanbanSwimlane, KanbanPriority, KanbanUser, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { Kanban } from './../index';\nexport { DataAdapter } from './../index';\n\n\n@Directive({\n\texportAs: 'smart-kanban',\tselector: 'smart-kanban, [smart-kanban]'\n})\n\nexport class KanbanComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<Kanban>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as Kanban;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic declare nativeElement: Kanban;\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 = <Kanban>document.createElement('smart-kanban');\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 Enables or disables column reordering. When this property is set to true and allowDrag is enabled, users will be able to reoder columns through drag & drop. For example: Click and drag the first column's header and drop it over another column. */\n\t@Input()\n\tget allowColumnReorder(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowColumnReorder : undefined;\n\t}\n\tset allowColumnReorder(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowColumnReorder = value : undefined;\n\t}\n\n\t/** @description Enables or disables column editing. When this property is set to true, users will be able to dynamically change the column's header label by double clicking on it. */\n\t@Input()\n\tget allowColumnEdit(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowColumnEdit : undefined;\n\t}\n\tset allowColumnEdit(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowColumnEdit = value : undefined;\n\t}\n\n\t/** @description Enables or disables column removing. When this property is set to true, users will be able to dynamically remove a column through the column actions menu. the 'columnActions' property should be true. */\n\t@Input()\n\tget allowColumnRemove(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowColumnRemove : undefined;\n\t}\n\tset allowColumnRemove(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowColumnRemove = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget allowColumnHide(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowColumnHide : undefined;\n\t}\n\tset allowColumnHide(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowColumnHide = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget addNewButton(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.addNewButton : undefined;\n\t}\n\tset addNewButton(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.addNewButton = value : undefined;\n\t}\n\n\t/** @description Determines whether the add button is visible in the column header and/or after the tasks in the column. */\n\t@Input()\n\tget addNewButtonDisplayMode(): KanbanAddNewButtonDisplayMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.addNewButtonDisplayMode : undefined;\n\t}\n\tset addNewButtonDisplayMode(value: KanbanAddNewButtonDisplayMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.addNewButtonDisplayMode = value : undefined;\n\t}\n\n\t/** @description Sets or gets whether a column with a button for adding new status columns to the Kanban will be displayed. */\n\t@Input()\n\tget addNewColumn(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.addNewColumn : undefined;\n\t}\n\tset addNewColumn(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.addNewColumn = value : undefined;\n\t}\n\n\t/** @description Sets the width of the add new column. The property is used, if the 'columnWidth' property is set, too. It specifies the width of the dynamic new column. */\n\t@Input()\n\tget addNewColumnWidth(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.addNewColumnWidth : undefined;\n\t}\n\tset addNewColumnWidth(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.addNewColumnWidth = value : undefined;\n\t}\n\n\t/** @description Allows the dragging of tasks. */\n\t@Input()\n\tget allowDrag(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowDrag : undefined;\n\t}\n\tset allowDrag(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowDrag = value : undefined;\n\t}\n\n\t/** @description Allows the dropping of tasks. */\n\t@Input()\n\tget allowDrop(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowDrop : undefined;\n\t}\n\tset allowDrop(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowDrop = value : undefined;\n\t}\n\n\t/** @description Allows the dropping of tasks placeholder. When you drag a task over another task it will make an empty space for the task. */\n\t@Input()\n\tget allowDropPlaceholder(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.allowDropPlaceholder : undefined;\n\t}\n\tset allowDropPlaceholder(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.allowDropPlaceholder = value : undefined;\n\t}\n\n\t/** @description This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog. */\n\t@Input()\n\tget applyColumnColorToTasks(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.applyColumnColorToTasks : undefined;\n\t}\n\tset applyColumnColorToTasks(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.applyColumnColorToTasks = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget autoLoadState(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.autoLoadState : undefined;\n\t}\n\tset autoLoadState(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.autoLoadState = value : undefined;\n\t}\n\n\t/** @description Enables or disables auto save state to 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 saved. */\n\t@Input()\n\tget autoSaveState(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.autoSaveState : undefined;\n\t}\n\tset autoSaveState(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.autoSaveState = value : undefined;\n\t}\n\n\t/** @description Automatically updates the columns height depending on the tasks inside the column. The effect of this property is observed when 'columnColorEntireSurface' is true. */\n\t@Input()\n\tget autoColumnHeight(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.autoColumnHeight : undefined;\n\t}\n\tset autoColumnHeight(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.autoColumnHeight = value : undefined;\n\t}\n\n\t/** @description Allows collapsing the card content. */\n\t@Input()\n\tget collapsible(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.collapsible : undefined;\n\t}\n\tset collapsible(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.collapsible = value : undefined;\n\t}\n\n\t/** @description Displays colors in the column header, when the column's color property is set. */\n\t@Input()\n\tget columnColors(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.columnColors : undefined;\n\t}\n\tset columnColors(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.columnColors = value : undefined;\n\t}\n\n\t/** @description Sets the Kanban columns width. When this property is set, the kanban columns width is set and a horizontal scrollbar may appear. */\n\t@Input()\n\tget columnWidth(): number | null {\n\t\treturn this.nativeElement ? this.nativeElement.columnWidth : undefined;\n\t}\n\tset columnWidth(value: number | null) {\n\t\tthis.nativeElement ? this.nativeElement.columnWidth = value : undefined;\n\t}\n\n\t/** @description Displays background in the Kanban column. */\n\t@Input()\n\tget columnColorEntireSurface(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.columnColorEntireSurface : undefined;\n\t}\n\tset columnColorEntireSurface(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.columnColorEntireSurface = value : undefined;\n\t}\n\n\t/** @description Displays a column footer which shows the summary of the column. */\n\t@Input()\n\tget columnFooter(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.columnFooter : undefined;\n\t}\n\tset columnFooter(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.columnFooter = value : undefined;\n\t}\n\n\t/** @description Describes the columns properties. */\n\t@Input()\n\tget columns(): KanbanColumn[] {\n\t\treturn this.nativeElement ? this.nativeElement.columns : undefined;\n\t}\n\tset columns(value: KanbanColumn[]) {\n\t\tthis.nativeElement ? this.nativeElement.columns = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of the column actions icon. */\n\t@Input()\n\tget columnActions(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.columnActions : undefined;\n\t}\n\tset columnActions(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.columnActions = value : undefined;\n\t}\n\n\t/** @description Determines whether task count information is displayed in column headers. */\n\t@Input()\n\tget columnSummary(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.columnSummary : undefined;\n\t}\n\tset columnSummary(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.columnSummary = value : undefined;\n\t}\n\n\t/** @description Determines whether a column header has a template. You can pass 'string', 'function' or HTMLTemplateElement as a value. */\n\t@Input()\n\tget columnHeaderTemplate(): any {\n\t\treturn this.nativeElement ? this.nativeElement.columnHeaderTemplate : undefined;\n\t}\n\tset columnHeaderTemplate(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.columnHeaderTemplate = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget columnEditMode(): KanbanColumnEditMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.columnEditMode : undefined;\n\t}\n\tset columnEditMode(value: KanbanColumnEditMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.columnEditMode = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget currentUser(): string | number {\n\t\treturn this.nativeElement ? this.nativeElement.currentUser : undefined;\n\t}\n\tset currentUser(value: string | number) {\n\t\tthis.nativeElement ? this.nativeElement.currentUser = value : undefined;\n\t}\n\n\t/** @description Sets or gets whether the default dialog for adding/removing tasks or comments is disabled. */\n\t@Input()\n\tget disableDialog(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disableDialog : undefined;\n\t}\n\tset disableDialog(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disableDialog = value : undefined;\n\t}\n\n\t/** @description Sets or gets a customization function for the dialog. This function can be used to customize the dialog look or to replace it. The Kanban calls this function with 5 arguments - 'dialog', 'taskOrComment', 'editors', 'purpose' and 'type'. The dialog is the 'smart-window' instance used as a default Kanban dialog. 'taskOrComment' is object which could be Kanban task or comment. 'purpose' could be 'add' or 'edit' and 'type' could be 'task' or 'column' depending on the action. */\n\t@Input()\n\tget dialogCustomizationFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.dialogCustomizationFunction : undefined;\n\t}\n\tset dialogCustomizationFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.dialogCustomizationFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets a function called when the dialog is rendered. The Kanban calls this function with 6 arguments - 'dialog', 'editors', 'labels', 'tabs', 'layout', 'taskOrComment'. The dialog is the 'smart-window' instance used as a default Kanban dialog. 'taskOrComment' is object which could be Kanban task or comment. 'editors', 'labels', 'tabs' and 'layout' are JSON objects with key which describes the element type and value which is HTML Element. */\n\t@Input()\n\tget dialogRendered(): any {\n\t\treturn this.nativeElement ? this.nativeElement.dialogRendered : undefined;\n\t}\n\tset dialogRendered(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.dialogRendered = value : undefined;\n\t}\n\n\t/** @description Determines the data source to be visualized in the kanban board. */\n\t@Input()\n\tget dataSource(): KanbanDataSource[] {\n\t\treturn this.nativeElement ? this.nativeElement.dataSource : undefined;\n\t}\n\tset dataSource(value: KanbanDataSource[]) {\n\t\tthis.nativeElement ? this.nativeElement.dataSource = value : undefined;\n\t}\n\n\t/** @description Determines the the relation (mapping) between the Kanban's default fields (keywords) and the data fields from the data source. Not necessary if both match. Only some of the default mapping can be overwritten. */\n\t@Input()\n\tget dataSourceMap(): { checklist: string; color: string; comments: string; dueDate: string; id: string; priority: string; progress: string; startDate: string; status: string; swimlane: string; tags: string; text: string; userId: string; createdUserId: string; upDatedUserId: string; createdDate: Date; upDatedDate: Date;} {\n\t\treturn this.nativeElement ? this.nativeElement.dataSourceMap : undefined;\n\t}\n\tset dataSourceMap(value: { checklist: string; color: string; comments: string; dueDate: string; id: string; priority: string; progress: string; startDate: string; status: string; swimlane: string; tags: string; text: string; userId: string; createdUserId: string; upDatedUserId: string; createdDate: Date; upDatedDate: Date;}) {\n\t\tthis.nativeElement ? this.nativeElement.dataSourceMap = value : undefined;\n\t}\n\n\t/** @description Determines the offset of the drag feedback element from the mouse cursor when dragging tasks. The first member of the array is the horizontal offset and the second one - the vertical offset. If set to 'auto', the offset is based on the mouse position when the dragging started. */\n\t@Input()\n\tget dragOffset(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.dragOffset : undefined;\n\t}\n\tset dragOffset(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.dragOffset = value : undefined;\n\t}\n\n\t/** @description Sets or gets whether tasks can be edited (including the assigning of users to tasks). */\n\t@Input()\n\tget editable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.editable : undefined;\n\t}\n\tset editable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.editable = value : undefined;\n\t}\n\n\t/** @description Determines the edit behavior. It could be either singleClick or doubleClick. The dialog edit window is by default opened when user double clicks on a Kanban task. */\n\t@Input()\n\tget editMode(): KanbanEditMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.editMode : undefined;\n\t}\n\tset editMode(value: KanbanEditMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.editMode = value : undefined;\n\t}\n\n\t/** @description Sets or gets the format string of the \"Due date\" label and the \"Start date\" and \"Due date\" editors. */\n\t@Input()\n\tget formatStringDate(): string {\n\t\treturn this.nativeElement ? this.nativeElement.formatStringDate : undefined;\n\t}\n\tset formatStringDate(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.formatStringDate = value : undefined;\n\t}\n\n\t/** @description Sets or gets the format string of comments time stamp. */\n\t@Input()\n\tget formatStringTime(): string {\n\t\treturn this.nativeElement ? this.nativeElement.formatStringTime : undefined;\n\t}\n\tset formatStringTime(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.formatStringTime = value : undefined;\n\t}\n\n\t/** @description Sets or gets the header position. The header contains the Customize, Filter, Sort, and Search buttons. */\n\t@Input()\n\tget headerPosition(): KanbanHeaderPosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.headerPosition : undefined;\n\t}\n\tset headerPosition(value: KanbanHeaderPosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.headerPosition = value : undefined;\n\t}\n\n\t/** @description Sets or gets the way column hierarchy is represented. */\n\t@Input()\n\tget hierarchy(): KanbanHierarchy | string {\n\t\treturn this.nativeElement ? this.nativeElement.hierarchy : undefined;\n\t}\n\tset hierarchy(value: KanbanHierarchy | string) {\n\t\tthis.nativeElement ? this.nativeElement.hierarchy = value : undefined;\n\t}\n\n\t/** @description Sets or gets the license which unlocks the product. */\n\t@Input()\n\tget license(): string {\n\t\treturn this.nativeElement ? this.nativeElement.license : undefined;\n\t}\n\tset license(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.license = value : undefined;\n\t}\n\n\t/** @description Sets or gets the locale. 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 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 Callback function which can be used for customizing the tasks rendering. The Kanban calls it with 2 arguments - task html element and task data. */\n\t@Input()\n\tget onTaskRender(): any {\n\t\treturn this.nativeElement ? this.nativeElement.onTaskRender : undefined;\n\t}\n\tset onTaskRender(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.onTaskRender = value : undefined;\n\t}\n\n\t/** @description Callback function which can be used for customizing the filter items. The function is called with 1 argument - Array of items which will be displayed in the filter drop down. You can modify that array to remove or update items to filter by. */\n\t@Input()\n\tget onFilterPrepare(): any {\n\t\treturn this.nativeElement ? this.nativeElement.onFilterPrepare : undefined;\n\t}\n\tset onFilterPrepare(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.onFilterPrepare = value : undefined;\n\t}\n\n\t/** @description Callback function which can be used for customizing the sort items. The function is called with 1 argument - Array of items which will be displayed in the sort drop down. You can modify that array to remove or update items to sort by. */\n\t@Input()\n\tget onSortPrepare(): any {\n\t\treturn this.nativeElement ? this.nativeElement.onSortPrepare : undefined;\n\t}\n\tset onSortPrepare(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.onSortPrepare = value : undefined;\n\t}\n\n\t/** @description Callback function which can be used for customizing the column header rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field. */\n\t@Input()\n\tget onColumnHeaderRender(): any {\n\t\treturn this.nativeElement ? this.nativeElement.onColumnHeaderRender : undefined;\n\t}\n\tset onColumnHeaderRender(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.onColumnHeaderRender = value : undefined;\n\t}\n\n\t/** @description Callback function which can be used for customizing the column footer rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field. */\n\t@Input()\n\tget onColumnFooterRender(): any {\n\t\treturn this.nativeElement ? this.nativeElement.onColumnFooterRender : undefined;\n\t}\n\tset onColumnFooterRender(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.onColumnFooterRender = value : undefined;\n\t}\n\n\t/** @description Determines selection mode. */\n\t@Input()\n\tget selectionMode(): KanbanSelectionMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.selectionMode : undefined;\n\t}\n\tset selectionMode(value: KanbanSelectionMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.selectionMode = value : undefined;\n\t}\n\n\t/** @description Sets or gets whether the tasks history will be stored and displayed in the task dialog. */\n\t@Input()\n\tget storeHistory(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.storeHistory : undefined;\n\t}\n\tset storeHistory(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.storeHistory = value : undefined;\n\t}\n\n\t/** @description Sets or gets the task history items that will be stored when storeHistory is enabled. */\n\t@Input()\n\tget storeHistoryItems(): number {\n\t\treturn this.nativeElement ? this.nativeElement.storeHistoryItems : undefined;\n\t}\n\tset storeHistoryItems(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.storeHistoryItems = 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 Sets or gets whether the edit dialog is displayed in readonly mode. In that mode it shows only the task details, but the editing is disabled. However, if comments are enabled, you will be able to add comments in the dialog. */\n\t@Input()\n\tget readonly(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.readonly : undefined;\n\t}\n\tset readonly(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.readonly = value : undefined;\n\t}\n\n\t/** @description Describes the swimlanes in the kanban board. Sub-columns are not applicable when swimlanes are present. */\n\t@Input()\n\tget swimlanes(): KanbanSwimlane[] {\n\t\treturn this.nativeElement ? this.nativeElement.swimlanes : undefined;\n\t}\n\tset swimlanes(value: KanbanSwimlane[]) {\n\t\tthis.nativeElement ? this.nativeElement.swimlanes = value : undefined;\n\t}\n\n\t/** @description Sets or gets the index of the column at which to start the swimlanes. */\n\t@Input()\n\tget swimlanesFrom(): number {\n\t\treturn this.nativeElement ? this.nativeElement.swimlanesFrom : undefined;\n\t}\n\tset swimlanesFrom(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.swimlanesFrom = value : undefined;\n\t}\n\n\t/** @description Sets or gets the index of the column at which to end the swimlanes. By default, swimlanes end at the last column. */\n\t@Input()\n\tget swimlanesTo(): number {\n\t\treturn this.nativeElement ? this.nativeElement.swimlanesTo : undefined;\n\t}\n\tset swimlanesTo(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.swimlanesTo = value : undefined;\n\t}\n\n\t/** @description Sets or gets the allowed tags. If no tags are listed, all tags from the data source are allowed. */\n\t@Input()\n\tget tags(): any[] {\n\t\treturn this.nativeElement ? this.nativeElement.tags : undefined;\n\t}\n\tset tags(value: any[]) {\n\t\tthis.nativeElement ? this.nativeElement.tags = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of the task actions icon. */\n\t@Input()\n\tget taskActions(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskActions : undefined;\n\t}\n\tset taskActions(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskActions = value : undefined;\n\t}\n\n\t/** @description Represents a callback function which is called when the task actions menu is created. The task actions element is passed as parameter and allows you to customize the menu. Example: (list) => { list.innerHTML = 'Custom Item'; list.onclick = () => { alert('clicked'); }} */\n\t@Input()\n\tget taskActionsRendered(): any {\n\t\treturn this.nativeElement ? this.nativeElement.taskActionsRendered : undefined;\n\t}\n\tset taskActionsRendered(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.taskActionsRendered = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of the task comments icon. */\n\t@Input()\n\tget taskComments(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskComments : undefined;\n\t}\n\tset taskComments(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskComments = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of the task due icon. */\n\t@Input()\n\tget taskDue(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskDue : undefined;\n\t}\n\tset taskDue(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskDue = value : undefined;\n\t}\n\n\t/** @description Sets or gets whether tasks can be shown in all levels of column hierarchy or only on leaf columns. */\n\t@Input()\n\tget taskPosition(): KanbanTaskPosition | string {\n\t\treturn this.nativeElement ? this.nativeElement.taskPosition : undefined;\n\t}\n\tset taskPosition(value: KanbanTaskPosition | string) {\n\t\tthis.nativeElement ? this.nativeElement.taskPosition = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of the task priority icon (shown when priority is low or high). */\n\t@Input()\n\tget taskPriority(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskPriority : undefined;\n\t}\n\tset taskPriority(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskPriority = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of task progress bar and the completed sub-tasks label. */\n\t@Input()\n\tget taskProgress(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskProgress : undefined;\n\t}\n\tset taskProgress(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskProgress = value : undefined;\n\t}\n\n\t/** @description Sets the task custom fields displayed in the card. Each array item should have 'dataField', 'label' 'dataType' and optionally 'visible', 'image' and 'cover' 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. If your string represents an image either URL or Base64, set image: true. If you want to display that image as a cover image, set cover:true, too. */\n\t@Input()\n\tget taskCustomFields(): any {\n\t\treturn this.nativeElement ? this.nativeElement.taskCustomFields : undefined;\n\t}\n\tset taskCustomFields(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.taskCustomFields = value : undefined;\n\t}\n\n\t/** @description The task's background color depends on the task's color property. By default the color is rendered within the task's left border. */\n\t@Input()\n\tget taskColorEntireSurface(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskColorEntireSurface : undefined;\n\t}\n\tset taskColorEntireSurface(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskColorEntireSurface = value : undefined;\n\t}\n\n\t/** @description 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'. */\n\t@Input()\n\tget taskSubTasksInput(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskSubTasksInput : undefined;\n\t}\n\tset taskSubTasksInput(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskSubTasksInput = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget taskSubTasks(): KanbanTaskSubTasks | string {\n\t\treturn this.nativeElement ? this.nativeElement.taskSubTasks : undefined;\n\t}\n\tset taskSubTasks(value: KanbanTaskSubTasks | string) {\n\t\tthis.nativeElement ? this.nativeElement.taskSubTasks = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of task tags. */\n\t@Input()\n\tget taskTags(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskTags : undefined;\n\t}\n\tset taskTags(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskTags = value : undefined;\n\t}\n\n\t/** @description Toggles the visibility of the task user icon. */\n\t@Input()\n\tget taskUserIcon(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.taskUserIcon : undefined;\n\t}\n\tset taskUserIcon(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.taskUserIcon = value : undefined;\n\t}\n\n\t/** @description Sets or gets a template to be applied to task text. Can be a string beginning with # and referencing the id of a template element on the page. Can also be a function that modifies the task text or the template itself. Finally, it can also be a string that will be parsed. */\n\t@Input()\n\tget textTemplate(): any {\n\t\treturn this.nativeElement ? this.nativeElement.textTemplate : undefined;\n\t}\n\tset textTemplate(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.textTemplate = 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 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. */\n\t@Input()\n\tget priorityList(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.priorityList : undefined;\n\t}\n\tset priorityList(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.priorityList = value : undefined;\n\t}\n\n\t/** @description Determines the priority Kanban tasks can be assigned to. Example: [{label: 'low', value: 'low'}, {label: 'high', value: 'high'}] */\n\t@Input()\n\tget priority(): KanbanPriority[] {\n\t\treturn this.nativeElement ? this.nativeElement.priority : undefined;\n\t}\n\tset priority(value: KanbanPriority[]) {\n\t\tthis.nativeElement ? this.nativeElement.priority = value : undefined;\n\t}\n\n\t/** @description 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. */\n\t@Input()\n\tget userList(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.userList : undefined;\n\t}\n\tset userList(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.userList = value : undefined;\n\t}\n\n\t/** @description Determines the users Kanban tasks can be assigned to and their characteristics and privileges. */\n\t@Input()\n\tget users(): KanbanUser[] {\n\t\treturn this.nativeElement ? this.nativeElement.users : undefined;\n\t}\n\tset users(value: KanbanUser[]) {\n\t\tthis.nativeElement ? this.nativeElement.users = value : undefined;\n\t}\n\n\t/** @description This event is triggered when a task has been updated.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\toldValue, \ttask, \tvalue)\n\t* oldValue - The old data of the task\n\t* task - The HTML element of the task whose data has been changed\n\t* value - The new data of the task\n\t*/\n\t@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the edit/prompt dialog 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 when the edit/prompt dialog is about to be closed. The closing operation can be canceled by calling event.preventDefault() in the event handler function.\n\t* @param event. The custom event. \t*/\n\t@Output() onClosing: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is added.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField, \tcollapsed)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t* collapsed - The column's collapsed state.\n\t*/\n\t@Output() onColumnAdd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is removed.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField, \tcollapsed)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t* collapsed - The column's collapsed state.\n\t*/\n\t@Output() onColumnRemove: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is reordered.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\toldIndex, \tindex, \tcolumn)\n\t* oldIndex - The column's old index.\n\t* index - The column's new index.\n\t* column - The column's data object with 'label', 'dataField' and 'collapsed' fields.\n\t*/\n\t@Output() onColumnReorder: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is updated.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\toldValue, \tvalue, \tcolumn)\n\t* oldValue - The column's old label.\n\t* value - The column's new label.\n\t* column - The column's data object with 'label', 'dataField' and 'collapsed' fields.\n\t*/\n\t@Output() onColumnUpdate: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column header is clicked.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField, \tcollapsed)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t* collapsed - The column's collapsed state.\n\t*/\n\t@Output() onColumnClick: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column header is double clicked.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField, \tcollapsed)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t* collapsed - The column's collapsed state.\n\t*/\n\t@Output() onColumnDoubleClick: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is shown by using the column's action menu or the Kanban's 'show' method.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t*/\n\t@Output() onColumnShow: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is hidden by using the column's action menu or the Kanban's 'hide' method.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t*/\n\t@Output() onColumnHide: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is collapsed by using the column's action menu or the Kanban's 'collapse' method.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t*/\n\t@Output() onColumnCollapse: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a column is expanded by using the column's action menu or the Kanban's 'expand' method.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tlabel, \tdataField)\n\t* label - The column label.\n\t* dataField - The column data field.\n\t*/\n\t@Output() onColumnExpand: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a comment is added to the Kanban Task.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tid, \tvalue)\n\t* id - The task's id.\n\t* value - The comment object. It has 'text: string, time: Date and userId:number' properties.\n\t*/\n\t@Output() onCommentAdd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a comment is removed from the Kanban Task.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tid, \tvalue)\n\t* id - The task's id.\n\t* value - The comment object. It has 'text: string, time: Date and userId:number' properties.\n\t*/\n\t@Output() onCommentRemove: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a comment is updated in the Kanban Task.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tid, \tvalue)\n\t* id - The task's id.\n\t* value - The comment object. It has 'text: string, time: Date and userId:number' properties.\n\t*/\n\t@Output() onCommentUpdate: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description 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.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tcontainer, \tdata, \titem, \titems, \toriginalEvent, \tpreviousContainer, \ttarget)\n\t* container - the Kanban the dragged task(s) is dropped to\n\t* data - an object with additional drag details\n\t* item - the task that is dragged; if multiple tasks are dragged, this is the task that has been clicked when initiating the drag operation\n\t* items - an array with all dragged tasks\n\t* originalEvent - the original, browser, event that initiates the drag operation\n\t* previousContainer - the Kanban the dragged item(s) is dragged from\n\t* target - the element the dragged tasks are dropped to\n\t*/\n\t@Output() onDragEnd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the user is dragging a task.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tdata, \titem, \titems, \toriginalEvent)\n\t* data - an object with additional drag details\n\t* item - the task that is dragged; if multiple tasks are dragged, this is the task that has been clicked when initiating the drag operation\n\t* items - an array with all dragged tasks\n\t* originalEvent - the original, browser, event that initiates the drag operation\n\t*/\n\t@Output() onDragging: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the user starts dragging task(s). The dragging operation can be canceled by calling event.preventDefault() in the event handler function.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tcontainer, \tdata, \titem, \titems, \toriginalEvent, \tpreviousContainer)\n\t* container - the Kanban the dragged task(s) is dragged from\n\t* data - an object with additional drag details\n\t* item - the task that is dragged; if multiple tasks are dragged, this is the task that has been clicked when initiating the drag operation\n\t* items - an array with all dragged tasks\n\t* originalEvent - the original, browser, event that initiates the drag operation\n\t* previousContainer - the Kanban the dragged item(s) is dragged from\n\t*/\n\t@Output() onDragStart: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a filter has been applied.\n\t* @param event. The custom event. \t*/\n\t@Output() onFilter: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when the edit/prompt dialog 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 when the edit/prompt dialog is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function. If you want to cancel the default Kanban dialog, call event.preventDefault();\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tcomment, \tpurpose, \ttask)\n\t* comment - The comment that is about to be removed (if applicable).\n\t* purpose - The purpose of the dialog to be opened - <em>'edit'</em> or <em>'prompt'</em>.\n\t* task - The task that is about to be edited or removed (if applicable).\n\t*/\n\t@Output() onOpening: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when sorting has been applied.\n\t* @param event. The custom event. \t*/\n\t@Output() onSort: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered before a new task is added. You can use the event.detail.value and event.detail.id to customize the new Task before adding it to the Kanban. Example: kanban.onTaskBeforeAdd = (event) => { const data = event.detail.value; const id = event.detail.id; event.detail.id = 'BG12';}\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tvalue, \tid)\n\t* value - The task data that is added to the Kanban.\n\t* id - The task data id.\n\t*/\n\t@Output() onTaskBeforeAdd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a new task is added. Example: kanban.onTaskAdd = (event) => { const data = event.detail.value; const id = event.detail.id; }\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tvalue, \tid)\n\t* value - The task data that is added to the Kanban.\n\t* id - The task data id.\n\t*/\n\t@Output() onTaskAdd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a task is removed.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tvalue, \tid)\n\t* value - The task data that is removed from the Kanban.\n\t* id - The task data id.\n\t*/\n\t@Output() onTaskRemove: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description This event is triggered when a task is updated.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tvalue, \toldValue, \tid)\n\t* value - The task data that is updated.\n\t* oldValue - The update task's old data.\n\t* id - The task data id.\n\t*/\n\t@Output() onTaskUpdate: EventEmitter<CustomEvent> = new EventEmitter();