From f3b5d5887d640b1686559f1beebaac1ee1b2b325 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Fri, 1 Apr 2016 11:43:40 +0200 Subject: [PATCH] chore(prepare-release): release 0.7.0 --- dist/amd/aurelia-kendoui-bridge.d.ts | 61 +- dist/amd/common/bindables.js | 2 +- dist/amd/common/template-gatherer.js | 4 + dist/amd/common/widget-base.js | 13 +- dist/amd/config-builder.js | 17 +- dist/amd/grid/grid-toolbar.html | 3 + dist/amd/grid/grid-toolbar.js | 42 + dist/amd/grid/grid.js | 31 +- dist/amd/index.js | 4 +- dist/aurelia-kendoui-bridge.d.ts | 61 +- dist/aurelia-kendoui-bridge.js | 199 +- dist/commonjs/aurelia-kendoui-bridge.d.ts | 61 +- dist/commonjs/common/bindables.js | 2 +- dist/commonjs/common/template-gatherer.js | 4 + dist/commonjs/common/widget-base.js | 19 +- dist/commonjs/config-builder.js | 17 +- dist/commonjs/grid/grid-toolbar.html | 3 + dist/commonjs/grid/grid-toolbar.js | 50 + dist/commonjs/grid/grid.js | 31 +- dist/commonjs/index.js | 4 +- dist/es6/aurelia-kendoui-bridge.d.ts | 61 +- dist/es6/common/bindables.js | 2 +- dist/es6/common/template-gatherer.js | 4 + dist/es6/common/widget-base.js | 14 +- dist/es6/config-builder.js | 24 +- dist/es6/grid/grid-toolbar.html | 3 + dist/es6/grid/grid-toolbar.js | 20 + dist/es6/grid/grid.js | 18 +- dist/es6/index.js | 4 +- dist/system/aurelia-kendoui-bridge.d.ts | 61 +- dist/system/common/bindables.js | 2 +- dist/system/common/template-gatherer.js | 4 + dist/system/common/widget-base.js | 19 +- dist/system/config-builder.js | 17 +- dist/system/grid/grid-toolbar.html | 3 + dist/system/grid/grid-toolbar.js | 58 + dist/system/grid/grid.js | 35 +- dist/system/index.js | 4 +- dist/temp/aurelia-kendoui-bridge.js | 544 ++-- doc/CHANGELOG.md | 15 + doc/api.json | 2979 +++++++++++---------- package.json | 2 +- 42 files changed, 2590 insertions(+), 1931 deletions(-) create mode 100644 dist/amd/grid/grid-toolbar.html create mode 100644 dist/amd/grid/grid-toolbar.js create mode 100644 dist/commonjs/grid/grid-toolbar.html create mode 100644 dist/commonjs/grid/grid-toolbar.js create mode 100644 dist/es6/grid/grid-toolbar.html create mode 100644 dist/es6/grid/grid-toolbar.js create mode 100644 dist/system/grid/grid-toolbar.html create mode 100644 dist/system/grid/grid-toolbar.js diff --git a/dist/amd/aurelia-kendoui-bridge.d.ts b/dist/amd/aurelia-kendoui-bridge.d.ts index f5293d38..dd99681a 100644 --- a/dist/amd/aurelia-kendoui-bridge.d.ts +++ b/dist/amd/aurelia-kendoui-bridge.d.ts @@ -1,5 +1,6 @@ declare module 'aurelia-kendoui-bridge' { import 'jquery'; + import * as LogManager from 'aurelia-logging'; import { inject, Container, transient } from 'aurelia-dependency-injection'; import { customElement, bindable, children, ViewResources, customAttribute, BindableProperty, HtmlBehaviorResource, TemplatingEngine, noView, processContent, TargetInstruction } from 'aurelia-templating'; import { metadata } from 'aurelia-metadata'; @@ -32,8 +33,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.menu.min'; import 'kendo.datepicker.min'; import 'kendo.datetimepicker.min'; - import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; + import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; import 'kendo.draganddrop.min'; import 'kendo.dropdownlist.min'; @@ -59,13 +60,13 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.notification.min'; import 'kendo.numerictextbox.min'; import 'kendo.panelbar.min'; + import 'kendo.pdf.min'; + import 'kendo.excel.min'; import 'kendo.pivot.configurator.min'; // eslint-disable-line no-unused-vars import 'kendo.pivotgrid.min'; import 'kendo.pivot.fieldmenu.min'; - import 'kendo.pdf.min'; - import 'kendo.excel.min'; import 'kendo.progressbar.min'; import 'kendo.dataviz.qrcode.min'; import 'kendo.slider.min'; @@ -87,12 +88,12 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; + import 'kendo.tooltip.min'; // eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; import 'kendo.treelist.min'; - import 'kendo.tooltip.min'; import 'kendo.treeview.min'; import 'kendo.upload.min'; import 'kendo.validator.min'; @@ -103,7 +104,7 @@ declare module 'aurelia-kendoui-bridge' { */ export class KendoConfigBuilder { resources: string[]; - useGlobalResources: boolean; + debugMode: any; /** * Globally register all Kendo Core wrappers including templating support @@ -115,12 +116,6 @@ declare module 'aurelia-kendoui-bridge' { */ pro(): KendoConfigBuilder; - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder; - /** * Registers value converters (wrappers around kendo functions) */ @@ -130,6 +125,11 @@ declare module 'aurelia-kendoui-bridge' { * Adds kendo templating support */ kendoTemplateSupport(): KendoConfigBuilder; + + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder; kendoAutoComplete(): KendoConfigBuilder; kendoButton(): KendoConfigBuilder; kendoButtonGroup(): KendoConfigBuilder; @@ -156,7 +156,7 @@ declare module 'aurelia-kendoui-bridge' { kendoMap(): KendoConfigBuilder; kendoMenu(): KendoConfigBuilder; kendoMaskedTextBox(): KendoConfigBuilder; - kendoMultiselect(): KendoConfigBuilder; + kendoMultiSelect(): KendoConfigBuilder; kendoNumericTextBox(): KendoConfigBuilder; kendoPanelBar(): KendoConfigBuilder; kendoPivotGrid(): KendoConfigBuilder; @@ -533,7 +533,7 @@ declare module 'aurelia-kendoui-bridge' { * The constructor of a Kendo control */ ctor: any; - constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any); + constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any, configBuilder: any); control(controlName: any): any; linkViewModel(viewModel: any): any; useViewResources(resources: any): any; @@ -592,21 +592,21 @@ declare module 'aurelia-kendoui-bridge' { propertyChanged(property: any, newValue: any, oldValue: any): any; detached(): any; } - export class Diagram { + export class Draggabke { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; + beforeInitialize(options: any): any; detached(): any; } - export class Draggabke { + export class Diagram { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; - beforeInitialize(options: any): any; detached(): any; } export class DropTargetArea { @@ -688,10 +688,17 @@ declare module 'aurelia-kendoui-bridge' { constructor(templateGatherer: any); bind(): any; } + export class GridToolbar { + templates: any; + constructor(templateGatherer: any); + bind(): any; + } export class Grid { columns: any; + templates: any; + gridToolbars: any; kOptions: any; - constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any); + constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any, templateGatherer: any); bind(ctx: any): any; // initialization in bind() is giving issues in some scenarios @@ -779,6 +786,8 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class PDF { + } export class PivotConfigurator { kOptions: any; constructor(element: any, widgetBase: any, viewResources: any); @@ -796,8 +805,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class PDF { - } export class ProgressBar { kOptions: any; constructor(element: any, widgetBase: any); @@ -928,6 +935,14 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class Tooltip { + kOptions: any; + constructor(element: any, widgetBase: any); + bind(ctx: any): any; + attached(): any; + recreate(): any; + detached(): any; + } export class TreeCol { templates: any; constructor(templateGatherer: any); @@ -945,14 +960,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Tooltip { - kOptions: any; - constructor(element: any, widgetBase: any); - bind(ctx: any): any; - attached(): any; - recreate(): any; - detached(): any; - } export class TreeView { kOptions: any; constructor(element: any, widgetBase: any); diff --git a/dist/amd/common/bindables.js b/dist/amd/common/bindables.js index 563aa4cb..45d1c366 100644 --- a/dist/amd/common/bindables.js +++ b/dist/amd/common/bindables.js @@ -2,6 +2,6 @@ define(["exports"], function (exports) { "use strict"; exports.__esModule = true; - var bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; + var bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "GridToolbarItem": ["name", "template", "text"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; exports.bindables = bindables; }); \ No newline at end of file diff --git a/dist/amd/common/template-gatherer.js b/dist/amd/common/template-gatherer.js index b75dcd0f..7d80bafa 100644 --- a/dist/amd/common/template-gatherer.js +++ b/dist/amd/common/template-gatherer.js @@ -18,6 +18,10 @@ define(['exports', './control-properties', './util', 'aurelia-dependency-injecti var templateProps = this.controlProperties.getTemplateProperties(controlName); + if (!templates) { + templates = []; + } + templates.forEach(function (c) { if (templateProps.indexOf(c['for']) > -1) { if (_this.util.hasValue(c.template)) { diff --git a/dist/amd/common/widget-base.js b/dist/amd/common/widget-base.js index 94b74b73..3e151dde 100644 --- a/dist/amd/common/widget-base.js +++ b/dist/amd/common/widget-base.js @@ -1,17 +1,20 @@ -define(['exports', './util', './options-builder', './template-compiler', './template-gatherer', 'aurelia-dependency-injection', 'aurelia-task-queue'], function (exports, _util, _optionsBuilder, _templateCompiler, _templateGatherer, _aureliaDependencyInjection, _aureliaTaskQueue) { +define(['exports', './util', './options-builder', './template-compiler', './template-gatherer', '../config-builder', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aurelia-logging'], function (exports, _util, _optionsBuilder, _templateCompiler, _templateGatherer, _configBuilder, _aureliaDependencyInjection, _aureliaTaskQueue, _aureliaLogging) { 'use strict'; exports.__esModule = true; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var logger = _aureliaLogging.getLogger('aurelia-kendoui-bridge'); + var WidgetBase = (function () { - function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer) { + function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer, configBuilder) { _classCallCheck(this, _WidgetBase); this.taskQueue = taskQueue; this.optionsBuilder = optionsBuilder; this.util = util; + this.configBuilder = configBuilder; this.templateGatherer = templateGatherer; templateCompiler.initialize(); } @@ -83,6 +86,10 @@ define(['exports', './util', './options-builder', './template-compiler', './temp _$resources: [this.viewResources] }); + if (this.configBuilder.debugMode) { + logger.debug('initializing ' + this.controlName + ' with the following config', allOptions); + } + var widget = this._createWidget(options.element, allOptions, this.controlName); widget._$parent = options.parentCtx; @@ -166,7 +173,7 @@ define(['exports', './util', './options-builder', './template-compiler', './temp }; var _WidgetBase = WidgetBase; - WidgetBase = _aureliaDependencyInjection.inject(_aureliaTaskQueue.TaskQueue, _templateCompiler.TemplateCompiler, _optionsBuilder.OptionsBuilder, _util.Util, _templateGatherer.TemplateGatherer)(WidgetBase) || WidgetBase; + WidgetBase = _aureliaDependencyInjection.inject(_aureliaTaskQueue.TaskQueue, _templateCompiler.TemplateCompiler, _optionsBuilder.OptionsBuilder, _util.Util, _templateGatherer.TemplateGatherer, _configBuilder.KendoConfigBuilder)(WidgetBase) || WidgetBase; WidgetBase = _aureliaDependencyInjection.transient()(WidgetBase) || WidgetBase; return WidgetBase; })(); diff --git a/dist/amd/config-builder.js b/dist/amd/config-builder.js index 8f8fd476..51408dcd 100644 --- a/dist/amd/config-builder.js +++ b/dist/amd/config-builder.js @@ -10,11 +10,11 @@ define(['exports'], function (exports) { _classCallCheck(this, KendoConfigBuilder); this.resources = []; - this.useGlobalResources = true; + this.debugMode = false; } KendoConfigBuilder.prototype.core = function core() { - this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiselect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); + this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiSelect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); return this; }; @@ -23,11 +23,6 @@ define(['exports'], function (exports) { return this; }; - KendoConfigBuilder.prototype.withoutGlobalResources = function withoutGlobalResources() { - this.useGlobalResources = false; - return this; - }; - KendoConfigBuilder.prototype.useValueConverters = function useValueConverters() { this.resources.push('./valueconverters/valueconverters'); return this; @@ -38,6 +33,11 @@ define(['exports'], function (exports) { return this; }; + KendoConfigBuilder.prototype.debug = function debug() { + this.debugMode = true; + return this; + }; + KendoConfigBuilder.prototype.kendoAutoComplete = function kendoAutoComplete() { this.resources.push('./autocomplete/autocomplete'); return this; @@ -141,6 +141,7 @@ define(['exports'], function (exports) { KendoConfigBuilder.prototype.kendoGrid = function kendoGrid() { this.resources.push('./grid/grid'); this.resources.push('./grid/col'); + this.resources.push('./grid/grid-toolbar'); return this; }; @@ -175,7 +176,7 @@ define(['exports'], function (exports) { return this; }; - KendoConfigBuilder.prototype.kendoMultiselect = function kendoMultiselect() { + KendoConfigBuilder.prototype.kendoMultiSelect = function kendoMultiSelect() { this.resources.push('./multiselect/multiselect'); return this; }; diff --git a/dist/amd/grid/grid-toolbar.html b/dist/amd/grid/grid-toolbar.html new file mode 100644 index 00000000..7b07f6c2 --- /dev/null +++ b/dist/amd/grid/grid-toolbar.html @@ -0,0 +1,3 @@ + diff --git a/dist/amd/grid/grid-toolbar.js b/dist/amd/grid/grid-toolbar.js new file mode 100644 index 00000000..c5901f7d --- /dev/null +++ b/dist/amd/grid/grid-toolbar.js @@ -0,0 +1,42 @@ +define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', '../common/constants', '../common/decorators', '../common/template-gatherer'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _commonConstants, _commonDecorators, _commonTemplateGatherer) { + 'use strict'; + + exports.__esModule = true; + + var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + + function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + + var GridToolbar = (function () { + var _instanceInitializers = {}; + + _createDecoratedClass(GridToolbar, [{ + key: 'templates', + decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }], null, _instanceInitializers); + + function GridToolbar(templateGatherer) { + _classCallCheck(this, _GridToolbar); + + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers); + + this.templateGatherer = templateGatherer; + } + + GridToolbar.prototype.bind = function bind() { + this.templateGatherer.useTemplates(this, 'GridToolbarItem', this.templates); + }; + + var _GridToolbar = GridToolbar; + GridToolbar = _aureliaDependencyInjection.inject(_commonTemplateGatherer.TemplateGatherer)(GridToolbar) || GridToolbar; + GridToolbar = _commonDecorators.generateBindables('GridToolbarItem')(GridToolbar) || GridToolbar; + GridToolbar = _aureliaTemplating.customElement(_commonConstants.constants.elementPrefix + 'grid-toolbar')(GridToolbar) || GridToolbar; + return GridToolbar; + })(); + + exports.GridToolbar = GridToolbar; +}); \ No newline at end of file diff --git a/dist/amd/grid/grid.js b/dist/amd/grid/grid.js index c62250c6..147cda7a 100644 --- a/dist/amd/grid/grid.js +++ b/dist/amd/grid/grid.js @@ -1,4 +1,4 @@ -define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants', '../common/options-builder', '../pdf/pdf', 'kendo.data.signalr.min', 'kendo.filtercell.min', 'kendo.grid.min'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _commonWidgetBase, _commonDecorators, _commonConstants, _commonOptionsBuilder, _pdfPdf, _kendoDataSignalrMin, _kendoFiltercellMin, _kendoGridMin) { +define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants', '../common/options-builder', '../common/template-gatherer', '../pdf/pdf', 'kendo.data.signalr.min', 'kendo.filtercell.min', 'kendo.grid.min'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _commonWidgetBase, _commonDecorators, _commonConstants, _commonOptionsBuilder, _commonTemplateGatherer, _pdfPdf, _kendoDataSignalrMin, _kendoFiltercellMin, _kendoGridMin) { 'use strict'; exports.__esModule = true; @@ -17,6 +17,16 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'col')], initializer: null, enumerable: true + }, { + key: 'templates', + decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }, { + key: 'gridToolbars', + decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'grid-toolbar')], + initializer: null, + enumerable: true }, { key: 'kOptions', decorators: [_aureliaTemplating.bindable], @@ -26,14 +36,19 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com enumerable: true }], null, _instanceInitializers); - function Grid(element, widgetBase, viewResources, optionsBuilder) { + function Grid(element, widgetBase, viewResources, optionsBuilder, templateGatherer) { _classCallCheck(this, _Grid); _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers); + + _defineDecoratedPropertyDescriptor(this, 'gridToolbars', _instanceInitializers); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers); this.element = element; + this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; this.widgetBase = widgetBase.control('kendoGrid').linkViewModel(this).useViewResources(viewResources); } @@ -58,6 +73,8 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com Grid.prototype.recreate = function recreate() { var _this = this; + this.templateGatherer.useTemplates(this, 'kendoGrid', this.templates); + this.kWidget = this.widgetBase.createWidget({ element: this.target, rootElement: this.element, @@ -78,6 +95,14 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com options.columns.push(_this2.optionsBuilder.getOptions(column, 'GridColumn')); }); } + + if (this.gridToolbars && this.gridToolbars.length > 0) { + options.toolbar = []; + + this.gridToolbars.forEach(function (toolbar) { + options.toolbar.push(_this2.optionsBuilder.getOptions(toolbar, 'GridToolbarItem')); + }); + } }; Grid.prototype.detached = function detached() { @@ -85,7 +110,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com }; var _Grid = Grid; - Grid = _aureliaDependencyInjection.inject(Element, _commonWidgetBase.WidgetBase, _aureliaTemplating.ViewResources, _commonOptionsBuilder.OptionsBuilder)(Grid) || Grid; + Grid = _aureliaDependencyInjection.inject(Element, _commonWidgetBase.WidgetBase, _aureliaTemplating.ViewResources, _commonOptionsBuilder.OptionsBuilder, _commonTemplateGatherer.TemplateGatherer)(Grid) || Grid; Grid = _commonDecorators.generateBindables('kendoGrid')(Grid) || Grid; Grid = _aureliaTemplating.customElement(_commonConstants.constants.elementPrefix + 'grid')(Grid) || Grid; return Grid; diff --git a/dist/amd/index.js b/dist/amd/index.js index 5a3c64f8..886c2e75 100644 --- a/dist/amd/index.js +++ b/dist/amd/index.js @@ -5,7 +5,7 @@ define(['exports', './config-builder', 'jquery'], function (exports, _configBuil exports.configure = configure; function configure(aurelia, configCallback) { - var builder = new _configBuilder.KendoConfigBuilder(); + var builder = aurelia.container.get(_configBuilder.KendoConfigBuilder); if (configCallback !== undefined && typeof configCallback === 'function') { configCallback(builder); @@ -13,7 +13,7 @@ define(['exports', './config-builder', 'jquery'], function (exports, _configBuil var resources = builder.resources; - if (builder.useGlobalResources) { + if (resources.length > 0) { aurelia.globalResources(resources); } } diff --git a/dist/aurelia-kendoui-bridge.d.ts b/dist/aurelia-kendoui-bridge.d.ts index f5293d38..dd99681a 100644 --- a/dist/aurelia-kendoui-bridge.d.ts +++ b/dist/aurelia-kendoui-bridge.d.ts @@ -1,5 +1,6 @@ declare module 'aurelia-kendoui-bridge' { import 'jquery'; + import * as LogManager from 'aurelia-logging'; import { inject, Container, transient } from 'aurelia-dependency-injection'; import { customElement, bindable, children, ViewResources, customAttribute, BindableProperty, HtmlBehaviorResource, TemplatingEngine, noView, processContent, TargetInstruction } from 'aurelia-templating'; import { metadata } from 'aurelia-metadata'; @@ -32,8 +33,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.menu.min'; import 'kendo.datepicker.min'; import 'kendo.datetimepicker.min'; - import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; + import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; import 'kendo.draganddrop.min'; import 'kendo.dropdownlist.min'; @@ -59,13 +60,13 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.notification.min'; import 'kendo.numerictextbox.min'; import 'kendo.panelbar.min'; + import 'kendo.pdf.min'; + import 'kendo.excel.min'; import 'kendo.pivot.configurator.min'; // eslint-disable-line no-unused-vars import 'kendo.pivotgrid.min'; import 'kendo.pivot.fieldmenu.min'; - import 'kendo.pdf.min'; - import 'kendo.excel.min'; import 'kendo.progressbar.min'; import 'kendo.dataviz.qrcode.min'; import 'kendo.slider.min'; @@ -87,12 +88,12 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; + import 'kendo.tooltip.min'; // eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; import 'kendo.treelist.min'; - import 'kendo.tooltip.min'; import 'kendo.treeview.min'; import 'kendo.upload.min'; import 'kendo.validator.min'; @@ -103,7 +104,7 @@ declare module 'aurelia-kendoui-bridge' { */ export class KendoConfigBuilder { resources: string[]; - useGlobalResources: boolean; + debugMode: any; /** * Globally register all Kendo Core wrappers including templating support @@ -115,12 +116,6 @@ declare module 'aurelia-kendoui-bridge' { */ pro(): KendoConfigBuilder; - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder; - /** * Registers value converters (wrappers around kendo functions) */ @@ -130,6 +125,11 @@ declare module 'aurelia-kendoui-bridge' { * Adds kendo templating support */ kendoTemplateSupport(): KendoConfigBuilder; + + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder; kendoAutoComplete(): KendoConfigBuilder; kendoButton(): KendoConfigBuilder; kendoButtonGroup(): KendoConfigBuilder; @@ -156,7 +156,7 @@ declare module 'aurelia-kendoui-bridge' { kendoMap(): KendoConfigBuilder; kendoMenu(): KendoConfigBuilder; kendoMaskedTextBox(): KendoConfigBuilder; - kendoMultiselect(): KendoConfigBuilder; + kendoMultiSelect(): KendoConfigBuilder; kendoNumericTextBox(): KendoConfigBuilder; kendoPanelBar(): KendoConfigBuilder; kendoPivotGrid(): KendoConfigBuilder; @@ -533,7 +533,7 @@ declare module 'aurelia-kendoui-bridge' { * The constructor of a Kendo control */ ctor: any; - constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any); + constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any, configBuilder: any); control(controlName: any): any; linkViewModel(viewModel: any): any; useViewResources(resources: any): any; @@ -592,21 +592,21 @@ declare module 'aurelia-kendoui-bridge' { propertyChanged(property: any, newValue: any, oldValue: any): any; detached(): any; } - export class Diagram { + export class Draggabke { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; + beforeInitialize(options: any): any; detached(): any; } - export class Draggabke { + export class Diagram { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; - beforeInitialize(options: any): any; detached(): any; } export class DropTargetArea { @@ -688,10 +688,17 @@ declare module 'aurelia-kendoui-bridge' { constructor(templateGatherer: any); bind(): any; } + export class GridToolbar { + templates: any; + constructor(templateGatherer: any); + bind(): any; + } export class Grid { columns: any; + templates: any; + gridToolbars: any; kOptions: any; - constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any); + constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any, templateGatherer: any); bind(ctx: any): any; // initialization in bind() is giving issues in some scenarios @@ -779,6 +786,8 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class PDF { + } export class PivotConfigurator { kOptions: any; constructor(element: any, widgetBase: any, viewResources: any); @@ -796,8 +805,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class PDF { - } export class ProgressBar { kOptions: any; constructor(element: any, widgetBase: any); @@ -928,6 +935,14 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class Tooltip { + kOptions: any; + constructor(element: any, widgetBase: any); + bind(ctx: any): any; + attached(): any; + recreate(): any; + detached(): any; + } export class TreeCol { templates: any; constructor(templateGatherer: any); @@ -945,14 +960,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Tooltip { - kOptions: any; - constructor(element: any, widgetBase: any); - bind(ctx: any): any; - attached(): any; - recreate(): any; - detached(): any; - } export class TreeView { kOptions: any; constructor(element: any, widgetBase: any); diff --git a/dist/aurelia-kendoui-bridge.js b/dist/aurelia-kendoui-bridge.js index 7b9c8e27..0b03fb4e 100644 --- a/dist/aurelia-kendoui-bridge.js +++ b/dist/aurelia-kendoui-bridge.js @@ -1,4 +1,5 @@ import 'jquery'; +import * as LogManager from 'aurelia-logging'; import {inject,Container,transient} from 'aurelia-dependency-injection'; import {customElement,bindable,children,ViewResources,customAttribute,BindableProperty,HtmlBehaviorResource,TemplatingEngine,noView,processContent,TargetInstruction} from 'aurelia-templating'; import {metadata} from 'aurelia-metadata'; @@ -11,7 +12,7 @@ import {TaskQueue} from 'aurelia-task-queue'; export class KendoConfigBuilder { resources: string[] = []; - useGlobalResources: boolean = true; + debugMode = false; /** * Globally register all Kendo Core wrappers including templating support @@ -34,7 +35,7 @@ export class KendoConfigBuilder { .kendoListView() .kendoMaskedTextBox() .kendoMenu() - .kendoMultiselect() + .kendoMultiSelect() .kendoNotification() .kendoNumericTextBox() .kendoPanelBar() @@ -80,15 +81,6 @@ export class KendoConfigBuilder { return this; } - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder { - this.useGlobalResources = false; - return this; - } - /** * Registers value converters (wrappers around kendo functions) */ @@ -105,6 +97,14 @@ export class KendoConfigBuilder { return this; } + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder { + this.debugMode = true; + return this; + } + kendoAutoComplete(): KendoConfigBuilder { this.resources.push('./autocomplete/autocomplete'); return this; @@ -208,6 +208,7 @@ export class KendoConfigBuilder { kendoGrid(): KendoConfigBuilder { this.resources.push('./grid/grid'); this.resources.push('./grid/col'); + this.resources.push('./grid/grid-toolbar'); return this; } @@ -242,7 +243,7 @@ export class KendoConfigBuilder { return this; } - kendoMultiselect(): KendoConfigBuilder { + kendoMultiSelect(): KendoConfigBuilder { this.resources.push('./multiselect/multiselect'); return this; } @@ -383,7 +384,7 @@ export class KendoConfigBuilder { } export function configure(aurelia, configCallback) { - let builder = new KendoConfigBuilder(); + let builder = aurelia.container.get(KendoConfigBuilder); if (configCallback !== undefined && typeof(configCallback) === 'function') { configCallback(builder); @@ -392,7 +393,7 @@ export function configure(aurelia, configCallback) { // Pull the data off the builder let resources = builder.resources; - if (builder.useGlobalResources) { + if (resources.length > 0) { aurelia.globalResources(resources); } } @@ -885,7 +886,7 @@ function getSelectNode(element) { return element.querySelectorAll('select'); } -export let bindables = {"kendoAutoComplete":["animation","dataSource","dataTextField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","minLength","name","placeholder","popup","separator","suggest","template","valuePrimitive","virtual"],"kendoBarcode":["background","border","checksum","color","height","name","padding","renderAs","text","type","value","width"],"kendoButton":["enable","icon","imageUrl","name","spriteCssClass"],"kendoCalendar":["culture","dates","depth","disableDates","footer","format","max","min","month","name","start","value"],"kendoChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","legend","name","panes","pannable","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis","xAxis","yAxis","zoomable"],"kendoColorPalette":["columns","name","palette","tileSize","value"],"kendoColorPicker":["buttons","columns","messages","name","opacity","palette","preview","tileSize","toolIcon","value"],"kendoComboBox":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","index","minLength","name","placeholder","popup","suggest","template","text","value","valuePrimitive","virtual"],"kendoContextMenu":["alignToAnchor","animation","closeOnClick","dataSource","direction","filter","hoverDelay","name","orientation","popupCollision","showOn","target"],"kendoDatePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","max","min","month","name","parseFormats","start","value"],"kendoDateTimePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","interval","max","min","month","name","parseFormats","start","timeFormat","value"],"kendoDiagram":["autoBind","connectionDefaults","connections","connectionsDataSource","dataSource","editable","layout","name","pannable","pdf","selectable","shapeDefaults","shapes","template","zoom","zoomMax","zoomMin","zoomRate"],"kendoDraggable":["axis","container","cursorOffset","distance","filter","group","hint","ignore"],"kendoDropDownList":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","ignoreCase","index","minLength","name","optionLabel","optionLabelTemplate","popup","template","text","value","valuePrimitive","valueTemplate","virtual"],"kendoDropTarget":["group"],"kendoDropTargetArea":["filter","group"],"kendoEditor":["domain","encoded","fileBrowser","imageBrowser","messages","name","pdf","resizable","serialization","stylesheets","tools"],"kendoFlatColorPicker":["autoupdate","buttons","messages","name","opacity","preview","value"],"kendoGantt":["assignments","autoBind","columnResizeHandleWidth","columns","currentTimeMarker","dataSource","dependencies","editable","height","hourSpan","listWidth","messages","name","navigatable","pdf","resizable","resources","rowHeight","selectable","showWorkDays","showWorkHours","snap","taskTemplate","toolbar","tooltip","views","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoGrid":["allowCopy","altRowTemplate","autoBind","columnMenu","columnResizeHandleWidth","columns","dataSource","detailTemplate","editable","excel","filterable","groupable","height","messages","mobile","name","navigatable","noRecords","pageable","pdf","reorderable","resizable","rowTemplate","scrollable","selectable","sortable","toolbar"],"kendoLinearGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoListView":["altTemplate","autoBind","dataSource","editTemplate","name","navigatable","selectable","template"],"kendoMap":["center","controls","layerDefaults","layers","markerDefaults","markers","maxZoom","minSize","minZoom","name","pannable","wraparound","zoom","zoomable"],"kendoMaskedTextBox":["clearPromptChar","culture","mask","name","promptChar","rules","unmaskOnPost","value"],"kendoMenu":["animation","closeOnClick","dataSource","direction","hoverDelay","name","openOnClick","orientation","popupCollision"],"kendoMobileActionSheet":["cancel","name","popup","type"],"kendoMobileBackButton":["name"],"kendoMobileButton":["badge","clickOn","enable","icon","name"],"kendoMobileButtonGroup":["enable","index","name","selectOn"],"kendoMobileCollapsible":["animation","collapsed","expandIcon","iconPosition","inset","name"],"kendoMobileDetailButton":["name"],"kendoMobileDrawer":["container","name","position","swipeToOpen","swipeToOpenViews","title","views"],"kendoMobileLayout":["id","name","platform"],"kendoMobileListView":["appendOnRefresh","autoBind","dataSource","endlessScroll","filterable","fixedHeaders","headerTemplate","loadMore","messages","name","pullParameters","pullToRefresh","style","template","type","virtualViewSize"],"kendoMobileLoader":["name"],"kendoMobileModalView":["height","modal","name","width"],"kendoMobileNavBar":["name"],"kendoMobilePane":["collapsible","initial","layout","loading","name","portraitWidth","transition"],"kendoMobilePopOver":["name","pane","popup"],"kendoMobileScrollView":["autoBind","bounceVelocityThreshold","contentHeight","dataSource","duration","emptyTemplate","enablePager","itemsPerPage","name","page","pageSize","template","velocityThreshold"],"kendoMobileScroller":["elastic","messages","name","pullOffset","pullToRefresh","useNative","visibleScrollHints","zoom"],"kendoMobileSplitView":["name","style"],"kendoMobileSwitch":["checked","enable","name","offLabel","onLabel"],"kendoMobileTabStrip":["name","selectedIndex"],"kendoMobileView":["model","name","reload","scroller","stretch","title","useNativeScrolling","zoom"],"kendoMultiSelect":["animation","autoBind","autoClose","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","itemTemplate","maxSelectedItems","minLength","name","placeholder","popup","tagMode","tagTemplate","value","valuePrimitive","virtual"],"kendoNotification":["allowHideAfter","animation","appendTo","autoHideAfter","button","height","hideOnClick","name","position","stacking","templates","width"],"kendoNumericTextBox":["culture","decimals","downArrowText","format","max","min","name","placeholder","spinners","step","upArrowText","value"],"kendoPager":["autoBind","buttonCount","dataSource","info","input","linkTemplate","messages","name","numeric","pageSizes","previousNext","refresh","selectTemplate"],"kendoPanelBar":["animation","contentUrls","dataSource","expandMode","name"],"kendoPivotConfigurator":["dataSource","filterable","height","messages","name","sortable"],"kendoPivotGrid":["autoBind","columnHeaderTemplate","columnWidth","dataCellTemplate","dataSource","excel","filterable","height","kpiStatusTemplate","kpiTrendTemplate","messages","name","pdf","reorderable","rowHeaderTemplate","sortable"],"kendoPopup":["anchor","animation","appendTo","name","origin","position"],"kendoProgressBar":["animation","chunkCount","enable","max","min","name","orientation","reverse","showStatus","type","value"],"kendoQRCode":["background","border","color","encoding","errorCorrection","name","padding","renderAs","size","value"],"kendoRadialGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoRangeSlider":["largeStep","max","min","name","orientation","selectionEnd","selectionStart","smallStep","tickPlacement","tooltip"],"kendoResponsivePanel":["autoClose","breakpoint","name","orientation","toggleButton"],"kendoScheduler":["allDayEventTemplate","allDaySlot","autoBind","currentTimeMarker","dataSource","date","dateHeaderTemplate","editable","endTime","eventTemplate","footer","group","groupHeaderTemplate","height","majorTick","majorTimeHeaderTemplate","max","messages","min","minorTickCount","minorTimeHeaderTemplate","mobile","name","pdf","resources","selectable","showWorkHours","snap","startTime","timezone","toolbar","views","width","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoSlider":["decreaseButtonTitle","increaseButtonTitle","largeStep","max","min","name","orientation","showButtons","smallStep","tickPlacement","tooltip","value"],"kendoSortable":["autoScroll","axis","connectWith","container","cursor","cursorOffset","disabled","filter","handler","hint","holdToDrag","ignore","name","placeholder"],"kendoSparkline":["autoBind","axisDefaults","categoryAxis","chartArea","data","dataSource","name","plotArea","pointWidth","renderAs","series","seriesColors","seriesDefaults","theme","tooltip","transitions","type","valueAxis"],"kendoSplitter":["name","orientation","panes"],"kendoSpreadsheet":["activeSheet","columnWidth","columns","excel","headerHeight","headerWidth","name","pdf","rowHeight","rows","sheets","sheetsbar","toolbar"],"kendoStockChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","dateField","legend","name","navigator","panes","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis"],"kendoTabStrip":["animation","collapsible","contentUrls","dataContentField","dataContentUrlField","dataImageUrlField","dataSource","dataSpriteCssClass","dataTextField","dataUrlField","name","navigatable","scrollable","tabPosition","value"],"kendoTimePicker":["animation","culture","dates","format","interval","max","min","name","parseFormats","value"],"kendoToolBar":["items","name","resizable"],"kendoTooltip":["animation","autoHide","callout","content","filter","height","iframe","name","position","showAfter","showOn","width"],"kendoTouch":["doubleTapTimeout","enableSwipe","filter","maxDuration","maxYDelta","minHold","minXDelta","multiTouch","name","surface"],"kendoTreeList":["autoBind","columnMenu","columns","dataSource","editable","excel","filterable","height","messages","name","pdf","reorderable","resizable","scrollable","selectable","sortable","toolbar"],"kendoTreeMap":["autoBind","colorField","colors","dataSource","name","template","textField","theme","type","valueField"],"kendoTreeView":["animation","autoBind","autoScroll","checkboxes","dataImageUrlField","dataSource","dataSpriteCssClassField","dataTextField","dataUrlField","dragAndDrop","loadOnDemand","messages","name","template"],"kendoUpload":["async","enabled","files","localization","multiple","name","showFileList","template"],"kendoValidator":["errorTemplate","messages","name","rules","validateOnBlur"],"kendoWindow":["actions","animation","appendTo","autoFocus","content","draggable","height","iframe","maxHeight","maxWidth","minHeight","minWidth","modal","name","pinned","position","resizable","scrollable","title","visible","width"],"GanttColumn":["editable","field","format","sortable","title","width"],"GridColumn":["aggregates","attributes","columns","command","encoded","field","filterable","footerTemplate","format","groupFooterTemplate","groupHeaderTemplate","groupable","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","values","width","editor"],"ToolBarItem":["attributes","buttons","click","enable","group","hidden","icon","id","imageUrl","menuButtons","overflow","overflowTemplate","primary","selected","showIcon","showText","spriteCssClass","template","text","togglable","toggle","type","url"],"ToolBarItemButton":["attributes","click","enable","group","hidden","icon","id","imageUrl","selected","showIcon","showText","spriteCssClass","text","togglable","toggle","url"],"TreeListColumn":["attributes","command","encoded","expandable","field","filterable","footerTemplate","format","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","width","editor"]} +export let bindables = {"kendoAutoComplete":["animation","dataSource","dataTextField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","minLength","name","placeholder","popup","separator","suggest","template","valuePrimitive","virtual"],"kendoBarcode":["background","border","checksum","color","height","name","padding","renderAs","text","type","value","width"],"kendoButton":["enable","icon","imageUrl","name","spriteCssClass"],"kendoCalendar":["culture","dates","depth","disableDates","footer","format","max","min","month","name","start","value"],"kendoChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","legend","name","panes","pannable","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis","xAxis","yAxis","zoomable"],"kendoColorPalette":["columns","name","palette","tileSize","value"],"kendoColorPicker":["buttons","columns","messages","name","opacity","palette","preview","tileSize","toolIcon","value"],"kendoComboBox":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","index","minLength","name","placeholder","popup","suggest","template","text","value","valuePrimitive","virtual"],"kendoContextMenu":["alignToAnchor","animation","closeOnClick","dataSource","direction","filter","hoverDelay","name","orientation","popupCollision","showOn","target"],"kendoDatePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","max","min","month","name","parseFormats","start","value"],"kendoDateTimePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","interval","max","min","month","name","parseFormats","start","timeFormat","value"],"kendoDiagram":["autoBind","connectionDefaults","connections","connectionsDataSource","dataSource","editable","layout","name","pannable","pdf","selectable","shapeDefaults","shapes","template","zoom","zoomMax","zoomMin","zoomRate"],"kendoDraggable":["axis","container","cursorOffset","distance","filter","group","hint","ignore"],"kendoDropDownList":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","ignoreCase","index","minLength","name","optionLabel","optionLabelTemplate","popup","template","text","value","valuePrimitive","valueTemplate","virtual"],"kendoDropTarget":["group"],"kendoDropTargetArea":["filter","group"],"kendoEditor":["domain","encoded","fileBrowser","imageBrowser","messages","name","pdf","resizable","serialization","stylesheets","tools"],"kendoFlatColorPicker":["autoupdate","buttons","messages","name","opacity","preview","value"],"kendoGantt":["assignments","autoBind","columnResizeHandleWidth","columns","currentTimeMarker","dataSource","dependencies","editable","height","hourSpan","listWidth","messages","name","navigatable","pdf","resizable","resources","rowHeight","selectable","showWorkDays","showWorkHours","snap","taskTemplate","toolbar","tooltip","views","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoGrid":["allowCopy","altRowTemplate","autoBind","columnMenu","columnResizeHandleWidth","columns","dataSource","detailTemplate","editable","excel","filterable","groupable","height","messages","mobile","name","navigatable","noRecords","pageable","pdf","reorderable","resizable","rowTemplate","scrollable","selectable","sortable","toolbar"],"kendoLinearGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoListView":["altTemplate","autoBind","dataSource","editTemplate","name","navigatable","selectable","template"],"kendoMap":["center","controls","layerDefaults","layers","markerDefaults","markers","maxZoom","minSize","minZoom","name","pannable","wraparound","zoom","zoomable"],"kendoMaskedTextBox":["clearPromptChar","culture","mask","name","promptChar","rules","unmaskOnPost","value"],"kendoMenu":["animation","closeOnClick","dataSource","direction","hoverDelay","name","openOnClick","orientation","popupCollision"],"kendoMobileActionSheet":["cancel","name","popup","type"],"kendoMobileBackButton":["name"],"kendoMobileButton":["badge","clickOn","enable","icon","name"],"kendoMobileButtonGroup":["enable","index","name","selectOn"],"kendoMobileCollapsible":["animation","collapsed","expandIcon","iconPosition","inset","name"],"kendoMobileDetailButton":["name"],"kendoMobileDrawer":["container","name","position","swipeToOpen","swipeToOpenViews","title","views"],"kendoMobileLayout":["id","name","platform"],"kendoMobileListView":["appendOnRefresh","autoBind","dataSource","endlessScroll","filterable","fixedHeaders","headerTemplate","loadMore","messages","name","pullParameters","pullToRefresh","style","template","type","virtualViewSize"],"kendoMobileLoader":["name"],"kendoMobileModalView":["height","modal","name","width"],"kendoMobileNavBar":["name"],"kendoMobilePane":["collapsible","initial","layout","loading","name","portraitWidth","transition"],"kendoMobilePopOver":["name","pane","popup"],"kendoMobileScrollView":["autoBind","bounceVelocityThreshold","contentHeight","dataSource","duration","emptyTemplate","enablePager","itemsPerPage","name","page","pageSize","template","velocityThreshold"],"kendoMobileScroller":["elastic","messages","name","pullOffset","pullToRefresh","useNative","visibleScrollHints","zoom"],"kendoMobileSplitView":["name","style"],"kendoMobileSwitch":["checked","enable","name","offLabel","onLabel"],"kendoMobileTabStrip":["name","selectedIndex"],"kendoMobileView":["model","name","reload","scroller","stretch","title","useNativeScrolling","zoom"],"kendoMultiSelect":["animation","autoBind","autoClose","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","itemTemplate","maxSelectedItems","minLength","name","placeholder","popup","tagMode","tagTemplate","value","valuePrimitive","virtual"],"kendoNotification":["allowHideAfter","animation","appendTo","autoHideAfter","button","height","hideOnClick","name","position","stacking","templates","width"],"kendoNumericTextBox":["culture","decimals","downArrowText","format","max","min","name","placeholder","spinners","step","upArrowText","value"],"kendoPager":["autoBind","buttonCount","dataSource","info","input","linkTemplate","messages","name","numeric","pageSizes","previousNext","refresh","selectTemplate"],"kendoPanelBar":["animation","contentUrls","dataSource","expandMode","name"],"kendoPivotConfigurator":["dataSource","filterable","height","messages","name","sortable"],"kendoPivotGrid":["autoBind","columnHeaderTemplate","columnWidth","dataCellTemplate","dataSource","excel","filterable","height","kpiStatusTemplate","kpiTrendTemplate","messages","name","pdf","reorderable","rowHeaderTemplate","sortable"],"kendoPopup":["anchor","animation","appendTo","name","origin","position"],"kendoProgressBar":["animation","chunkCount","enable","max","min","name","orientation","reverse","showStatus","type","value"],"kendoQRCode":["background","border","color","encoding","errorCorrection","name","padding","renderAs","size","value"],"kendoRadialGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoRangeSlider":["largeStep","max","min","name","orientation","selectionEnd","selectionStart","smallStep","tickPlacement","tooltip"],"kendoResponsivePanel":["autoClose","breakpoint","name","orientation","toggleButton"],"kendoScheduler":["allDayEventTemplate","allDaySlot","autoBind","currentTimeMarker","dataSource","date","dateHeaderTemplate","editable","endTime","eventTemplate","footer","group","groupHeaderTemplate","height","majorTick","majorTimeHeaderTemplate","max","messages","min","minorTickCount","minorTimeHeaderTemplate","mobile","name","pdf","resources","selectable","showWorkHours","snap","startTime","timezone","toolbar","views","width","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoSlider":["decreaseButtonTitle","increaseButtonTitle","largeStep","max","min","name","orientation","showButtons","smallStep","tickPlacement","tooltip","value"],"kendoSortable":["autoScroll","axis","connectWith","container","cursor","cursorOffset","disabled","filter","handler","hint","holdToDrag","ignore","name","placeholder"],"kendoSparkline":["autoBind","axisDefaults","categoryAxis","chartArea","data","dataSource","name","plotArea","pointWidth","renderAs","series","seriesColors","seriesDefaults","theme","tooltip","transitions","type","valueAxis"],"kendoSplitter":["name","orientation","panes"],"kendoSpreadsheet":["activeSheet","columnWidth","columns","excel","headerHeight","headerWidth","name","pdf","rowHeight","rows","sheets","sheetsbar","toolbar"],"kendoStockChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","dateField","legend","name","navigator","panes","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis"],"kendoTabStrip":["animation","collapsible","contentUrls","dataContentField","dataContentUrlField","dataImageUrlField","dataSource","dataSpriteCssClass","dataTextField","dataUrlField","name","navigatable","scrollable","tabPosition","value"],"kendoTimePicker":["animation","culture","dates","format","interval","max","min","name","parseFormats","value"],"kendoToolBar":["items","name","resizable"],"kendoTooltip":["animation","autoHide","callout","content","filter","height","iframe","name","position","showAfter","showOn","width"],"kendoTouch":["doubleTapTimeout","enableSwipe","filter","maxDuration","maxYDelta","minHold","minXDelta","multiTouch","name","surface"],"kendoTreeList":["autoBind","columnMenu","columns","dataSource","editable","excel","filterable","height","messages","name","pdf","reorderable","resizable","scrollable","selectable","sortable","toolbar"],"kendoTreeMap":["autoBind","colorField","colors","dataSource","name","template","textField","theme","type","valueField"],"kendoTreeView":["animation","autoBind","autoScroll","checkboxes","dataImageUrlField","dataSource","dataSpriteCssClassField","dataTextField","dataUrlField","dragAndDrop","loadOnDemand","messages","name","template"],"kendoUpload":["async","enabled","files","localization","multiple","name","showFileList","template"],"kendoValidator":["errorTemplate","messages","name","rules","validateOnBlur"],"kendoWindow":["actions","animation","appendTo","autoFocus","content","draggable","height","iframe","maxHeight","maxWidth","minHeight","minWidth","modal","name","pinned","position","resizable","scrollable","title","visible","width"],"GanttColumn":["editable","field","format","sortable","title","width"],"GridColumn":["aggregates","attributes","columns","command","encoded","field","filterable","footerTemplate","format","groupFooterTemplate","groupHeaderTemplate","groupable","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","values","width","editor"],"GridToolbarItem":["name","template","text"],"ToolBarItem":["attributes","buttons","click","enable","group","hidden","icon","id","imageUrl","menuButtons","overflow","overflowTemplate","primary","selected","showIcon","showText","spriteCssClass","template","text","togglable","toggle","type","url"],"ToolBarItemButton":["attributes","click","enable","group","hidden","icon","id","imageUrl","selected","showIcon","showText","spriteCssClass","text","togglable","toggle","url"],"TreeListColumn":["attributes","command","encoded","expandable","field","filterable","footerTemplate","format","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","width","editor"]} export const constants = { eventPrefix: 'k-on-', bindablePrefix: 'k-', @@ -1232,6 +1233,10 @@ export class TemplateGatherer { useTemplates(target, controlName, templates) { let templateProps = this.controlProperties.getTemplateProperties(controlName); + if (!templates) { + templates = []; + } + templates.forEach(c => { if (templateProps.indexOf(c.for) > -1) { if (this.util.hasValue(c.template)) { @@ -1407,11 +1412,13 @@ export class Util { } } +const logger = LogManager.getLogger('aurelia-kendoui-bridge'); + /** * Abstraction of commonly used code across wrappers */ @transient() -@inject(TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer) +@inject(TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer, KendoConfigBuilder) export class WidgetBase { /** @@ -1452,10 +1459,11 @@ export class WidgetBase { */ ctor: any; - constructor(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer) { + constructor(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer, configBuilder) { this.taskQueue = taskQueue; this.optionsBuilder = optionsBuilder; this.util = util; + this.configBuilder = configBuilder; this.templateGatherer = templateGatherer; templateCompiler.initialize(); } @@ -1541,6 +1549,11 @@ export class WidgetBase { _$resources: [this.viewResources] }); + + if (this.configBuilder.debugMode) { + logger.debug(`initializing ${this.controlName} with the following config`, allOptions); + } + // instantiate the Kendo control let widget = this._createWidget(options.element, allOptions, this.controlName); @@ -1763,19 +1776,19 @@ export class DateTimePicker { } } -import 'kendo.dataviz.diagram.min'; +import 'kendo.draganddrop.min'; -@customElement(`${constants.elementPrefix}diagram`) -@generateBindables('kendoDiagram') +@customAttribute(`${constants.attributePrefix}draggable`) +@generateBindables('kendoDraggable') @inject(Element, WidgetBase) -export class Diagram { +export class Draggabke { @bindable kOptions = {}; constructor(element, widgetBase) { this.element = element; this.widgetBase = widgetBase - .control('kendoDiagram') + .control('kendoDraggable') .linkViewModel(this); } @@ -1790,28 +1803,35 @@ export class Diagram { recreate() { this.kWidget = this.widgetBase.createWidget({ element: this.element, - parentCtx: this.$parent + parentCtx: this.$parent, + beforeInitialize: options => this.beforeInitialize(options) }); } + beforeInitialize(options) { + if (options.container) { + Object.assign(options, { container: $(options.container) }); + } + } + detached() { this.widgetBase.destroy(this.kWidget); } } -import 'kendo.draganddrop.min'; +import 'kendo.dataviz.diagram.min'; -@customAttribute(`${constants.attributePrefix}draggable`) -@generateBindables('kendoDraggable') +@customElement(`${constants.elementPrefix}diagram`) +@generateBindables('kendoDiagram') @inject(Element, WidgetBase) -export class Draggabke { +export class Diagram { @bindable kOptions = {}; constructor(element, widgetBase) { this.element = element; this.widgetBase = widgetBase - .control('kendoDraggable') + .control('kendoDiagram') .linkViewModel(this); } @@ -1826,17 +1846,10 @@ export class Draggabke { recreate() { this.kWidget = this.widgetBase.createWidget({ element: this.element, - parentCtx: this.$parent, - beforeInitialize: options => this.beforeInitialize(options) + parentCtx: this.$parent }); } - beforeInitialize(options) { - if (options.container) { - Object.assign(options, { container: $(options.container) }); - } - } - detached() { this.widgetBase.destroy(this.kWidget); } @@ -2218,6 +2231,21 @@ export class Col { } } +@customElement(`${constants.elementPrefix}grid-toolbar`) +@generateBindables('GridToolbarItem') +@inject(TemplateGatherer) +export class GridToolbar { + @children(`${constants.elementPrefix}template`) templates; + + constructor(templateGatherer) { + this.templateGatherer = templateGatherer; + } + + bind() { + this.templateGatherer.useTemplates(this, 'GridToolbarItem', this.templates); + } +} + //eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; @@ -2225,14 +2253,17 @@ import 'kendo.grid.min'; @customElement(`${constants.elementPrefix}grid`) @generateBindables('kendoGrid') -@inject(Element, WidgetBase, ViewResources, OptionsBuilder) +@inject(Element, WidgetBase, ViewResources, OptionsBuilder, TemplateGatherer) export class Grid { @children(`${constants.elementPrefix}col`) columns; + @children(`${constants.elementPrefix}template`) templates; + @children(`${constants.elementPrefix}grid-toolbar`) gridToolbars; @bindable kOptions = {}; - constructor(element, widgetBase, viewResources, optionsBuilder) { + constructor(element, widgetBase, viewResources, optionsBuilder, templateGatherer) { this.element = element; + this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; this.widgetBase = widgetBase .control('kendoGrid') @@ -2264,6 +2295,8 @@ export class Grid { } recreate() { + this.templateGatherer.useTemplates(this, 'kendoGrid', this.templates); + this.kWidget = this.widgetBase.createWidget({ element: this.target, rootElement: this.element, @@ -2281,6 +2314,14 @@ export class Grid { options.columns.push(this.optionsBuilder.getOptions(column, 'GridColumn')); }); } + + if (this.gridToolbars && this.gridToolbars.length > 0) { + options.toolbar = []; + + this.gridToolbars.forEach(toolbar => { + options.toolbar.push(this.optionsBuilder.getOptions(toolbar, 'GridToolbarItem')); + }); + } } detached() { @@ -2684,6 +2725,11 @@ function hasListChildNode(element) { return element.children.length > 0 && (element.children[0].nodeName === 'UL' || element.children[0].nodeName === 'OL'); } +import 'kendo.pdf.min'; +import 'kendo.excel.min'; + +export class PDF {} + import 'kendo.pivot.configurator.min'; @@ -2764,11 +2810,6 @@ export class PivotGrid { } } -import 'kendo.pdf.min'; -import 'kendo.excel.min'; - -export class PDF {} - import 'kendo.progressbar.min'; @customAttribute(`${constants.attributePrefix}progress-bar`) @@ -3374,6 +3415,42 @@ export class Toolbar { } } +import 'kendo.tooltip.min'; + +@customAttribute(`${constants.attributePrefix}tooltip`) +@generateBindables('kendoTooltip') +@inject(Element, WidgetBase) +export class Tooltip { + + @bindable kOptions = {}; + + constructor(element, widgetBase) { + this.element = element; + this.widgetBase = widgetBase + .control('kendoTooltip') + .linkViewModel(this); + } + + bind(ctx) { + this.$parent = ctx; + } + + attached() { + this.recreate(); + } + + recreate() { + this.kWidget = this.widgetBase.createWidget({ + element: this.element, + parentCtx: this.$parent + }); + } + + detached() { + this.widgetBase.destroy(this.kWidget); + } +} + @customElement(`${constants.elementPrefix}tree-col`) @generateBindables('TreeListColumn') @inject(TemplateGatherer) @@ -3447,42 +3524,6 @@ export class TreeList { } } -import 'kendo.tooltip.min'; - -@customAttribute(`${constants.attributePrefix}tooltip`) -@generateBindables('kendoTooltip') -@inject(Element, WidgetBase) -export class Tooltip { - - @bindable kOptions = {}; - - constructor(element, widgetBase) { - this.element = element; - this.widgetBase = widgetBase - .control('kendoTooltip') - .linkViewModel(this); - } - - bind(ctx) { - this.$parent = ctx; - } - - attached() { - this.recreate(); - } - - recreate() { - this.kWidget = this.widgetBase.createWidget({ - element: this.element, - parentCtx: this.$parent - }); - } - - detached() { - this.widgetBase.destroy(this.kWidget); - } -} - import 'kendo.treeview.min'; @customAttribute(`${constants.attributePrefix}treeview`) diff --git a/dist/commonjs/aurelia-kendoui-bridge.d.ts b/dist/commonjs/aurelia-kendoui-bridge.d.ts index f5293d38..dd99681a 100644 --- a/dist/commonjs/aurelia-kendoui-bridge.d.ts +++ b/dist/commonjs/aurelia-kendoui-bridge.d.ts @@ -1,5 +1,6 @@ declare module 'aurelia-kendoui-bridge' { import 'jquery'; + import * as LogManager from 'aurelia-logging'; import { inject, Container, transient } from 'aurelia-dependency-injection'; import { customElement, bindable, children, ViewResources, customAttribute, BindableProperty, HtmlBehaviorResource, TemplatingEngine, noView, processContent, TargetInstruction } from 'aurelia-templating'; import { metadata } from 'aurelia-metadata'; @@ -32,8 +33,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.menu.min'; import 'kendo.datepicker.min'; import 'kendo.datetimepicker.min'; - import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; + import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; import 'kendo.draganddrop.min'; import 'kendo.dropdownlist.min'; @@ -59,13 +60,13 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.notification.min'; import 'kendo.numerictextbox.min'; import 'kendo.panelbar.min'; + import 'kendo.pdf.min'; + import 'kendo.excel.min'; import 'kendo.pivot.configurator.min'; // eslint-disable-line no-unused-vars import 'kendo.pivotgrid.min'; import 'kendo.pivot.fieldmenu.min'; - import 'kendo.pdf.min'; - import 'kendo.excel.min'; import 'kendo.progressbar.min'; import 'kendo.dataviz.qrcode.min'; import 'kendo.slider.min'; @@ -87,12 +88,12 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; + import 'kendo.tooltip.min'; // eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; import 'kendo.treelist.min'; - import 'kendo.tooltip.min'; import 'kendo.treeview.min'; import 'kendo.upload.min'; import 'kendo.validator.min'; @@ -103,7 +104,7 @@ declare module 'aurelia-kendoui-bridge' { */ export class KendoConfigBuilder { resources: string[]; - useGlobalResources: boolean; + debugMode: any; /** * Globally register all Kendo Core wrappers including templating support @@ -115,12 +116,6 @@ declare module 'aurelia-kendoui-bridge' { */ pro(): KendoConfigBuilder; - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder; - /** * Registers value converters (wrappers around kendo functions) */ @@ -130,6 +125,11 @@ declare module 'aurelia-kendoui-bridge' { * Adds kendo templating support */ kendoTemplateSupport(): KendoConfigBuilder; + + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder; kendoAutoComplete(): KendoConfigBuilder; kendoButton(): KendoConfigBuilder; kendoButtonGroup(): KendoConfigBuilder; @@ -156,7 +156,7 @@ declare module 'aurelia-kendoui-bridge' { kendoMap(): KendoConfigBuilder; kendoMenu(): KendoConfigBuilder; kendoMaskedTextBox(): KendoConfigBuilder; - kendoMultiselect(): KendoConfigBuilder; + kendoMultiSelect(): KendoConfigBuilder; kendoNumericTextBox(): KendoConfigBuilder; kendoPanelBar(): KendoConfigBuilder; kendoPivotGrid(): KendoConfigBuilder; @@ -533,7 +533,7 @@ declare module 'aurelia-kendoui-bridge' { * The constructor of a Kendo control */ ctor: any; - constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any); + constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any, configBuilder: any); control(controlName: any): any; linkViewModel(viewModel: any): any; useViewResources(resources: any): any; @@ -592,21 +592,21 @@ declare module 'aurelia-kendoui-bridge' { propertyChanged(property: any, newValue: any, oldValue: any): any; detached(): any; } - export class Diagram { + export class Draggabke { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; + beforeInitialize(options: any): any; detached(): any; } - export class Draggabke { + export class Diagram { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; - beforeInitialize(options: any): any; detached(): any; } export class DropTargetArea { @@ -688,10 +688,17 @@ declare module 'aurelia-kendoui-bridge' { constructor(templateGatherer: any); bind(): any; } + export class GridToolbar { + templates: any; + constructor(templateGatherer: any); + bind(): any; + } export class Grid { columns: any; + templates: any; + gridToolbars: any; kOptions: any; - constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any); + constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any, templateGatherer: any); bind(ctx: any): any; // initialization in bind() is giving issues in some scenarios @@ -779,6 +786,8 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class PDF { + } export class PivotConfigurator { kOptions: any; constructor(element: any, widgetBase: any, viewResources: any); @@ -796,8 +805,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class PDF { - } export class ProgressBar { kOptions: any; constructor(element: any, widgetBase: any); @@ -928,6 +935,14 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class Tooltip { + kOptions: any; + constructor(element: any, widgetBase: any); + bind(ctx: any): any; + attached(): any; + recreate(): any; + detached(): any; + } export class TreeCol { templates: any; constructor(templateGatherer: any); @@ -945,14 +960,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Tooltip { - kOptions: any; - constructor(element: any, widgetBase: any); - bind(ctx: any): any; - attached(): any; - recreate(): any; - detached(): any; - } export class TreeView { kOptions: any; constructor(element: any, widgetBase: any); diff --git a/dist/commonjs/common/bindables.js b/dist/commonjs/common/bindables.js index 051d51c9..b97a0897 100644 --- a/dist/commonjs/common/bindables.js +++ b/dist/commonjs/common/bindables.js @@ -1,5 +1,5 @@ "use strict"; exports.__esModule = true; -var bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; +var bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "GridToolbarItem": ["name", "template", "text"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; exports.bindables = bindables; \ No newline at end of file diff --git a/dist/commonjs/common/template-gatherer.js b/dist/commonjs/common/template-gatherer.js index 9bb5f390..cc19a58f 100644 --- a/dist/commonjs/common/template-gatherer.js +++ b/dist/commonjs/common/template-gatherer.js @@ -23,6 +23,10 @@ var TemplateGatherer = (function () { var templateProps = this.controlProperties.getTemplateProperties(controlName); + if (!templates) { + templates = []; + } + templates.forEach(function (c) { if (templateProps.indexOf(c['for']) > -1) { if (_this.util.hasValue(c.template)) { diff --git a/dist/commonjs/common/widget-base.js b/dist/commonjs/common/widget-base.js index 4c844523..62621c15 100644 --- a/dist/commonjs/common/widget-base.js +++ b/dist/commonjs/common/widget-base.js @@ -2,6 +2,8 @@ exports.__esModule = true; +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } } + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } var _util = require('./util'); @@ -12,17 +14,26 @@ var _templateCompiler = require('./template-compiler'); var _templateGatherer = require('./template-gatherer'); +var _configBuilder = require('../config-builder'); + var _aureliaDependencyInjection = require('aurelia-dependency-injection'); var _aureliaTaskQueue = require('aurelia-task-queue'); +var _aureliaLogging = require('aurelia-logging'); + +var LogManager = _interopRequireWildcard(_aureliaLogging); + +var logger = LogManager.getLogger('aurelia-kendoui-bridge'); + var WidgetBase = (function () { - function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer) { + function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer, configBuilder) { _classCallCheck(this, _WidgetBase); this.taskQueue = taskQueue; this.optionsBuilder = optionsBuilder; this.util = util; + this.configBuilder = configBuilder; this.templateGatherer = templateGatherer; templateCompiler.initialize(); } @@ -94,6 +105,10 @@ var WidgetBase = (function () { _$resources: [this.viewResources] }); + if (this.configBuilder.debugMode) { + logger.debug('initializing ' + this.controlName + ' with the following config', allOptions); + } + var widget = this._createWidget(options.element, allOptions, this.controlName); widget._$parent = options.parentCtx; @@ -177,7 +192,7 @@ var WidgetBase = (function () { }; var _WidgetBase = WidgetBase; - WidgetBase = _aureliaDependencyInjection.inject(_aureliaTaskQueue.TaskQueue, _templateCompiler.TemplateCompiler, _optionsBuilder.OptionsBuilder, _util.Util, _templateGatherer.TemplateGatherer)(WidgetBase) || WidgetBase; + WidgetBase = _aureliaDependencyInjection.inject(_aureliaTaskQueue.TaskQueue, _templateCompiler.TemplateCompiler, _optionsBuilder.OptionsBuilder, _util.Util, _templateGatherer.TemplateGatherer, _configBuilder.KendoConfigBuilder)(WidgetBase) || WidgetBase; WidgetBase = _aureliaDependencyInjection.transient()(WidgetBase) || WidgetBase; return WidgetBase; })(); diff --git a/dist/commonjs/config-builder.js b/dist/commonjs/config-builder.js index 15252fcb..76b7af60 100644 --- a/dist/commonjs/config-builder.js +++ b/dist/commonjs/config-builder.js @@ -9,11 +9,11 @@ var KendoConfigBuilder = (function () { _classCallCheck(this, KendoConfigBuilder); this.resources = []; - this.useGlobalResources = true; + this.debugMode = false; } KendoConfigBuilder.prototype.core = function core() { - this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiselect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); + this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiSelect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); return this; }; @@ -22,11 +22,6 @@ var KendoConfigBuilder = (function () { return this; }; - KendoConfigBuilder.prototype.withoutGlobalResources = function withoutGlobalResources() { - this.useGlobalResources = false; - return this; - }; - KendoConfigBuilder.prototype.useValueConverters = function useValueConverters() { this.resources.push('./valueconverters/valueconverters'); return this; @@ -37,6 +32,11 @@ var KendoConfigBuilder = (function () { return this; }; + KendoConfigBuilder.prototype.debug = function debug() { + this.debugMode = true; + return this; + }; + KendoConfigBuilder.prototype.kendoAutoComplete = function kendoAutoComplete() { this.resources.push('./autocomplete/autocomplete'); return this; @@ -140,6 +140,7 @@ var KendoConfigBuilder = (function () { KendoConfigBuilder.prototype.kendoGrid = function kendoGrid() { this.resources.push('./grid/grid'); this.resources.push('./grid/col'); + this.resources.push('./grid/grid-toolbar'); return this; }; @@ -174,7 +175,7 @@ var KendoConfigBuilder = (function () { return this; }; - KendoConfigBuilder.prototype.kendoMultiselect = function kendoMultiselect() { + KendoConfigBuilder.prototype.kendoMultiSelect = function kendoMultiSelect() { this.resources.push('./multiselect/multiselect'); return this; }; diff --git a/dist/commonjs/grid/grid-toolbar.html b/dist/commonjs/grid/grid-toolbar.html new file mode 100644 index 00000000..7b07f6c2 --- /dev/null +++ b/dist/commonjs/grid/grid-toolbar.html @@ -0,0 +1,3 @@ + diff --git a/dist/commonjs/grid/grid-toolbar.js b/dist/commonjs/grid/grid-toolbar.js new file mode 100644 index 00000000..98d3a0aa --- /dev/null +++ b/dist/commonjs/grid/grid-toolbar.js @@ -0,0 +1,50 @@ +'use strict'; + +exports.__esModule = true; + +var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + +function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + +var _aureliaTemplating = require('aurelia-templating'); + +var _aureliaDependencyInjection = require('aurelia-dependency-injection'); + +var _commonConstants = require('../common/constants'); + +var _commonDecorators = require('../common/decorators'); + +var _commonTemplateGatherer = require('../common/template-gatherer'); + +var GridToolbar = (function () { + var _instanceInitializers = {}; + + _createDecoratedClass(GridToolbar, [{ + key: 'templates', + decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }], null, _instanceInitializers); + + function GridToolbar(templateGatherer) { + _classCallCheck(this, _GridToolbar); + + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers); + + this.templateGatherer = templateGatherer; + } + + GridToolbar.prototype.bind = function bind() { + this.templateGatherer.useTemplates(this, 'GridToolbarItem', this.templates); + }; + + var _GridToolbar = GridToolbar; + GridToolbar = _aureliaDependencyInjection.inject(_commonTemplateGatherer.TemplateGatherer)(GridToolbar) || GridToolbar; + GridToolbar = _commonDecorators.generateBindables('GridToolbarItem')(GridToolbar) || GridToolbar; + GridToolbar = _aureliaTemplating.customElement(_commonConstants.constants.elementPrefix + 'grid-toolbar')(GridToolbar) || GridToolbar; + return GridToolbar; +})(); + +exports.GridToolbar = GridToolbar; \ No newline at end of file diff --git a/dist/commonjs/grid/grid.js b/dist/commonjs/grid/grid.js index 6c922286..d3cfacf5 100644 --- a/dist/commonjs/grid/grid.js +++ b/dist/commonjs/grid/grid.js @@ -20,6 +20,8 @@ var _commonConstants = require('../common/constants'); var _commonOptionsBuilder = require('../common/options-builder'); +var _commonTemplateGatherer = require('../common/template-gatherer'); + var _pdfPdf = require('../pdf/pdf'); require('kendo.data.signalr.min'); @@ -36,6 +38,16 @@ var Grid = (function () { decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'col')], initializer: null, enumerable: true + }, { + key: 'templates', + decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }, { + key: 'gridToolbars', + decorators: [_aureliaTemplating.children(_commonConstants.constants.elementPrefix + 'grid-toolbar')], + initializer: null, + enumerable: true }, { key: 'kOptions', decorators: [_aureliaTemplating.bindable], @@ -45,14 +57,19 @@ var Grid = (function () { enumerable: true }], null, _instanceInitializers); - function Grid(element, widgetBase, viewResources, optionsBuilder) { + function Grid(element, widgetBase, viewResources, optionsBuilder, templateGatherer) { _classCallCheck(this, _Grid); _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers); + + _defineDecoratedPropertyDescriptor(this, 'gridToolbars', _instanceInitializers); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers); this.element = element; + this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; this.widgetBase = widgetBase.control('kendoGrid').linkViewModel(this).useViewResources(viewResources); } @@ -77,6 +94,8 @@ var Grid = (function () { Grid.prototype.recreate = function recreate() { var _this = this; + this.templateGatherer.useTemplates(this, 'kendoGrid', this.templates); + this.kWidget = this.widgetBase.createWidget({ element: this.target, rootElement: this.element, @@ -97,6 +116,14 @@ var Grid = (function () { options.columns.push(_this2.optionsBuilder.getOptions(column, 'GridColumn')); }); } + + if (this.gridToolbars && this.gridToolbars.length > 0) { + options.toolbar = []; + + this.gridToolbars.forEach(function (toolbar) { + options.toolbar.push(_this2.optionsBuilder.getOptions(toolbar, 'GridToolbarItem')); + }); + } }; Grid.prototype.detached = function detached() { @@ -104,7 +131,7 @@ var Grid = (function () { }; var _Grid = Grid; - Grid = _aureliaDependencyInjection.inject(Element, _commonWidgetBase.WidgetBase, _aureliaTemplating.ViewResources, _commonOptionsBuilder.OptionsBuilder)(Grid) || Grid; + Grid = _aureliaDependencyInjection.inject(Element, _commonWidgetBase.WidgetBase, _aureliaTemplating.ViewResources, _commonOptionsBuilder.OptionsBuilder, _commonTemplateGatherer.TemplateGatherer)(Grid) || Grid; Grid = _commonDecorators.generateBindables('kendoGrid')(Grid) || Grid; Grid = _aureliaTemplating.customElement(_commonConstants.constants.elementPrefix + 'grid')(Grid) || Grid; return Grid; diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js index e4ef3fa9..0a60b274 100644 --- a/dist/commonjs/index.js +++ b/dist/commonjs/index.js @@ -8,7 +8,7 @@ var _configBuilder = require('./config-builder'); require('jquery'); function configure(aurelia, configCallback) { - var builder = new _configBuilder.KendoConfigBuilder(); + var builder = aurelia.container.get(_configBuilder.KendoConfigBuilder); if (configCallback !== undefined && typeof configCallback === 'function') { configCallback(builder); @@ -16,7 +16,7 @@ function configure(aurelia, configCallback) { var resources = builder.resources; - if (builder.useGlobalResources) { + if (resources.length > 0) { aurelia.globalResources(resources); } } \ No newline at end of file diff --git a/dist/es6/aurelia-kendoui-bridge.d.ts b/dist/es6/aurelia-kendoui-bridge.d.ts index f5293d38..dd99681a 100644 --- a/dist/es6/aurelia-kendoui-bridge.d.ts +++ b/dist/es6/aurelia-kendoui-bridge.d.ts @@ -1,5 +1,6 @@ declare module 'aurelia-kendoui-bridge' { import 'jquery'; + import * as LogManager from 'aurelia-logging'; import { inject, Container, transient } from 'aurelia-dependency-injection'; import { customElement, bindable, children, ViewResources, customAttribute, BindableProperty, HtmlBehaviorResource, TemplatingEngine, noView, processContent, TargetInstruction } from 'aurelia-templating'; import { metadata } from 'aurelia-metadata'; @@ -32,8 +33,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.menu.min'; import 'kendo.datepicker.min'; import 'kendo.datetimepicker.min'; - import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; + import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; import 'kendo.draganddrop.min'; import 'kendo.dropdownlist.min'; @@ -59,13 +60,13 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.notification.min'; import 'kendo.numerictextbox.min'; import 'kendo.panelbar.min'; + import 'kendo.pdf.min'; + import 'kendo.excel.min'; import 'kendo.pivot.configurator.min'; // eslint-disable-line no-unused-vars import 'kendo.pivotgrid.min'; import 'kendo.pivot.fieldmenu.min'; - import 'kendo.pdf.min'; - import 'kendo.excel.min'; import 'kendo.progressbar.min'; import 'kendo.dataviz.qrcode.min'; import 'kendo.slider.min'; @@ -87,12 +88,12 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; + import 'kendo.tooltip.min'; // eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; import 'kendo.treelist.min'; - import 'kendo.tooltip.min'; import 'kendo.treeview.min'; import 'kendo.upload.min'; import 'kendo.validator.min'; @@ -103,7 +104,7 @@ declare module 'aurelia-kendoui-bridge' { */ export class KendoConfigBuilder { resources: string[]; - useGlobalResources: boolean; + debugMode: any; /** * Globally register all Kendo Core wrappers including templating support @@ -115,12 +116,6 @@ declare module 'aurelia-kendoui-bridge' { */ pro(): KendoConfigBuilder; - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder; - /** * Registers value converters (wrappers around kendo functions) */ @@ -130,6 +125,11 @@ declare module 'aurelia-kendoui-bridge' { * Adds kendo templating support */ kendoTemplateSupport(): KendoConfigBuilder; + + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder; kendoAutoComplete(): KendoConfigBuilder; kendoButton(): KendoConfigBuilder; kendoButtonGroup(): KendoConfigBuilder; @@ -156,7 +156,7 @@ declare module 'aurelia-kendoui-bridge' { kendoMap(): KendoConfigBuilder; kendoMenu(): KendoConfigBuilder; kendoMaskedTextBox(): KendoConfigBuilder; - kendoMultiselect(): KendoConfigBuilder; + kendoMultiSelect(): KendoConfigBuilder; kendoNumericTextBox(): KendoConfigBuilder; kendoPanelBar(): KendoConfigBuilder; kendoPivotGrid(): KendoConfigBuilder; @@ -533,7 +533,7 @@ declare module 'aurelia-kendoui-bridge' { * The constructor of a Kendo control */ ctor: any; - constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any); + constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any, configBuilder: any); control(controlName: any): any; linkViewModel(viewModel: any): any; useViewResources(resources: any): any; @@ -592,21 +592,21 @@ declare module 'aurelia-kendoui-bridge' { propertyChanged(property: any, newValue: any, oldValue: any): any; detached(): any; } - export class Diagram { + export class Draggabke { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; + beforeInitialize(options: any): any; detached(): any; } - export class Draggabke { + export class Diagram { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; - beforeInitialize(options: any): any; detached(): any; } export class DropTargetArea { @@ -688,10 +688,17 @@ declare module 'aurelia-kendoui-bridge' { constructor(templateGatherer: any); bind(): any; } + export class GridToolbar { + templates: any; + constructor(templateGatherer: any); + bind(): any; + } export class Grid { columns: any; + templates: any; + gridToolbars: any; kOptions: any; - constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any); + constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any, templateGatherer: any); bind(ctx: any): any; // initialization in bind() is giving issues in some scenarios @@ -779,6 +786,8 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class PDF { + } export class PivotConfigurator { kOptions: any; constructor(element: any, widgetBase: any, viewResources: any); @@ -796,8 +805,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class PDF { - } export class ProgressBar { kOptions: any; constructor(element: any, widgetBase: any); @@ -928,6 +935,14 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class Tooltip { + kOptions: any; + constructor(element: any, widgetBase: any); + bind(ctx: any): any; + attached(): any; + recreate(): any; + detached(): any; + } export class TreeCol { templates: any; constructor(templateGatherer: any); @@ -945,14 +960,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Tooltip { - kOptions: any; - constructor(element: any, widgetBase: any); - bind(ctx: any): any; - attached(): any; - recreate(): any; - detached(): any; - } export class TreeView { kOptions: any; constructor(element: any, widgetBase: any); diff --git a/dist/es6/common/bindables.js b/dist/es6/common/bindables.js index 41a4ff83..6ecb08a9 100644 --- a/dist/es6/common/bindables.js +++ b/dist/es6/common/bindables.js @@ -1 +1 @@ -export let bindables = {"kendoAutoComplete":["animation","dataSource","dataTextField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","minLength","name","placeholder","popup","separator","suggest","template","valuePrimitive","virtual"],"kendoBarcode":["background","border","checksum","color","height","name","padding","renderAs","text","type","value","width"],"kendoButton":["enable","icon","imageUrl","name","spriteCssClass"],"kendoCalendar":["culture","dates","depth","disableDates","footer","format","max","min","month","name","start","value"],"kendoChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","legend","name","panes","pannable","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis","xAxis","yAxis","zoomable"],"kendoColorPalette":["columns","name","palette","tileSize","value"],"kendoColorPicker":["buttons","columns","messages","name","opacity","palette","preview","tileSize","toolIcon","value"],"kendoComboBox":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","index","minLength","name","placeholder","popup","suggest","template","text","value","valuePrimitive","virtual"],"kendoContextMenu":["alignToAnchor","animation","closeOnClick","dataSource","direction","filter","hoverDelay","name","orientation","popupCollision","showOn","target"],"kendoDatePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","max","min","month","name","parseFormats","start","value"],"kendoDateTimePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","interval","max","min","month","name","parseFormats","start","timeFormat","value"],"kendoDiagram":["autoBind","connectionDefaults","connections","connectionsDataSource","dataSource","editable","layout","name","pannable","pdf","selectable","shapeDefaults","shapes","template","zoom","zoomMax","zoomMin","zoomRate"],"kendoDraggable":["axis","container","cursorOffset","distance","filter","group","hint","ignore"],"kendoDropDownList":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","ignoreCase","index","minLength","name","optionLabel","optionLabelTemplate","popup","template","text","value","valuePrimitive","valueTemplate","virtual"],"kendoDropTarget":["group"],"kendoDropTargetArea":["filter","group"],"kendoEditor":["domain","encoded","fileBrowser","imageBrowser","messages","name","pdf","resizable","serialization","stylesheets","tools"],"kendoFlatColorPicker":["autoupdate","buttons","messages","name","opacity","preview","value"],"kendoGantt":["assignments","autoBind","columnResizeHandleWidth","columns","currentTimeMarker","dataSource","dependencies","editable","height","hourSpan","listWidth","messages","name","navigatable","pdf","resizable","resources","rowHeight","selectable","showWorkDays","showWorkHours","snap","taskTemplate","toolbar","tooltip","views","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoGrid":["allowCopy","altRowTemplate","autoBind","columnMenu","columnResizeHandleWidth","columns","dataSource","detailTemplate","editable","excel","filterable","groupable","height","messages","mobile","name","navigatable","noRecords","pageable","pdf","reorderable","resizable","rowTemplate","scrollable","selectable","sortable","toolbar"],"kendoLinearGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoListView":["altTemplate","autoBind","dataSource","editTemplate","name","navigatable","selectable","template"],"kendoMap":["center","controls","layerDefaults","layers","markerDefaults","markers","maxZoom","minSize","minZoom","name","pannable","wraparound","zoom","zoomable"],"kendoMaskedTextBox":["clearPromptChar","culture","mask","name","promptChar","rules","unmaskOnPost","value"],"kendoMenu":["animation","closeOnClick","dataSource","direction","hoverDelay","name","openOnClick","orientation","popupCollision"],"kendoMobileActionSheet":["cancel","name","popup","type"],"kendoMobileBackButton":["name"],"kendoMobileButton":["badge","clickOn","enable","icon","name"],"kendoMobileButtonGroup":["enable","index","name","selectOn"],"kendoMobileCollapsible":["animation","collapsed","expandIcon","iconPosition","inset","name"],"kendoMobileDetailButton":["name"],"kendoMobileDrawer":["container","name","position","swipeToOpen","swipeToOpenViews","title","views"],"kendoMobileLayout":["id","name","platform"],"kendoMobileListView":["appendOnRefresh","autoBind","dataSource","endlessScroll","filterable","fixedHeaders","headerTemplate","loadMore","messages","name","pullParameters","pullToRefresh","style","template","type","virtualViewSize"],"kendoMobileLoader":["name"],"kendoMobileModalView":["height","modal","name","width"],"kendoMobileNavBar":["name"],"kendoMobilePane":["collapsible","initial","layout","loading","name","portraitWidth","transition"],"kendoMobilePopOver":["name","pane","popup"],"kendoMobileScrollView":["autoBind","bounceVelocityThreshold","contentHeight","dataSource","duration","emptyTemplate","enablePager","itemsPerPage","name","page","pageSize","template","velocityThreshold"],"kendoMobileScroller":["elastic","messages","name","pullOffset","pullToRefresh","useNative","visibleScrollHints","zoom"],"kendoMobileSplitView":["name","style"],"kendoMobileSwitch":["checked","enable","name","offLabel","onLabel"],"kendoMobileTabStrip":["name","selectedIndex"],"kendoMobileView":["model","name","reload","scroller","stretch","title","useNativeScrolling","zoom"],"kendoMultiSelect":["animation","autoBind","autoClose","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","itemTemplate","maxSelectedItems","minLength","name","placeholder","popup","tagMode","tagTemplate","value","valuePrimitive","virtual"],"kendoNotification":["allowHideAfter","animation","appendTo","autoHideAfter","button","height","hideOnClick","name","position","stacking","templates","width"],"kendoNumericTextBox":["culture","decimals","downArrowText","format","max","min","name","placeholder","spinners","step","upArrowText","value"],"kendoPager":["autoBind","buttonCount","dataSource","info","input","linkTemplate","messages","name","numeric","pageSizes","previousNext","refresh","selectTemplate"],"kendoPanelBar":["animation","contentUrls","dataSource","expandMode","name"],"kendoPivotConfigurator":["dataSource","filterable","height","messages","name","sortable"],"kendoPivotGrid":["autoBind","columnHeaderTemplate","columnWidth","dataCellTemplate","dataSource","excel","filterable","height","kpiStatusTemplate","kpiTrendTemplate","messages","name","pdf","reorderable","rowHeaderTemplate","sortable"],"kendoPopup":["anchor","animation","appendTo","name","origin","position"],"kendoProgressBar":["animation","chunkCount","enable","max","min","name","orientation","reverse","showStatus","type","value"],"kendoQRCode":["background","border","color","encoding","errorCorrection","name","padding","renderAs","size","value"],"kendoRadialGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoRangeSlider":["largeStep","max","min","name","orientation","selectionEnd","selectionStart","smallStep","tickPlacement","tooltip"],"kendoResponsivePanel":["autoClose","breakpoint","name","orientation","toggleButton"],"kendoScheduler":["allDayEventTemplate","allDaySlot","autoBind","currentTimeMarker","dataSource","date","dateHeaderTemplate","editable","endTime","eventTemplate","footer","group","groupHeaderTemplate","height","majorTick","majorTimeHeaderTemplate","max","messages","min","minorTickCount","minorTimeHeaderTemplate","mobile","name","pdf","resources","selectable","showWorkHours","snap","startTime","timezone","toolbar","views","width","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoSlider":["decreaseButtonTitle","increaseButtonTitle","largeStep","max","min","name","orientation","showButtons","smallStep","tickPlacement","tooltip","value"],"kendoSortable":["autoScroll","axis","connectWith","container","cursor","cursorOffset","disabled","filter","handler","hint","holdToDrag","ignore","name","placeholder"],"kendoSparkline":["autoBind","axisDefaults","categoryAxis","chartArea","data","dataSource","name","plotArea","pointWidth","renderAs","series","seriesColors","seriesDefaults","theme","tooltip","transitions","type","valueAxis"],"kendoSplitter":["name","orientation","panes"],"kendoSpreadsheet":["activeSheet","columnWidth","columns","excel","headerHeight","headerWidth","name","pdf","rowHeight","rows","sheets","sheetsbar","toolbar"],"kendoStockChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","dateField","legend","name","navigator","panes","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis"],"kendoTabStrip":["animation","collapsible","contentUrls","dataContentField","dataContentUrlField","dataImageUrlField","dataSource","dataSpriteCssClass","dataTextField","dataUrlField","name","navigatable","scrollable","tabPosition","value"],"kendoTimePicker":["animation","culture","dates","format","interval","max","min","name","parseFormats","value"],"kendoToolBar":["items","name","resizable"],"kendoTooltip":["animation","autoHide","callout","content","filter","height","iframe","name","position","showAfter","showOn","width"],"kendoTouch":["doubleTapTimeout","enableSwipe","filter","maxDuration","maxYDelta","minHold","minXDelta","multiTouch","name","surface"],"kendoTreeList":["autoBind","columnMenu","columns","dataSource","editable","excel","filterable","height","messages","name","pdf","reorderable","resizable","scrollable","selectable","sortable","toolbar"],"kendoTreeMap":["autoBind","colorField","colors","dataSource","name","template","textField","theme","type","valueField"],"kendoTreeView":["animation","autoBind","autoScroll","checkboxes","dataImageUrlField","dataSource","dataSpriteCssClassField","dataTextField","dataUrlField","dragAndDrop","loadOnDemand","messages","name","template"],"kendoUpload":["async","enabled","files","localization","multiple","name","showFileList","template"],"kendoValidator":["errorTemplate","messages","name","rules","validateOnBlur"],"kendoWindow":["actions","animation","appendTo","autoFocus","content","draggable","height","iframe","maxHeight","maxWidth","minHeight","minWidth","modal","name","pinned","position","resizable","scrollable","title","visible","width"],"GanttColumn":["editable","field","format","sortable","title","width"],"GridColumn":["aggregates","attributes","columns","command","encoded","field","filterable","footerTemplate","format","groupFooterTemplate","groupHeaderTemplate","groupable","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","values","width","editor"],"ToolBarItem":["attributes","buttons","click","enable","group","hidden","icon","id","imageUrl","menuButtons","overflow","overflowTemplate","primary","selected","showIcon","showText","spriteCssClass","template","text","togglable","toggle","type","url"],"ToolBarItemButton":["attributes","click","enable","group","hidden","icon","id","imageUrl","selected","showIcon","showText","spriteCssClass","text","togglable","toggle","url"],"TreeListColumn":["attributes","command","encoded","expandable","field","filterable","footerTemplate","format","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","width","editor"]} \ No newline at end of file +export let bindables = {"kendoAutoComplete":["animation","dataSource","dataTextField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","minLength","name","placeholder","popup","separator","suggest","template","valuePrimitive","virtual"],"kendoBarcode":["background","border","checksum","color","height","name","padding","renderAs","text","type","value","width"],"kendoButton":["enable","icon","imageUrl","name","spriteCssClass"],"kendoCalendar":["culture","dates","depth","disableDates","footer","format","max","min","month","name","start","value"],"kendoChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","legend","name","panes","pannable","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis","xAxis","yAxis","zoomable"],"kendoColorPalette":["columns","name","palette","tileSize","value"],"kendoColorPicker":["buttons","columns","messages","name","opacity","palette","preview","tileSize","toolIcon","value"],"kendoComboBox":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","index","minLength","name","placeholder","popup","suggest","template","text","value","valuePrimitive","virtual"],"kendoContextMenu":["alignToAnchor","animation","closeOnClick","dataSource","direction","filter","hoverDelay","name","orientation","popupCollision","showOn","target"],"kendoDatePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","max","min","month","name","parseFormats","start","value"],"kendoDateTimePicker":["ARIATemplate","animation","culture","dates","depth","disableDates","footer","format","interval","max","min","month","name","parseFormats","start","timeFormat","value"],"kendoDiagram":["autoBind","connectionDefaults","connections","connectionsDataSource","dataSource","editable","layout","name","pannable","pdf","selectable","shapeDefaults","shapes","template","zoom","zoomMax","zoomMin","zoomRate"],"kendoDraggable":["axis","container","cursorOffset","distance","filter","group","hint","ignore"],"kendoDropDownList":["animation","autoBind","cascadeFrom","cascadeFromField","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","ignoreCase","index","minLength","name","optionLabel","optionLabelTemplate","popup","template","text","value","valuePrimitive","valueTemplate","virtual"],"kendoDropTarget":["group"],"kendoDropTargetArea":["filter","group"],"kendoEditor":["domain","encoded","fileBrowser","imageBrowser","messages","name","pdf","resizable","serialization","stylesheets","tools"],"kendoFlatColorPicker":["autoupdate","buttons","messages","name","opacity","preview","value"],"kendoGantt":["assignments","autoBind","columnResizeHandleWidth","columns","currentTimeMarker","dataSource","dependencies","editable","height","hourSpan","listWidth","messages","name","navigatable","pdf","resizable","resources","rowHeight","selectable","showWorkDays","showWorkHours","snap","taskTemplate","toolbar","tooltip","views","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoGrid":["allowCopy","altRowTemplate","autoBind","columnMenu","columnResizeHandleWidth","columns","dataSource","detailTemplate","editable","excel","filterable","groupable","height","messages","mobile","name","navigatable","noRecords","pageable","pdf","reorderable","resizable","rowTemplate","scrollable","selectable","sortable","toolbar"],"kendoLinearGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoListView":["altTemplate","autoBind","dataSource","editTemplate","name","navigatable","selectable","template"],"kendoMap":["center","controls","layerDefaults","layers","markerDefaults","markers","maxZoom","minSize","minZoom","name","pannable","wraparound","zoom","zoomable"],"kendoMaskedTextBox":["clearPromptChar","culture","mask","name","promptChar","rules","unmaskOnPost","value"],"kendoMenu":["animation","closeOnClick","dataSource","direction","hoverDelay","name","openOnClick","orientation","popupCollision"],"kendoMobileActionSheet":["cancel","name","popup","type"],"kendoMobileBackButton":["name"],"kendoMobileButton":["badge","clickOn","enable","icon","name"],"kendoMobileButtonGroup":["enable","index","name","selectOn"],"kendoMobileCollapsible":["animation","collapsed","expandIcon","iconPosition","inset","name"],"kendoMobileDetailButton":["name"],"kendoMobileDrawer":["container","name","position","swipeToOpen","swipeToOpenViews","title","views"],"kendoMobileLayout":["id","name","platform"],"kendoMobileListView":["appendOnRefresh","autoBind","dataSource","endlessScroll","filterable","fixedHeaders","headerTemplate","loadMore","messages","name","pullParameters","pullToRefresh","style","template","type","virtualViewSize"],"kendoMobileLoader":["name"],"kendoMobileModalView":["height","modal","name","width"],"kendoMobileNavBar":["name"],"kendoMobilePane":["collapsible","initial","layout","loading","name","portraitWidth","transition"],"kendoMobilePopOver":["name","pane","popup"],"kendoMobileScrollView":["autoBind","bounceVelocityThreshold","contentHeight","dataSource","duration","emptyTemplate","enablePager","itemsPerPage","name","page","pageSize","template","velocityThreshold"],"kendoMobileScroller":["elastic","messages","name","pullOffset","pullToRefresh","useNative","visibleScrollHints","zoom"],"kendoMobileSplitView":["name","style"],"kendoMobileSwitch":["checked","enable","name","offLabel","onLabel"],"kendoMobileTabStrip":["name","selectedIndex"],"kendoMobileView":["model","name","reload","scroller","stretch","title","useNativeScrolling","zoom"],"kendoMultiSelect":["animation","autoBind","autoClose","dataSource","dataTextField","dataValueField","delay","enable","filter","fixedGroupTemplate","groupTemplate","headerTemplate","height","highlightFirst","ignoreCase","itemTemplate","maxSelectedItems","minLength","name","placeholder","popup","tagMode","tagTemplate","value","valuePrimitive","virtual"],"kendoNotification":["allowHideAfter","animation","appendTo","autoHideAfter","button","height","hideOnClick","name","position","stacking","templates","width"],"kendoNumericTextBox":["culture","decimals","downArrowText","format","max","min","name","placeholder","spinners","step","upArrowText","value"],"kendoPager":["autoBind","buttonCount","dataSource","info","input","linkTemplate","messages","name","numeric","pageSizes","previousNext","refresh","selectTemplate"],"kendoPanelBar":["animation","contentUrls","dataSource","expandMode","name"],"kendoPivotConfigurator":["dataSource","filterable","height","messages","name","sortable"],"kendoPivotGrid":["autoBind","columnHeaderTemplate","columnWidth","dataCellTemplate","dataSource","excel","filterable","height","kpiStatusTemplate","kpiTrendTemplate","messages","name","pdf","reorderable","rowHeaderTemplate","sortable"],"kendoPopup":["anchor","animation","appendTo","name","origin","position"],"kendoProgressBar":["animation","chunkCount","enable","max","min","name","orientation","reverse","showStatus","type","value"],"kendoQRCode":["background","border","color","encoding","errorCorrection","name","padding","renderAs","size","value"],"kendoRadialGauge":["gaugeArea","name","pointer","renderAs","scale","transitions"],"kendoRangeSlider":["largeStep","max","min","name","orientation","selectionEnd","selectionStart","smallStep","tickPlacement","tooltip"],"kendoResponsivePanel":["autoClose","breakpoint","name","orientation","toggleButton"],"kendoScheduler":["allDayEventTemplate","allDaySlot","autoBind","currentTimeMarker","dataSource","date","dateHeaderTemplate","editable","endTime","eventTemplate","footer","group","groupHeaderTemplate","height","majorTick","majorTimeHeaderTemplate","max","messages","min","minorTickCount","minorTimeHeaderTemplate","mobile","name","pdf","resources","selectable","showWorkHours","snap","startTime","timezone","toolbar","views","width","workDayEnd","workDayStart","workWeekEnd","workWeekStart"],"kendoSlider":["decreaseButtonTitle","increaseButtonTitle","largeStep","max","min","name","orientation","showButtons","smallStep","tickPlacement","tooltip","value"],"kendoSortable":["autoScroll","axis","connectWith","container","cursor","cursorOffset","disabled","filter","handler","hint","holdToDrag","ignore","name","placeholder"],"kendoSparkline":["autoBind","axisDefaults","categoryAxis","chartArea","data","dataSource","name","plotArea","pointWidth","renderAs","series","seriesColors","seriesDefaults","theme","tooltip","transitions","type","valueAxis"],"kendoSplitter":["name","orientation","panes"],"kendoSpreadsheet":["activeSheet","columnWidth","columns","excel","headerHeight","headerWidth","name","pdf","rowHeight","rows","sheets","sheetsbar","toolbar"],"kendoStockChart":["autoBind","axisDefaults","categoryAxis","chartArea","dataSource","dateField","legend","name","navigator","panes","pdf","plotArea","renderAs","series","seriesColors","seriesDefaults","theme","title","tooltip","transitions","valueAxis"],"kendoTabStrip":["animation","collapsible","contentUrls","dataContentField","dataContentUrlField","dataImageUrlField","dataSource","dataSpriteCssClass","dataTextField","dataUrlField","name","navigatable","scrollable","tabPosition","value"],"kendoTimePicker":["animation","culture","dates","format","interval","max","min","name","parseFormats","value"],"kendoToolBar":["items","name","resizable"],"kendoTooltip":["animation","autoHide","callout","content","filter","height","iframe","name","position","showAfter","showOn","width"],"kendoTouch":["doubleTapTimeout","enableSwipe","filter","maxDuration","maxYDelta","minHold","minXDelta","multiTouch","name","surface"],"kendoTreeList":["autoBind","columnMenu","columns","dataSource","editable","excel","filterable","height","messages","name","pdf","reorderable","resizable","scrollable","selectable","sortable","toolbar"],"kendoTreeMap":["autoBind","colorField","colors","dataSource","name","template","textField","theme","type","valueField"],"kendoTreeView":["animation","autoBind","autoScroll","checkboxes","dataImageUrlField","dataSource","dataSpriteCssClassField","dataTextField","dataUrlField","dragAndDrop","loadOnDemand","messages","name","template"],"kendoUpload":["async","enabled","files","localization","multiple","name","showFileList","template"],"kendoValidator":["errorTemplate","messages","name","rules","validateOnBlur"],"kendoWindow":["actions","animation","appendTo","autoFocus","content","draggable","height","iframe","maxHeight","maxWidth","minHeight","minWidth","modal","name","pinned","position","resizable","scrollable","title","visible","width"],"GanttColumn":["editable","field","format","sortable","title","width"],"GridColumn":["aggregates","attributes","columns","command","encoded","field","filterable","footerTemplate","format","groupFooterTemplate","groupHeaderTemplate","groupable","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","values","width","editor"],"GridToolbarItem":["name","template","text"],"ToolBarItem":["attributes","buttons","click","enable","group","hidden","icon","id","imageUrl","menuButtons","overflow","overflowTemplate","primary","selected","showIcon","showText","spriteCssClass","template","text","togglable","toggle","type","url"],"ToolBarItemButton":["attributes","click","enable","group","hidden","icon","id","imageUrl","selected","showIcon","showText","spriteCssClass","text","togglable","toggle","url"],"TreeListColumn":["attributes","command","encoded","expandable","field","filterable","footerTemplate","format","headerAttributes","headerTemplate","hidden","lockable","locked","menu","minScreenWidth","sortable","template","title","width","editor"]} \ No newline at end of file diff --git a/dist/es6/common/template-gatherer.js b/dist/es6/common/template-gatherer.js index 0de09814..a8f2fc8d 100644 --- a/dist/es6/common/template-gatherer.js +++ b/dist/es6/common/template-gatherer.js @@ -23,6 +23,10 @@ export class TemplateGatherer { useTemplates(target, controlName, templates) { let templateProps = this.controlProperties.getTemplateProperties(controlName); + if (!templates) { + templates = []; + } + templates.forEach(c => { if (templateProps.indexOf(c.for) > -1) { if (this.util.hasValue(c.template)) { diff --git a/dist/es6/common/widget-base.js b/dist/es6/common/widget-base.js index a0456403..953fa130 100644 --- a/dist/es6/common/widget-base.js +++ b/dist/es6/common/widget-base.js @@ -2,14 +2,18 @@ import {Util} from './util'; import {OptionsBuilder} from './options-builder'; import {TemplateCompiler} from './template-compiler'; import {TemplateGatherer} from './template-gatherer'; +import {KendoConfigBuilder} from '../config-builder'; import {inject, transient} from 'aurelia-dependency-injection'; import {TaskQueue} from 'aurelia-task-queue'; +import * as LogManager from 'aurelia-logging'; + +const logger = LogManager.getLogger('aurelia-kendoui-bridge'); /** * Abstraction of commonly used code across wrappers */ @transient() -@inject(TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer) +@inject(TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer, KendoConfigBuilder) export class WidgetBase { /** @@ -50,10 +54,11 @@ export class WidgetBase { */ ctor: any; - constructor(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer) { + constructor(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer, configBuilder) { this.taskQueue = taskQueue; this.optionsBuilder = optionsBuilder; this.util = util; + this.configBuilder = configBuilder; this.templateGatherer = templateGatherer; templateCompiler.initialize(); } @@ -139,6 +144,11 @@ export class WidgetBase { _$resources: [this.viewResources] }); + + if (this.configBuilder.debugMode) { + logger.debug(`initializing ${this.controlName} with the following config`, allOptions); + } + // instantiate the Kendo control let widget = this._createWidget(options.element, allOptions, this.controlName); diff --git a/dist/es6/config-builder.js b/dist/es6/config-builder.js index bd641549..e9d3d573 100644 --- a/dist/es6/config-builder.js +++ b/dist/es6/config-builder.js @@ -4,7 +4,7 @@ export class KendoConfigBuilder { resources: string[] = []; - useGlobalResources: boolean = true; + debugMode = false; /** * Globally register all Kendo Core wrappers including templating support @@ -27,7 +27,7 @@ export class KendoConfigBuilder { .kendoListView() .kendoMaskedTextBox() .kendoMenu() - .kendoMultiselect() + .kendoMultiSelect() .kendoNotification() .kendoNumericTextBox() .kendoPanelBar() @@ -73,15 +73,6 @@ export class KendoConfigBuilder { return this; } - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder { - this.useGlobalResources = false; - return this; - } - /** * Registers value converters (wrappers around kendo functions) */ @@ -98,6 +89,14 @@ export class KendoConfigBuilder { return this; } + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder { + this.debugMode = true; + return this; + } + kendoAutoComplete(): KendoConfigBuilder { this.resources.push('./autocomplete/autocomplete'); return this; @@ -201,6 +200,7 @@ export class KendoConfigBuilder { kendoGrid(): KendoConfigBuilder { this.resources.push('./grid/grid'); this.resources.push('./grid/col'); + this.resources.push('./grid/grid-toolbar'); return this; } @@ -235,7 +235,7 @@ export class KendoConfigBuilder { return this; } - kendoMultiselect(): KendoConfigBuilder { + kendoMultiSelect(): KendoConfigBuilder { this.resources.push('./multiselect/multiselect'); return this; } diff --git a/dist/es6/grid/grid-toolbar.html b/dist/es6/grid/grid-toolbar.html new file mode 100644 index 00000000..7b07f6c2 --- /dev/null +++ b/dist/es6/grid/grid-toolbar.html @@ -0,0 +1,3 @@ + diff --git a/dist/es6/grid/grid-toolbar.js b/dist/es6/grid/grid-toolbar.js new file mode 100644 index 00000000..90ec69d9 --- /dev/null +++ b/dist/es6/grid/grid-toolbar.js @@ -0,0 +1,20 @@ +import {children, customElement} from 'aurelia-templating'; +import {inject} from 'aurelia-dependency-injection'; +import {constants} from '../common/constants'; +import {generateBindables} from '../common/decorators'; +import {TemplateGatherer} from '../common/template-gatherer'; + +@customElement(`${constants.elementPrefix}grid-toolbar`) +@generateBindables('GridToolbarItem') +@inject(TemplateGatherer) +export class GridToolbar { + @children(`${constants.elementPrefix}template`) templates; + + constructor(templateGatherer) { + this.templateGatherer = templateGatherer; + } + + bind() { + this.templateGatherer.useTemplates(this, 'GridToolbarItem', this.templates); + } +} diff --git a/dist/es6/grid/grid.js b/dist/es6/grid/grid.js index 80ce6685..1c439b0f 100644 --- a/dist/es6/grid/grid.js +++ b/dist/es6/grid/grid.js @@ -4,6 +4,7 @@ import {WidgetBase} from '../common/widget-base'; import {generateBindables} from '../common/decorators'; import {constants} from '../common/constants'; import {OptionsBuilder} from '../common/options-builder'; +import {TemplateGatherer} from '../common/template-gatherer'; import {PDF} from '../pdf/pdf'; //eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; @@ -11,14 +12,17 @@ import 'kendo.grid.min'; @customElement(`${constants.elementPrefix}grid`) @generateBindables('kendoGrid') -@inject(Element, WidgetBase, ViewResources, OptionsBuilder) +@inject(Element, WidgetBase, ViewResources, OptionsBuilder, TemplateGatherer) export class Grid { @children(`${constants.elementPrefix}col`) columns; + @children(`${constants.elementPrefix}template`) templates; + @children(`${constants.elementPrefix}grid-toolbar`) gridToolbars; @bindable kOptions = {}; - constructor(element, widgetBase, viewResources, optionsBuilder) { + constructor(element, widgetBase, viewResources, optionsBuilder, templateGatherer) { this.element = element; + this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; this.widgetBase = widgetBase .control('kendoGrid') @@ -50,6 +54,8 @@ export class Grid { } recreate() { + this.templateGatherer.useTemplates(this, 'kendoGrid', this.templates); + this.kWidget = this.widgetBase.createWidget({ element: this.target, rootElement: this.element, @@ -67,6 +73,14 @@ export class Grid { options.columns.push(this.optionsBuilder.getOptions(column, 'GridColumn')); }); } + + if (this.gridToolbars && this.gridToolbars.length > 0) { + options.toolbar = []; + + this.gridToolbars.forEach(toolbar => { + options.toolbar.push(this.optionsBuilder.getOptions(toolbar, 'GridToolbarItem')); + }); + } } detached() { diff --git a/dist/es6/index.js b/dist/es6/index.js index c6eae5d6..91e7e86f 100644 --- a/dist/es6/index.js +++ b/dist/es6/index.js @@ -2,7 +2,7 @@ import {KendoConfigBuilder} from './config-builder'; import 'jquery'; export function configure(aurelia, configCallback) { - let builder = new KendoConfigBuilder(); + let builder = aurelia.container.get(KendoConfigBuilder); if (configCallback !== undefined && typeof(configCallback) === 'function') { configCallback(builder); @@ -11,7 +11,7 @@ export function configure(aurelia, configCallback) { // Pull the data off the builder let resources = builder.resources; - if (builder.useGlobalResources) { + if (resources.length > 0) { aurelia.globalResources(resources); } } diff --git a/dist/system/aurelia-kendoui-bridge.d.ts b/dist/system/aurelia-kendoui-bridge.d.ts index f5293d38..dd99681a 100644 --- a/dist/system/aurelia-kendoui-bridge.d.ts +++ b/dist/system/aurelia-kendoui-bridge.d.ts @@ -1,5 +1,6 @@ declare module 'aurelia-kendoui-bridge' { import 'jquery'; + import * as LogManager from 'aurelia-logging'; import { inject, Container, transient } from 'aurelia-dependency-injection'; import { customElement, bindable, children, ViewResources, customAttribute, BindableProperty, HtmlBehaviorResource, TemplatingEngine, noView, processContent, TargetInstruction } from 'aurelia-templating'; import { metadata } from 'aurelia-metadata'; @@ -32,8 +33,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.menu.min'; import 'kendo.datepicker.min'; import 'kendo.datetimepicker.min'; - import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; + import 'kendo.dataviz.diagram.min'; import 'kendo.draganddrop.min'; import 'kendo.draganddrop.min'; import 'kendo.dropdownlist.min'; @@ -59,13 +60,13 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.notification.min'; import 'kendo.numerictextbox.min'; import 'kendo.panelbar.min'; + import 'kendo.pdf.min'; + import 'kendo.excel.min'; import 'kendo.pivot.configurator.min'; // eslint-disable-line no-unused-vars import 'kendo.pivotgrid.min'; import 'kendo.pivot.fieldmenu.min'; - import 'kendo.pdf.min'; - import 'kendo.excel.min'; import 'kendo.progressbar.min'; import 'kendo.dataviz.qrcode.min'; import 'kendo.slider.min'; @@ -87,12 +88,12 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; + import 'kendo.tooltip.min'; // eslint-disable-line no-unused-vars import 'kendo.data.signalr.min'; import 'kendo.filtercell.min'; import 'kendo.treelist.min'; - import 'kendo.tooltip.min'; import 'kendo.treeview.min'; import 'kendo.upload.min'; import 'kendo.validator.min'; @@ -103,7 +104,7 @@ declare module 'aurelia-kendoui-bridge' { */ export class KendoConfigBuilder { resources: string[]; - useGlobalResources: boolean; + debugMode: any; /** * Globally register all Kendo Core wrappers including templating support @@ -115,12 +116,6 @@ declare module 'aurelia-kendoui-bridge' { */ pro(): KendoConfigBuilder; - /** - * Don't globalize any resources - * Allows you to import wrappers yourself via - */ - withoutGlobalResources(): KendoConfigBuilder; - /** * Registers value converters (wrappers around kendo functions) */ @@ -130,6 +125,11 @@ declare module 'aurelia-kendoui-bridge' { * Adds kendo templating support */ kendoTemplateSupport(): KendoConfigBuilder; + + /** + * Adds kendo templating support + */ + debug(): KendoConfigBuilder; kendoAutoComplete(): KendoConfigBuilder; kendoButton(): KendoConfigBuilder; kendoButtonGroup(): KendoConfigBuilder; @@ -156,7 +156,7 @@ declare module 'aurelia-kendoui-bridge' { kendoMap(): KendoConfigBuilder; kendoMenu(): KendoConfigBuilder; kendoMaskedTextBox(): KendoConfigBuilder; - kendoMultiselect(): KendoConfigBuilder; + kendoMultiSelect(): KendoConfigBuilder; kendoNumericTextBox(): KendoConfigBuilder; kendoPanelBar(): KendoConfigBuilder; kendoPivotGrid(): KendoConfigBuilder; @@ -533,7 +533,7 @@ declare module 'aurelia-kendoui-bridge' { * The constructor of a Kendo control */ ctor: any; - constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any); + constructor(taskQueue: any, templateCompiler: any, optionsBuilder: any, util: any, templateGatherer: any, configBuilder: any); control(controlName: any): any; linkViewModel(viewModel: any): any; useViewResources(resources: any): any; @@ -592,21 +592,21 @@ declare module 'aurelia-kendoui-bridge' { propertyChanged(property: any, newValue: any, oldValue: any): any; detached(): any; } - export class Diagram { + export class Draggabke { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; + beforeInitialize(options: any): any; detached(): any; } - export class Draggabke { + export class Diagram { kOptions: any; constructor(element: any, widgetBase: any); bind(ctx: any): any; attached(): any; recreate(): any; - beforeInitialize(options: any): any; detached(): any; } export class DropTargetArea { @@ -688,10 +688,17 @@ declare module 'aurelia-kendoui-bridge' { constructor(templateGatherer: any); bind(): any; } + export class GridToolbar { + templates: any; + constructor(templateGatherer: any); + bind(): any; + } export class Grid { columns: any; + templates: any; + gridToolbars: any; kOptions: any; - constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any); + constructor(element: any, widgetBase: any, viewResources: any, optionsBuilder: any, templateGatherer: any); bind(ctx: any): any; // initialization in bind() is giving issues in some scenarios @@ -779,6 +786,8 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class PDF { + } export class PivotConfigurator { kOptions: any; constructor(element: any, widgetBase: any, viewResources: any); @@ -796,8 +805,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class PDF { - } export class ProgressBar { kOptions: any; constructor(element: any, widgetBase: any); @@ -928,6 +935,14 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } + export class Tooltip { + kOptions: any; + constructor(element: any, widgetBase: any); + bind(ctx: any): any; + attached(): any; + recreate(): any; + detached(): any; + } export class TreeCol { templates: any; constructor(templateGatherer: any); @@ -945,14 +960,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Tooltip { - kOptions: any; - constructor(element: any, widgetBase: any); - bind(ctx: any): any; - attached(): any; - recreate(): any; - detached(): any; - } export class TreeView { kOptions: any; constructor(element: any, widgetBase: any); diff --git a/dist/system/common/bindables.js b/dist/system/common/bindables.js index ed0b3017..198f5755 100644 --- a/dist/system/common/bindables.js +++ b/dist/system/common/bindables.js @@ -5,7 +5,7 @@ System.register([], function (_export) { return { setters: [], execute: function () { - bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; + bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "GridToolbarItem": ["name", "template", "text"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; _export("bindables", bindables); } diff --git a/dist/system/common/template-gatherer.js b/dist/system/common/template-gatherer.js index b78478dd..96a9efa1 100644 --- a/dist/system/common/template-gatherer.js +++ b/dist/system/common/template-gatherer.js @@ -27,6 +27,10 @@ System.register(['./control-properties', './util', 'aurelia-dependency-injection var templateProps = this.controlProperties.getTemplateProperties(controlName); + if (!templates) { + templates = []; + } + templates.forEach(function (c) { if (templateProps.indexOf(c['for']) > -1) { if (_this.util.hasValue(c.template)) { diff --git a/dist/system/common/widget-base.js b/dist/system/common/widget-base.js index 90eb1bab..b28e28c8 100644 --- a/dist/system/common/widget-base.js +++ b/dist/system/common/widget-base.js @@ -1,7 +1,7 @@ -System.register(['./util', './options-builder', './template-compiler', './template-gatherer', 'aurelia-dependency-injection', 'aurelia-task-queue'], function (_export) { +System.register(['./util', './options-builder', './template-compiler', './template-gatherer', '../config-builder', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aurelia-logging'], function (_export) { 'use strict'; - var Util, OptionsBuilder, TemplateCompiler, TemplateGatherer, inject, transient, TaskQueue, WidgetBase; + var Util, OptionsBuilder, TemplateCompiler, TemplateGatherer, KendoConfigBuilder, inject, transient, TaskQueue, LogManager, logger, WidgetBase; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } @@ -14,20 +14,27 @@ System.register(['./util', './options-builder', './template-compiler', './templa TemplateCompiler = _templateCompiler.TemplateCompiler; }, function (_templateGatherer) { TemplateGatherer = _templateGatherer.TemplateGatherer; + }, function (_configBuilder) { + KendoConfigBuilder = _configBuilder.KendoConfigBuilder; }, function (_aureliaDependencyInjection) { inject = _aureliaDependencyInjection.inject; transient = _aureliaDependencyInjection.transient; }, function (_aureliaTaskQueue) { TaskQueue = _aureliaTaskQueue.TaskQueue; + }, function (_aureliaLogging) { + LogManager = _aureliaLogging; }], execute: function () { + logger = LogManager.getLogger('aurelia-kendoui-bridge'); + WidgetBase = (function () { - function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer) { + function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer, configBuilder) { _classCallCheck(this, _WidgetBase); this.taskQueue = taskQueue; this.optionsBuilder = optionsBuilder; this.util = util; + this.configBuilder = configBuilder; this.templateGatherer = templateGatherer; templateCompiler.initialize(); } @@ -99,6 +106,10 @@ System.register(['./util', './options-builder', './template-compiler', './templa _$resources: [this.viewResources] }); + if (this.configBuilder.debugMode) { + logger.debug('initializing ' + this.controlName + ' with the following config', allOptions); + } + var widget = this._createWidget(options.element, allOptions, this.controlName); widget._$parent = options.parentCtx; @@ -182,7 +193,7 @@ System.register(['./util', './options-builder', './template-compiler', './templa }; var _WidgetBase = WidgetBase; - WidgetBase = inject(TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer)(WidgetBase) || WidgetBase; + WidgetBase = inject(TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer, KendoConfigBuilder)(WidgetBase) || WidgetBase; WidgetBase = transient()(WidgetBase) || WidgetBase; return WidgetBase; })(); diff --git a/dist/system/config-builder.js b/dist/system/config-builder.js index 9e1d6309..f5fa0334 100644 --- a/dist/system/config-builder.js +++ b/dist/system/config-builder.js @@ -13,11 +13,11 @@ System.register([], function (_export) { _classCallCheck(this, KendoConfigBuilder); this.resources = []; - this.useGlobalResources = true; + this.debugMode = false; } KendoConfigBuilder.prototype.core = function core() { - this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiselect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); + this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiSelect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); return this; }; @@ -26,11 +26,6 @@ System.register([], function (_export) { return this; }; - KendoConfigBuilder.prototype.withoutGlobalResources = function withoutGlobalResources() { - this.useGlobalResources = false; - return this; - }; - KendoConfigBuilder.prototype.useValueConverters = function useValueConverters() { this.resources.push('./valueconverters/valueconverters'); return this; @@ -41,6 +36,11 @@ System.register([], function (_export) { return this; }; + KendoConfigBuilder.prototype.debug = function debug() { + this.debugMode = true; + return this; + }; + KendoConfigBuilder.prototype.kendoAutoComplete = function kendoAutoComplete() { this.resources.push('./autocomplete/autocomplete'); return this; @@ -144,6 +144,7 @@ System.register([], function (_export) { KendoConfigBuilder.prototype.kendoGrid = function kendoGrid() { this.resources.push('./grid/grid'); this.resources.push('./grid/col'); + this.resources.push('./grid/grid-toolbar'); return this; }; @@ -178,7 +179,7 @@ System.register([], function (_export) { return this; }; - KendoConfigBuilder.prototype.kendoMultiselect = function kendoMultiselect() { + KendoConfigBuilder.prototype.kendoMultiSelect = function kendoMultiSelect() { this.resources.push('./multiselect/multiselect'); return this; }; diff --git a/dist/system/grid/grid-toolbar.html b/dist/system/grid/grid-toolbar.html new file mode 100644 index 00000000..7b07f6c2 --- /dev/null +++ b/dist/system/grid/grid-toolbar.html @@ -0,0 +1,3 @@ + diff --git a/dist/system/grid/grid-toolbar.js b/dist/system/grid/grid-toolbar.js new file mode 100644 index 00000000..0b7b2fab --- /dev/null +++ b/dist/system/grid/grid-toolbar.js @@ -0,0 +1,58 @@ +System.register(['aurelia-templating', 'aurelia-dependency-injection', '../common/constants', '../common/decorators', '../common/template-gatherer'], function (_export) { + 'use strict'; + + var children, customElement, inject, constants, generateBindables, TemplateGatherer, GridToolbar; + + var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + + function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + + return { + setters: [function (_aureliaTemplating) { + children = _aureliaTemplating.children; + customElement = _aureliaTemplating.customElement; + }, function (_aureliaDependencyInjection) { + inject = _aureliaDependencyInjection.inject; + }, function (_commonConstants) { + constants = _commonConstants.constants; + }, function (_commonDecorators) { + generateBindables = _commonDecorators.generateBindables; + }, function (_commonTemplateGatherer) { + TemplateGatherer = _commonTemplateGatherer.TemplateGatherer; + }], + execute: function () { + GridToolbar = (function () { + var _instanceInitializers = {}; + + _createDecoratedClass(GridToolbar, [{ + key: 'templates', + decorators: [children(constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }], null, _instanceInitializers); + + function GridToolbar(templateGatherer) { + _classCallCheck(this, _GridToolbar); + + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers); + + this.templateGatherer = templateGatherer; + } + + GridToolbar.prototype.bind = function bind() { + this.templateGatherer.useTemplates(this, 'GridToolbarItem', this.templates); + }; + + var _GridToolbar = GridToolbar; + GridToolbar = inject(TemplateGatherer)(GridToolbar) || GridToolbar; + GridToolbar = generateBindables('GridToolbarItem')(GridToolbar) || GridToolbar; + GridToolbar = customElement(constants.elementPrefix + 'grid-toolbar')(GridToolbar) || GridToolbar; + return GridToolbar; + })(); + + _export('GridToolbar', GridToolbar); + } + }; +}); \ No newline at end of file diff --git a/dist/system/grid/grid.js b/dist/system/grid/grid.js index 99cdd2fc..a8bb4c3d 100644 --- a/dist/system/grid/grid.js +++ b/dist/system/grid/grid.js @@ -1,7 +1,7 @@ -System.register(['aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants', '../common/options-builder', '../pdf/pdf', 'kendo.data.signalr.min', 'kendo.filtercell.min', 'kendo.grid.min'], function (_export) { +System.register(['aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants', '../common/options-builder', '../common/template-gatherer', '../pdf/pdf', 'kendo.data.signalr.min', 'kendo.filtercell.min', 'kendo.grid.min'], function (_export) { 'use strict'; - var inject, customElement, bindable, children, ViewResources, WidgetBase, generateBindables, constants, OptionsBuilder, PDF, Grid; + var inject, customElement, bindable, children, ViewResources, WidgetBase, generateBindables, constants, OptionsBuilder, TemplateGatherer, PDF, Grid; var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); @@ -32,6 +32,8 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo constants = _commonConstants.constants; }, function (_commonOptionsBuilder) { OptionsBuilder = _commonOptionsBuilder.OptionsBuilder; + }, function (_commonTemplateGatherer) { + TemplateGatherer = _commonTemplateGatherer.TemplateGatherer; }, function (_pdfPdf) { PDF = _pdfPdf.PDF; }, function (_kendoDataSignalrMin) {}, function (_kendoFiltercellMin) {}, function (_kendoGridMin) {}], @@ -44,6 +46,16 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo decorators: [children(constants.elementPrefix + 'col')], initializer: null, enumerable: true + }, { + key: 'templates', + decorators: [children(constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }, { + key: 'gridToolbars', + decorators: [children(constants.elementPrefix + 'grid-toolbar')], + initializer: null, + enumerable: true }, { key: 'kOptions', decorators: [bindable], @@ -53,14 +65,19 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo enumerable: true }], null, _instanceInitializers); - function Grid(element, widgetBase, viewResources, optionsBuilder) { + function Grid(element, widgetBase, viewResources, optionsBuilder, templateGatherer) { _classCallCheck(this, _Grid); _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers); + + _defineDecoratedPropertyDescriptor(this, 'gridToolbars', _instanceInitializers); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers); this.element = element; + this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; this.widgetBase = widgetBase.control('kendoGrid').linkViewModel(this).useViewResources(viewResources); } @@ -85,6 +102,8 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo Grid.prototype.recreate = function recreate() { var _this = this; + this.templateGatherer.useTemplates(this, 'kendoGrid', this.templates); + this.kWidget = this.widgetBase.createWidget({ element: this.target, rootElement: this.element, @@ -105,6 +124,14 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo options.columns.push(_this2.optionsBuilder.getOptions(column, 'GridColumn')); }); } + + if (this.gridToolbars && this.gridToolbars.length > 0) { + options.toolbar = []; + + this.gridToolbars.forEach(function (toolbar) { + options.toolbar.push(_this2.optionsBuilder.getOptions(toolbar, 'GridToolbarItem')); + }); + } }; Grid.prototype.detached = function detached() { @@ -112,7 +139,7 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo }; var _Grid = Grid; - Grid = inject(Element, WidgetBase, ViewResources, OptionsBuilder)(Grid) || Grid; + Grid = inject(Element, WidgetBase, ViewResources, OptionsBuilder, TemplateGatherer)(Grid) || Grid; Grid = generateBindables('kendoGrid')(Grid) || Grid; Grid = customElement(constants.elementPrefix + 'grid')(Grid) || Grid; return Grid; diff --git a/dist/system/index.js b/dist/system/index.js index ee01f1a9..bf0c56dc 100644 --- a/dist/system/index.js +++ b/dist/system/index.js @@ -6,7 +6,7 @@ System.register(['./config-builder', 'jquery'], function (_export) { _export('configure', configure); function configure(aurelia, configCallback) { - var builder = new KendoConfigBuilder(); + var builder = aurelia.container.get(KendoConfigBuilder); if (configCallback !== undefined && typeof configCallback === 'function') { configCallback(builder); @@ -14,7 +14,7 @@ System.register(['./config-builder', 'jquery'], function (_export) { var resources = builder.resources; - if (builder.useGlobalResources) { + if (resources.length > 0) { aurelia.globalResources(resources); } } diff --git a/dist/temp/aurelia-kendoui-bridge.js b/dist/temp/aurelia-kendoui-bridge.js index cb74008d..2862d851 100644 --- a/dist/temp/aurelia-kendoui-bridge.js +++ b/dist/temp/aurelia-kendoui-bridge.js @@ -7,12 +7,18 @@ var _createDecoratedClass = (function () { function defineProperties(target, des exports.configure = configure; exports.generateBindables = generateBindables; +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } } + function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } require('jquery'); +var _aureliaLogging = require('aurelia-logging'); + +var LogManager = _interopRequireWildcard(_aureliaLogging); + var _aureliaDependencyInjection = require('aurelia-dependency-injection'); var _aureliaTemplating = require('aurelia-templating'); @@ -61,10 +67,10 @@ require('kendo.datepicker.min'); require('kendo.datetimepicker.min'); -require('kendo.dataviz.diagram.min'); - require('kendo.draganddrop.min'); +require('kendo.dataviz.diagram.min'); + require('kendo.draganddrop.min'); require('kendo.draganddrop.min'); @@ -107,16 +113,16 @@ require('kendo.numerictextbox.min'); require('kendo.panelbar.min'); +require('kendo.pdf.min'); + +require('kendo.excel.min'); + require('kendo.pivot.configurator.min'); require('kendo.pivotgrid.min'); require('kendo.pivot.fieldmenu.min'); -require('kendo.pdf.min'); - -require('kendo.excel.min'); - require('kendo.progressbar.min'); require('kendo.dataviz.qrcode.min'); @@ -155,14 +161,14 @@ require('kendo.timepicker.min'); require('kendo.toolbar.min'); +require('kendo.tooltip.min'); + require('kendo.data.signalr.min'); require('kendo.filtercell.min'); require('kendo.treelist.min'); -require('kendo.tooltip.min'); - require('kendo.treeview.min'); require('kendo.upload.min'); @@ -176,11 +182,11 @@ var KendoConfigBuilder = (function () { _classCallCheck(this, KendoConfigBuilder); this.resources = []; - this.useGlobalResources = true; + this.debugMode = false; } KendoConfigBuilder.prototype.core = function core() { - this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiselect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); + this.kendoAutoComplete().kendoButton().kendoButtonGroup().kendoCalendar().kendoColorPicker().kendoColorPalette().kendoCombobox().kendoContextMenu().kendoDropDownList().kendoDateTimePicker().kendoDatePicker().kendoDraggable().kendoDropTarget().kendoFlatColorPicker().kendoListView().kendoMaskedTextBox().kendoMenu().kendoMultiSelect().kendoNotification().kendoNumericTextBox().kendoPanelBar().kendoProgressBar().kendoRangeSlider().kendoResponsivePanel().kendoScrollView().kendoSortable().kendoSlider().kendoSplitter().kendoSwitch().kendoTabStrip().kendoTemplateSupport().kendoTimePicker().kendoToolbar().kendoTooltip().kendoValidator().kendoWindow().useValueConverters(); return this; }; @@ -189,11 +195,6 @@ var KendoConfigBuilder = (function () { return this; }; - KendoConfigBuilder.prototype.withoutGlobalResources = function withoutGlobalResources() { - this.useGlobalResources = false; - return this; - }; - KendoConfigBuilder.prototype.useValueConverters = function useValueConverters() { this.resources.push('./valueconverters/valueconverters'); return this; @@ -204,6 +205,11 @@ var KendoConfigBuilder = (function () { return this; }; + KendoConfigBuilder.prototype.debug = function debug() { + this.debugMode = true; + return this; + }; + KendoConfigBuilder.prototype.kendoAutoComplete = function kendoAutoComplete() { this.resources.push('./autocomplete/autocomplete'); return this; @@ -307,6 +313,7 @@ var KendoConfigBuilder = (function () { KendoConfigBuilder.prototype.kendoGrid = function kendoGrid() { this.resources.push('./grid/grid'); this.resources.push('./grid/col'); + this.resources.push('./grid/grid-toolbar'); return this; }; @@ -341,7 +348,7 @@ var KendoConfigBuilder = (function () { return this; }; - KendoConfigBuilder.prototype.kendoMultiselect = function kendoMultiselect() { + KendoConfigBuilder.prototype.kendoMultiSelect = function kendoMultiSelect() { this.resources.push('./multiselect/multiselect'); return this; }; @@ -486,7 +493,7 @@ var KendoConfigBuilder = (function () { exports.KendoConfigBuilder = KendoConfigBuilder; function configure(aurelia, configCallback) { - var builder = new KendoConfigBuilder(); + var builder = aurelia.container.get(KendoConfigBuilder); if (configCallback !== undefined && typeof configCallback === 'function') { configCallback(builder); @@ -494,7 +501,7 @@ function configure(aurelia, configCallback) { var resources = builder.resources; - if (builder.useGlobalResources) { + if (resources.length > 0) { aurelia.globalResources(resources); } } @@ -1140,7 +1147,7 @@ function getSelectNode(element) { return element.querySelectorAll('select'); } -var bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; +var bindables = { "kendoAutoComplete": ["animation", "dataSource", "dataTextField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "minLength", "name", "placeholder", "popup", "separator", "suggest", "template", "valuePrimitive", "virtual"], "kendoBarcode": ["background", "border", "checksum", "color", "height", "name", "padding", "renderAs", "text", "type", "value", "width"], "kendoButton": ["enable", "icon", "imageUrl", "name", "spriteCssClass"], "kendoCalendar": ["culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "start", "value"], "kendoChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "legend", "name", "panes", "pannable", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis", "xAxis", "yAxis", "zoomable"], "kendoColorPalette": ["columns", "name", "palette", "tileSize", "value"], "kendoColorPicker": ["buttons", "columns", "messages", "name", "opacity", "palette", "preview", "tileSize", "toolIcon", "value"], "kendoComboBox": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "index", "minLength", "name", "placeholder", "popup", "suggest", "template", "text", "value", "valuePrimitive", "virtual"], "kendoContextMenu": ["alignToAnchor", "animation", "closeOnClick", "dataSource", "direction", "filter", "hoverDelay", "name", "orientation", "popupCollision", "showOn", "target"], "kendoDatePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "max", "min", "month", "name", "parseFormats", "start", "value"], "kendoDateTimePicker": ["ARIATemplate", "animation", "culture", "dates", "depth", "disableDates", "footer", "format", "interval", "max", "min", "month", "name", "parseFormats", "start", "timeFormat", "value"], "kendoDiagram": ["autoBind", "connectionDefaults", "connections", "connectionsDataSource", "dataSource", "editable", "layout", "name", "pannable", "pdf", "selectable", "shapeDefaults", "shapes", "template", "zoom", "zoomMax", "zoomMin", "zoomRate"], "kendoDraggable": ["axis", "container", "cursorOffset", "distance", "filter", "group", "hint", "ignore"], "kendoDropDownList": ["animation", "autoBind", "cascadeFrom", "cascadeFromField", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "ignoreCase", "index", "minLength", "name", "optionLabel", "optionLabelTemplate", "popup", "template", "text", "value", "valuePrimitive", "valueTemplate", "virtual"], "kendoDropTarget": ["group"], "kendoDropTargetArea": ["filter", "group"], "kendoEditor": ["domain", "encoded", "fileBrowser", "imageBrowser", "messages", "name", "pdf", "resizable", "serialization", "stylesheets", "tools"], "kendoFlatColorPicker": ["autoupdate", "buttons", "messages", "name", "opacity", "preview", "value"], "kendoGantt": ["assignments", "autoBind", "columnResizeHandleWidth", "columns", "currentTimeMarker", "dataSource", "dependencies", "editable", "height", "hourSpan", "listWidth", "messages", "name", "navigatable", "pdf", "resizable", "resources", "rowHeight", "selectable", "showWorkDays", "showWorkHours", "snap", "taskTemplate", "toolbar", "tooltip", "views", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoGrid": ["allowCopy", "altRowTemplate", "autoBind", "columnMenu", "columnResizeHandleWidth", "columns", "dataSource", "detailTemplate", "editable", "excel", "filterable", "groupable", "height", "messages", "mobile", "name", "navigatable", "noRecords", "pageable", "pdf", "reorderable", "resizable", "rowTemplate", "scrollable", "selectable", "sortable", "toolbar"], "kendoLinearGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoListView": ["altTemplate", "autoBind", "dataSource", "editTemplate", "name", "navigatable", "selectable", "template"], "kendoMap": ["center", "controls", "layerDefaults", "layers", "markerDefaults", "markers", "maxZoom", "minSize", "minZoom", "name", "pannable", "wraparound", "zoom", "zoomable"], "kendoMaskedTextBox": ["clearPromptChar", "culture", "mask", "name", "promptChar", "rules", "unmaskOnPost", "value"], "kendoMenu": ["animation", "closeOnClick", "dataSource", "direction", "hoverDelay", "name", "openOnClick", "orientation", "popupCollision"], "kendoMobileActionSheet": ["cancel", "name", "popup", "type"], "kendoMobileBackButton": ["name"], "kendoMobileButton": ["badge", "clickOn", "enable", "icon", "name"], "kendoMobileButtonGroup": ["enable", "index", "name", "selectOn"], "kendoMobileCollapsible": ["animation", "collapsed", "expandIcon", "iconPosition", "inset", "name"], "kendoMobileDetailButton": ["name"], "kendoMobileDrawer": ["container", "name", "position", "swipeToOpen", "swipeToOpenViews", "title", "views"], "kendoMobileLayout": ["id", "name", "platform"], "kendoMobileListView": ["appendOnRefresh", "autoBind", "dataSource", "endlessScroll", "filterable", "fixedHeaders", "headerTemplate", "loadMore", "messages", "name", "pullParameters", "pullToRefresh", "style", "template", "type", "virtualViewSize"], "kendoMobileLoader": ["name"], "kendoMobileModalView": ["height", "modal", "name", "width"], "kendoMobileNavBar": ["name"], "kendoMobilePane": ["collapsible", "initial", "layout", "loading", "name", "portraitWidth", "transition"], "kendoMobilePopOver": ["name", "pane", "popup"], "kendoMobileScrollView": ["autoBind", "bounceVelocityThreshold", "contentHeight", "dataSource", "duration", "emptyTemplate", "enablePager", "itemsPerPage", "name", "page", "pageSize", "template", "velocityThreshold"], "kendoMobileScroller": ["elastic", "messages", "name", "pullOffset", "pullToRefresh", "useNative", "visibleScrollHints", "zoom"], "kendoMobileSplitView": ["name", "style"], "kendoMobileSwitch": ["checked", "enable", "name", "offLabel", "onLabel"], "kendoMobileTabStrip": ["name", "selectedIndex"], "kendoMobileView": ["model", "name", "reload", "scroller", "stretch", "title", "useNativeScrolling", "zoom"], "kendoMultiSelect": ["animation", "autoBind", "autoClose", "dataSource", "dataTextField", "dataValueField", "delay", "enable", "filter", "fixedGroupTemplate", "groupTemplate", "headerTemplate", "height", "highlightFirst", "ignoreCase", "itemTemplate", "maxSelectedItems", "minLength", "name", "placeholder", "popup", "tagMode", "tagTemplate", "value", "valuePrimitive", "virtual"], "kendoNotification": ["allowHideAfter", "animation", "appendTo", "autoHideAfter", "button", "height", "hideOnClick", "name", "position", "stacking", "templates", "width"], "kendoNumericTextBox": ["culture", "decimals", "downArrowText", "format", "max", "min", "name", "placeholder", "spinners", "step", "upArrowText", "value"], "kendoPager": ["autoBind", "buttonCount", "dataSource", "info", "input", "linkTemplate", "messages", "name", "numeric", "pageSizes", "previousNext", "refresh", "selectTemplate"], "kendoPanelBar": ["animation", "contentUrls", "dataSource", "expandMode", "name"], "kendoPivotConfigurator": ["dataSource", "filterable", "height", "messages", "name", "sortable"], "kendoPivotGrid": ["autoBind", "columnHeaderTemplate", "columnWidth", "dataCellTemplate", "dataSource", "excel", "filterable", "height", "kpiStatusTemplate", "kpiTrendTemplate", "messages", "name", "pdf", "reorderable", "rowHeaderTemplate", "sortable"], "kendoPopup": ["anchor", "animation", "appendTo", "name", "origin", "position"], "kendoProgressBar": ["animation", "chunkCount", "enable", "max", "min", "name", "orientation", "reverse", "showStatus", "type", "value"], "kendoQRCode": ["background", "border", "color", "encoding", "errorCorrection", "name", "padding", "renderAs", "size", "value"], "kendoRadialGauge": ["gaugeArea", "name", "pointer", "renderAs", "scale", "transitions"], "kendoRangeSlider": ["largeStep", "max", "min", "name", "orientation", "selectionEnd", "selectionStart", "smallStep", "tickPlacement", "tooltip"], "kendoResponsivePanel": ["autoClose", "breakpoint", "name", "orientation", "toggleButton"], "kendoScheduler": ["allDayEventTemplate", "allDaySlot", "autoBind", "currentTimeMarker", "dataSource", "date", "dateHeaderTemplate", "editable", "endTime", "eventTemplate", "footer", "group", "groupHeaderTemplate", "height", "majorTick", "majorTimeHeaderTemplate", "max", "messages", "min", "minorTickCount", "minorTimeHeaderTemplate", "mobile", "name", "pdf", "resources", "selectable", "showWorkHours", "snap", "startTime", "timezone", "toolbar", "views", "width", "workDayEnd", "workDayStart", "workWeekEnd", "workWeekStart"], "kendoSlider": ["decreaseButtonTitle", "increaseButtonTitle", "largeStep", "max", "min", "name", "orientation", "showButtons", "smallStep", "tickPlacement", "tooltip", "value"], "kendoSortable": ["autoScroll", "axis", "connectWith", "container", "cursor", "cursorOffset", "disabled", "filter", "handler", "hint", "holdToDrag", "ignore", "name", "placeholder"], "kendoSparkline": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "data", "dataSource", "name", "plotArea", "pointWidth", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "tooltip", "transitions", "type", "valueAxis"], "kendoSplitter": ["name", "orientation", "panes"], "kendoSpreadsheet": ["activeSheet", "columnWidth", "columns", "excel", "headerHeight", "headerWidth", "name", "pdf", "rowHeight", "rows", "sheets", "sheetsbar", "toolbar"], "kendoStockChart": ["autoBind", "axisDefaults", "categoryAxis", "chartArea", "dataSource", "dateField", "legend", "name", "navigator", "panes", "pdf", "plotArea", "renderAs", "series", "seriesColors", "seriesDefaults", "theme", "title", "tooltip", "transitions", "valueAxis"], "kendoTabStrip": ["animation", "collapsible", "contentUrls", "dataContentField", "dataContentUrlField", "dataImageUrlField", "dataSource", "dataSpriteCssClass", "dataTextField", "dataUrlField", "name", "navigatable", "scrollable", "tabPosition", "value"], "kendoTimePicker": ["animation", "culture", "dates", "format", "interval", "max", "min", "name", "parseFormats", "value"], "kendoToolBar": ["items", "name", "resizable"], "kendoTooltip": ["animation", "autoHide", "callout", "content", "filter", "height", "iframe", "name", "position", "showAfter", "showOn", "width"], "kendoTouch": ["doubleTapTimeout", "enableSwipe", "filter", "maxDuration", "maxYDelta", "minHold", "minXDelta", "multiTouch", "name", "surface"], "kendoTreeList": ["autoBind", "columnMenu", "columns", "dataSource", "editable", "excel", "filterable", "height", "messages", "name", "pdf", "reorderable", "resizable", "scrollable", "selectable", "sortable", "toolbar"], "kendoTreeMap": ["autoBind", "colorField", "colors", "dataSource", "name", "template", "textField", "theme", "type", "valueField"], "kendoTreeView": ["animation", "autoBind", "autoScroll", "checkboxes", "dataImageUrlField", "dataSource", "dataSpriteCssClassField", "dataTextField", "dataUrlField", "dragAndDrop", "loadOnDemand", "messages", "name", "template"], "kendoUpload": ["async", "enabled", "files", "localization", "multiple", "name", "showFileList", "template"], "kendoValidator": ["errorTemplate", "messages", "name", "rules", "validateOnBlur"], "kendoWindow": ["actions", "animation", "appendTo", "autoFocus", "content", "draggable", "height", "iframe", "maxHeight", "maxWidth", "minHeight", "minWidth", "modal", "name", "pinned", "position", "resizable", "scrollable", "title", "visible", "width"], "GanttColumn": ["editable", "field", "format", "sortable", "title", "width"], "GridColumn": ["aggregates", "attributes", "columns", "command", "encoded", "field", "filterable", "footerTemplate", "format", "groupFooterTemplate", "groupHeaderTemplate", "groupable", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "values", "width", "editor"], "GridToolbarItem": ["name", "template", "text"], "ToolBarItem": ["attributes", "buttons", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "menuButtons", "overflow", "overflowTemplate", "primary", "selected", "showIcon", "showText", "spriteCssClass", "template", "text", "togglable", "toggle", "type", "url"], "ToolBarItemButton": ["attributes", "click", "enable", "group", "hidden", "icon", "id", "imageUrl", "selected", "showIcon", "showText", "spriteCssClass", "text", "togglable", "toggle", "url"], "TreeListColumn": ["attributes", "command", "encoded", "expandable", "field", "filterable", "footerTemplate", "format", "headerAttributes", "headerTemplate", "hidden", "lockable", "locked", "menu", "minScreenWidth", "sortable", "template", "title", "width", "editor"] }; exports.bindables = bindables; var constants = { eventPrefix: 'k-on-', @@ -1421,6 +1428,10 @@ var TemplateGatherer = (function () { var templateProps = this.controlProperties.getTemplateProperties(controlName); + if (!templates) { + templates = []; + } + templates.forEach(function (c) { if (templateProps.indexOf(c['for']) > -1) { if (_this4.util.hasValue(c.template)) { @@ -1594,13 +1605,16 @@ var Util = (function () { exports.Util = Util; +var logger = LogManager.getLogger('aurelia-kendoui-bridge'); + var WidgetBase = (function () { - function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer) { + function WidgetBase(taskQueue, templateCompiler, optionsBuilder, util, templateGatherer, configBuilder) { _classCallCheck(this, _WidgetBase); this.taskQueue = taskQueue; this.optionsBuilder = optionsBuilder; this.util = util; + this.configBuilder = configBuilder; this.templateGatherer = templateGatherer; templateCompiler.initialize(); } @@ -1672,6 +1686,10 @@ var WidgetBase = (function () { _$resources: [this.viewResources] }); + if (this.configBuilder.debugMode) { + logger.debug('initializing ' + this.controlName + ' with the following config', allOptions); + } + var widget = this._createWidget(options.element, allOptions, this.controlName); widget._$parent = options.parentCtx; @@ -1755,7 +1773,7 @@ var WidgetBase = (function () { }; var _WidgetBase = WidgetBase; - WidgetBase = _aureliaDependencyInjection.inject(_aureliaTaskQueue.TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer)(WidgetBase) || WidgetBase; + WidgetBase = _aureliaDependencyInjection.inject(_aureliaTaskQueue.TaskQueue, TemplateCompiler, OptionsBuilder, Util, TemplateGatherer, KendoConfigBuilder)(WidgetBase) || WidgetBase; WidgetBase = _aureliaDependencyInjection.transient()(WidgetBase) || WidgetBase; return WidgetBase; })(); @@ -1917,10 +1935,10 @@ var DateTimePicker = (function () { exports.DateTimePicker = DateTimePicker; -var Diagram = (function () { +var Draggabke = (function () { var _instanceInitializers17 = {}; - _createDecoratedClass(Diagram, [{ + _createDecoratedClass(Draggabke, [{ key: 'kOptions', decorators: [_aureliaTemplating.bindable], initializer: function initializer() { @@ -1929,47 +1947,58 @@ var Diagram = (function () { enumerable: true }], null, _instanceInitializers17); - function Diagram(element, widgetBase) { - _classCallCheck(this, _Diagram); + function Draggabke(element, widgetBase) { + _classCallCheck(this, _Draggabke); _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers17); this.element = element; - this.widgetBase = widgetBase.control('kendoDiagram').linkViewModel(this); + this.widgetBase = widgetBase.control('kendoDraggable').linkViewModel(this); } - Diagram.prototype.bind = function bind(ctx) { + Draggabke.prototype.bind = function bind(ctx) { this.$parent = ctx; }; - Diagram.prototype.attached = function attached() { + Draggabke.prototype.attached = function attached() { this.recreate(); }; - Diagram.prototype.recreate = function recreate() { + Draggabke.prototype.recreate = function recreate() { + var _this7 = this; + this.kWidget = this.widgetBase.createWidget({ element: this.element, - parentCtx: this.$parent + parentCtx: this.$parent, + beforeInitialize: function beforeInitialize(options) { + return _this7.beforeInitialize(options); + } }); }; - Diagram.prototype.detached = function detached() { + Draggabke.prototype.beforeInitialize = function beforeInitialize(options) { + if (options.container) { + Object.assign(options, { container: $(options.container) }); + } + }; + + Draggabke.prototype.detached = function detached() { this.widgetBase.destroy(this.kWidget); }; - var _Diagram = Diagram; - Diagram = _aureliaDependencyInjection.inject(Element, WidgetBase)(Diagram) || Diagram; - Diagram = generateBindables('kendoDiagram')(Diagram) || Diagram; - Diagram = _aureliaTemplating.customElement(constants.elementPrefix + 'diagram')(Diagram) || Diagram; - return Diagram; + var _Draggabke = Draggabke; + Draggabke = _aureliaDependencyInjection.inject(Element, WidgetBase)(Draggabke) || Draggabke; + Draggabke = generateBindables('kendoDraggable')(Draggabke) || Draggabke; + Draggabke = _aureliaTemplating.customAttribute(constants.attributePrefix + 'draggable')(Draggabke) || Draggabke; + return Draggabke; })(); -exports.Diagram = Diagram; +exports.Draggabke = Draggabke; -var Draggabke = (function () { +var Diagram = (function () { var _instanceInitializers18 = {}; - _createDecoratedClass(Draggabke, [{ + _createDecoratedClass(Diagram, [{ key: 'kOptions', decorators: [_aureliaTemplating.bindable], initializer: function initializer() { @@ -1978,53 +2007,42 @@ var Draggabke = (function () { enumerable: true }], null, _instanceInitializers18); - function Draggabke(element, widgetBase) { - _classCallCheck(this, _Draggabke); + function Diagram(element, widgetBase) { + _classCallCheck(this, _Diagram); _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers18); this.element = element; - this.widgetBase = widgetBase.control('kendoDraggable').linkViewModel(this); + this.widgetBase = widgetBase.control('kendoDiagram').linkViewModel(this); } - Draggabke.prototype.bind = function bind(ctx) { + Diagram.prototype.bind = function bind(ctx) { this.$parent = ctx; }; - Draggabke.prototype.attached = function attached() { + Diagram.prototype.attached = function attached() { this.recreate(); }; - Draggabke.prototype.recreate = function recreate() { - var _this7 = this; - + Diagram.prototype.recreate = function recreate() { this.kWidget = this.widgetBase.createWidget({ element: this.element, - parentCtx: this.$parent, - beforeInitialize: function beforeInitialize(options) { - return _this7.beforeInitialize(options); - } + parentCtx: this.$parent }); }; - Draggabke.prototype.beforeInitialize = function beforeInitialize(options) { - if (options.container) { - Object.assign(options, { container: $(options.container) }); - } - }; - - Draggabke.prototype.detached = function detached() { + Diagram.prototype.detached = function detached() { this.widgetBase.destroy(this.kWidget); }; - var _Draggabke = Draggabke; - Draggabke = _aureliaDependencyInjection.inject(Element, WidgetBase)(Draggabke) || Draggabke; - Draggabke = generateBindables('kendoDraggable')(Draggabke) || Draggabke; - Draggabke = _aureliaTemplating.customAttribute(constants.attributePrefix + 'draggable')(Draggabke) || Draggabke; - return Draggabke; + var _Diagram = Diagram; + Diagram = _aureliaDependencyInjection.inject(Element, WidgetBase)(Diagram) || Diagram; + Diagram = generateBindables('kendoDiagram')(Diagram) || Diagram; + Diagram = _aureliaTemplating.customElement(constants.elementPrefix + 'diagram')(Diagram) || Diagram; + return Diagram; })(); -exports.Draggabke = Draggabke; +exports.Diagram = Diagram; var DropTargetArea = (function () { var _instanceInitializers19 = {}; @@ -2553,14 +2571,55 @@ var Col = (function () { exports.Col = Col; -var Grid = (function () { +var GridToolbar = (function () { var _instanceInitializers28 = {}; + _createDecoratedClass(GridToolbar, [{ + key: 'templates', + decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }], null, _instanceInitializers28); + + function GridToolbar(templateGatherer) { + _classCallCheck(this, _GridToolbar); + + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers28); + + this.templateGatherer = templateGatherer; + } + + GridToolbar.prototype.bind = function bind() { + this.templateGatherer.useTemplates(this, 'GridToolbarItem', this.templates); + }; + + var _GridToolbar = GridToolbar; + GridToolbar = _aureliaDependencyInjection.inject(TemplateGatherer)(GridToolbar) || GridToolbar; + GridToolbar = generateBindables('GridToolbarItem')(GridToolbar) || GridToolbar; + GridToolbar = _aureliaTemplating.customElement(constants.elementPrefix + 'grid-toolbar')(GridToolbar) || GridToolbar; + return GridToolbar; +})(); + +exports.GridToolbar = GridToolbar; + +var Grid = (function () { + var _instanceInitializers29 = {}; + _createDecoratedClass(Grid, [{ key: 'columns', decorators: [_aureliaTemplating.children(constants.elementPrefix + 'col')], initializer: null, enumerable: true + }, { + key: 'templates', + decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], + initializer: null, + enumerable: true + }, { + key: 'gridToolbars', + decorators: [_aureliaTemplating.children(constants.elementPrefix + 'grid-toolbar')], + initializer: null, + enumerable: true }, { key: 'kOptions', decorators: [_aureliaTemplating.bindable], @@ -2568,16 +2627,21 @@ var Grid = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers28); + }], null, _instanceInitializers29); - function Grid(element, widgetBase, viewResources, optionsBuilder) { + function Grid(element, widgetBase, viewResources, optionsBuilder, templateGatherer) { _classCallCheck(this, _Grid); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers28); + _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers29); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers28); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers29); + + _defineDecoratedPropertyDescriptor(this, 'gridToolbars', _instanceInitializers29); + + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers29); this.element = element; + this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; this.widgetBase = widgetBase.control('kendoGrid').linkViewModel(this).useViewResources(viewResources); } @@ -2602,6 +2666,8 @@ var Grid = (function () { Grid.prototype.recreate = function recreate() { var _this10 = this; + this.templateGatherer.useTemplates(this, 'kendoGrid', this.templates); + this.kWidget = this.widgetBase.createWidget({ element: this.target, rootElement: this.element, @@ -2622,6 +2688,14 @@ var Grid = (function () { options.columns.push(_this11.optionsBuilder.getOptions(column, 'GridColumn')); }); } + + if (this.gridToolbars && this.gridToolbars.length > 0) { + options.toolbar = []; + + this.gridToolbars.forEach(function (toolbar) { + options.toolbar.push(_this11.optionsBuilder.getOptions(toolbar, 'GridToolbarItem')); + }); + } }; Grid.prototype.detached = function detached() { @@ -2629,7 +2703,7 @@ var Grid = (function () { }; var _Grid = Grid; - Grid = _aureliaDependencyInjection.inject(Element, WidgetBase, _aureliaTemplating.ViewResources, OptionsBuilder)(Grid) || Grid; + Grid = _aureliaDependencyInjection.inject(Element, WidgetBase, _aureliaTemplating.ViewResources, OptionsBuilder, TemplateGatherer)(Grid) || Grid; Grid = generateBindables('kendoGrid')(Grid) || Grid; Grid = _aureliaTemplating.customElement(constants.elementPrefix + 'grid')(Grid) || Grid; return Grid; @@ -2646,7 +2720,7 @@ function isInitFromDiv(element) { } var ListView = (function () { - var _instanceInitializers29 = {}; + var _instanceInitializers30 = {}; _createDecoratedClass(ListView, [{ key: 'kOptions', @@ -2660,14 +2734,14 @@ var ListView = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers29); + }], null, _instanceInitializers30); function ListView(element, widgetBase, viewResources) { _classCallCheck(this, _ListView); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers29); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers30); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers29); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers30); this.element = element; this.widgetBase = widgetBase.control('kendoListView').linkViewModel(this).useViewResources(viewResources); @@ -2705,7 +2779,7 @@ var ListView = (function () { exports.ListView = ListView; var Map = (function () { - var _instanceInitializers30 = {}; + var _instanceInitializers31 = {}; _createDecoratedClass(Map, [{ key: 'kOptions', @@ -2714,12 +2788,12 @@ var Map = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers30); + }], null, _instanceInitializers31); function Map(element, widgetBase) { _classCallCheck(this, _Map); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers30); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers31); this.element = element; this.widgetBase = widgetBase.control('kendoMap').linkViewModel(this); @@ -2758,7 +2832,7 @@ var Map = (function () { exports.Map = Map; var MaskedTextBox = (function () { - var _instanceInitializers31 = {}; + var _instanceInitializers32 = {}; _createDecoratedClass(MaskedTextBox, [{ key: 'kDisableDates', @@ -2772,14 +2846,14 @@ var MaskedTextBox = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers31); + }], null, _instanceInitializers32); function MaskedTextBox(element, widgetBase) { _classCallCheck(this, _MaskedTextBox); - _defineDecoratedPropertyDescriptor(this, 'kDisableDates', _instanceInitializers31); + _defineDecoratedPropertyDescriptor(this, 'kDisableDates', _instanceInitializers32); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers31); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers32); this.element = element; this.widgetBase = widgetBase.control('kendoMaskedTextBox').linkViewModel(this).useValueBinding(); @@ -2818,7 +2892,7 @@ var MaskedTextBox = (function () { exports.MaskedTextBox = MaskedTextBox; var Menu = (function () { - var _instanceInitializers32 = {}; + var _instanceInitializers33 = {}; _createDecoratedClass(Menu, [{ key: 'kOptions', @@ -2827,12 +2901,12 @@ var Menu = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers32); + }], null, _instanceInitializers33); function Menu(element, widgetBase) { _classCallCheck(this, _Menu); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers32); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers33); this.element = element; this.widgetBase = widgetBase.control('kendoMenu').linkViewModel(this); @@ -2867,7 +2941,7 @@ var Menu = (function () { exports.Menu = Menu; var Multiselect = (function () { - var _instanceInitializers33 = {}; + var _instanceInitializers34 = {}; _createDecoratedClass(Multiselect, [{ key: 'kOptions', @@ -2888,16 +2962,16 @@ var Multiselect = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers33); + }], null, _instanceInitializers34); function Multiselect(element, widgetBase, viewResources) { _classCallCheck(this, _Multiselect); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers33); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers34); - _defineDecoratedPropertyDescriptor(this, 'kNoValueBinding', _instanceInitializers33); + _defineDecoratedPropertyDescriptor(this, 'kNoValueBinding', _instanceInitializers34); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers33); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers34); this.element = element; this.widgetBase = widgetBase.control('kendoMultiSelect').linkViewModel(this).useValueBinding().useViewResources(viewResources); @@ -2948,7 +3022,7 @@ function getSelectNode(element) { } var NotificationTemplate = (function () { - var _instanceInitializers34 = {}; + var _instanceInitializers35 = {}; _createDecoratedClass(NotificationTemplate, [{ key: 'template', @@ -2960,14 +3034,14 @@ var NotificationTemplate = (function () { decorators: [_aureliaTemplating.bindable], initializer: null, enumerable: true - }], null, _instanceInitializers34); + }], null, _instanceInitializers35); function NotificationTemplate(targetInstruction) { _classCallCheck(this, _NotificationTemplate); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers34); + _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers35); - _defineDecoratedPropertyDescriptor(this, 'type', _instanceInitializers34); + _defineDecoratedPropertyDescriptor(this, 'type', _instanceInitializers35); this.template = targetInstruction.elementInstruction.template; } @@ -2989,7 +3063,7 @@ var NotificationTemplate = (function () { exports.NotificationTemplate = NotificationTemplate; var Notification = (function () { - var _instanceInitializers35 = {}; + var _instanceInitializers36 = {}; _createDecoratedClass(Notification, [{ key: 'kOptions', @@ -3003,14 +3077,14 @@ var Notification = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'notification-template')], initializer: null, enumerable: true - }], null, _instanceInitializers35); + }], null, _instanceInitializers36); function Notification(element, widgetBase, viewResources) { _classCallCheck(this, _Notification); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers35); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers36); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers35); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers36); this.element = element; this.widgetBase = widgetBase.control('kendoNotification').linkViewModel(this).useViewResources(viewResources); @@ -3065,7 +3139,7 @@ var Notification = (function () { exports.Notification = Notification; var NumericTextBox = (function () { - var _instanceInitializers36 = {}; + var _instanceInitializers37 = {}; _createDecoratedClass(NumericTextBox, [{ key: 'kOptions', @@ -3074,12 +3148,12 @@ var NumericTextBox = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers36); + }], null, _instanceInitializers37); function NumericTextBox(element, widgetBase) { _classCallCheck(this, _NumericTextBox); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers36); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers37); this.element = element; this.widgetBase = widgetBase.control('kendoNumericTextBox').linkViewModel(this).useValueBinding(); @@ -3118,7 +3192,7 @@ var NumericTextBox = (function () { exports.NumericTextBox = NumericTextBox; var PanelBar = (function () { - var _instanceInitializers37 = {}; + var _instanceInitializers38 = {}; _createDecoratedClass(PanelBar, [{ key: 'kOptions', @@ -3127,12 +3201,12 @@ var PanelBar = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers37); + }], null, _instanceInitializers38); function PanelBar(element, widgetBase) { _classCallCheck(this, _PanelBar); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers37); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers38); this.element = element; this.widgetBase = widgetBase.control('kendoPanelBar').linkViewModel(this); @@ -3186,8 +3260,14 @@ function hasListChildNode(element) { return element.children.length > 0 && (element.children[0].nodeName === 'UL' || element.children[0].nodeName === 'OL'); } +var PDF = function PDF() { + _classCallCheck(this, PDF); +}; + +exports.PDF = PDF; + var PivotConfigurator = (function () { - var _instanceInitializers38 = {}; + var _instanceInitializers39 = {}; _createDecoratedClass(PivotConfigurator, [{ key: 'kOptions', @@ -3196,12 +3276,12 @@ var PivotConfigurator = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers38); + }], null, _instanceInitializers39); function PivotConfigurator(element, widgetBase, viewResources) { _classCallCheck(this, _PivotConfigurator); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers38); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers39); this.element = element; this.widgetBase = widgetBase.control('kendoPivotConfigurator').linkViewModel(this); @@ -3236,7 +3316,7 @@ var PivotConfigurator = (function () { exports.PivotConfigurator = PivotConfigurator; var PivotGrid = (function () { - var _instanceInitializers39 = {}; + var _instanceInitializers40 = {}; _createDecoratedClass(PivotGrid, [{ key: 'kOptions', @@ -3250,14 +3330,14 @@ var PivotGrid = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers39); + }], null, _instanceInitializers40); function PivotGrid(element, widgetBase, viewResources) { _classCallCheck(this, _PivotGrid); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers39); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers40); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers39); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers40); this.element = element; this.widgetBase = widgetBase.control('kendoPivotGrid').linkViewModel(this).useViewResources(viewResources); @@ -3293,14 +3373,8 @@ var PivotGrid = (function () { exports.PivotGrid = PivotGrid; -var PDF = function PDF() { - _classCallCheck(this, PDF); -}; - -exports.PDF = PDF; - var ProgressBar = (function () { - var _instanceInitializers40 = {}; + var _instanceInitializers41 = {}; _createDecoratedClass(ProgressBar, [{ key: 'kOptions', @@ -3309,12 +3383,12 @@ var ProgressBar = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers40); + }], null, _instanceInitializers41); function ProgressBar(element, widgetBase) { _classCallCheck(this, _ProgressBar); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers40); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers41); this.element = element; this.widgetBase = widgetBase.control('kendoProgressBar').linkViewModel(this); @@ -3349,7 +3423,7 @@ var ProgressBar = (function () { exports.ProgressBar = ProgressBar; var QRCode = (function () { - var _instanceInitializers41 = {}; + var _instanceInitializers42 = {}; _createDecoratedClass(QRCode, [{ key: 'kOptions', @@ -3358,12 +3432,12 @@ var QRCode = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers41); + }], null, _instanceInitializers42); function QRCode(element, widgetBase) { _classCallCheck(this, _QRCode); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers41); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers42); this.element = element; this.widgetBase = widgetBase.control('kendoQRCode').linkViewModel(this); @@ -3398,7 +3472,7 @@ var QRCode = (function () { exports.QRCode = QRCode; var RangeSlider = (function () { - var _instanceInitializers42 = {}; + var _instanceInitializers43 = {}; _createDecoratedClass(RangeSlider, [{ key: 'kOptions', @@ -3407,12 +3481,12 @@ var RangeSlider = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers42); + }], null, _instanceInitializers43); function RangeSlider(element, widgetBase) { _classCallCheck(this, _RangeSlider); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers42); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers43); this.element = element; this.widgetBase = widgetBase.control('kendoRangeSlider').linkViewModel(this).useValueBinding(); @@ -3451,7 +3525,7 @@ var RangeSlider = (function () { exports.RangeSlider = RangeSlider; var ResponsivePanel = (function () { - var _instanceInitializers43 = {}; + var _instanceInitializers44 = {}; _createDecoratedClass(ResponsivePanel, [{ key: 'kOptions', @@ -3460,12 +3534,12 @@ var ResponsivePanel = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers43); + }], null, _instanceInitializers44); function ResponsivePanel(element, widgetBase) { _classCallCheck(this, _ResponsivePanel); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers43); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers44); this.element = element; this.widgetBase = widgetBase.control('kendoResponsivePanel').linkViewModel(this); @@ -3500,7 +3574,7 @@ var ResponsivePanel = (function () { exports.ResponsivePanel = ResponsivePanel; var Scheduler = (function () { - var _instanceInitializers44 = {}; + var _instanceInitializers45 = {}; _createDecoratedClass(Scheduler, [{ key: 'kOptions', @@ -3514,14 +3588,14 @@ var Scheduler = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers44); + }], null, _instanceInitializers45); function Scheduler(element, widgetBase, viewResources) { _classCallCheck(this, _Scheduler); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers44); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers45); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers44); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers45); this.element = element; this.widgetBase = widgetBase.control('kendoScheduler').linkViewModel(this).useViewResources(viewResources); @@ -3558,7 +3632,7 @@ var Scheduler = (function () { exports.Scheduler = Scheduler; var Scrollview = (function () { - var _instanceInitializers45 = {}; + var _instanceInitializers46 = {}; _createDecoratedClass(Scrollview, [{ key: 'kOptions', @@ -3572,14 +3646,14 @@ var Scrollview = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers45); + }], null, _instanceInitializers46); function Scrollview(element, widgetBase, viewResources) { _classCallCheck(this, _Scrollview); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers45); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers46); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers45); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers46); this.element = element; this.widgetBase = widgetBase.control('kendoMobileScrollView').linkViewModel(this).useViewResources(viewResources); @@ -3628,7 +3702,7 @@ function isInitFromDiv(element) { } var Slider = (function () { - var _instanceInitializers46 = {}; + var _instanceInitializers47 = {}; _createDecoratedClass(Slider, [{ key: 'kOptions', @@ -3637,12 +3711,12 @@ var Slider = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers46); + }], null, _instanceInitializers47); function Slider(element, widgetBase) { _classCallCheck(this, _Slider); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers46); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers47); this.element = element; this.widgetBase = widgetBase.control('kendoSlider').linkViewModel(this).useValueBinding(); @@ -3681,7 +3755,7 @@ var Slider = (function () { exports.Slider = Slider; var Sortable = (function () { - var _instanceInitializers47 = {}; + var _instanceInitializers48 = {}; _createDecoratedClass(Sortable, [{ key: 'kOptions', @@ -3690,12 +3764,12 @@ var Sortable = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers47); + }], null, _instanceInitializers48); function Sortable(element, widgetBase) { _classCallCheck(this, _Sortable); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers47); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers48); this.element = element; this.widgetBase = widgetBase.control('kendoSortable').linkViewModel(this); @@ -3730,7 +3804,7 @@ var Sortable = (function () { exports.Sortable = Sortable; var Splitter = (function () { - var _instanceInitializers48 = {}; + var _instanceInitializers49 = {}; _createDecoratedClass(Splitter, [{ key: 'options', @@ -3739,12 +3813,12 @@ var Splitter = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers48); + }], null, _instanceInitializers49); function Splitter(element, widgetBase) { _classCallCheck(this, _Splitter); - _defineDecoratedPropertyDescriptor(this, 'options', _instanceInitializers48); + _defineDecoratedPropertyDescriptor(this, 'options', _instanceInitializers49); this.element = element; this.widgetBase = widgetBase.control('kendoSplitter').linkViewModel(this); @@ -3779,7 +3853,7 @@ var Splitter = (function () { exports.Splitter = Splitter; var Spreadsheet = (function () { - var _instanceInitializers49 = {}; + var _instanceInitializers50 = {}; _createDecoratedClass(Spreadsheet, [{ key: 'kOptions', @@ -3788,12 +3862,12 @@ var Spreadsheet = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers49); + }], null, _instanceInitializers50); function Spreadsheet(element, widgetBase) { _classCallCheck(this, _Spreadsheet); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers49); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers50); this.element = element; this.widgetBase = widgetBase.control('kendoSpreadsheet').linkViewModel(this); @@ -3828,7 +3902,7 @@ var Spreadsheet = (function () { exports.Spreadsheet = Spreadsheet; var Switch = (function () { - var _instanceInitializers50 = {}; + var _instanceInitializers51 = {}; _createDecoratedClass(Switch, [{ key: 'kOptions', @@ -3837,12 +3911,12 @@ var Switch = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers50); + }], null, _instanceInitializers51); function Switch(element, widgetBase) { _classCallCheck(this, _Switch); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers50); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers51); this.element = element; this.widgetBase = widgetBase.control('kendoMobileSwitch').linkViewModel(this).useValueBinding('checked'); @@ -3881,7 +3955,7 @@ var Switch = (function () { exports.Switch = Switch; var TabStrip = (function () { - var _instanceInitializers51 = {}; + var _instanceInitializers52 = {}; _createDecoratedClass(TabStrip, [{ key: 'kOptions', @@ -3890,12 +3964,12 @@ var TabStrip = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers51); + }], null, _instanceInitializers52); function TabStrip(element, widgetBase) { _classCallCheck(this, _TabStrip); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers51); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers52); this.element = element; this.widgetBase = widgetBase.control('kendoTabStrip').linkViewModel(this); @@ -3930,7 +4004,7 @@ var TabStrip = (function () { exports.TabStrip = TabStrip; var TimePicker = (function () { - var _instanceInitializers52 = {}; + var _instanceInitializers53 = {}; _createDecoratedClass(TimePicker, [{ key: 'kDisableDates', @@ -3944,14 +4018,14 @@ var TimePicker = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers52); + }], null, _instanceInitializers53); function TimePicker(element, widgetBase) { _classCallCheck(this, _TimePicker); - _defineDecoratedPropertyDescriptor(this, 'kDisableDates', _instanceInitializers52); + _defineDecoratedPropertyDescriptor(this, 'kDisableDates', _instanceInitializers53); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers52); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers53); this.element = element; this.widgetBase = widgetBase.control('kendoTimePicker').linkViewModel(this).useValueBinding(); @@ -4010,7 +4084,7 @@ var ToolbarItemButton = (function () { exports.ToolbarItemButton = ToolbarItemButton; var ToolbarItem = (function () { - var _instanceInitializers53 = {}; + var _instanceInitializers54 = {}; _createDecoratedClass(ToolbarItem, [{ key: 'templates', @@ -4022,14 +4096,14 @@ var ToolbarItem = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'toolbar-item-button')], initializer: null, enumerable: true - }], null, _instanceInitializers53); + }], null, _instanceInitializers54); function ToolbarItem(templateGatherer, optionsBuilder) { _classCallCheck(this, _ToolbarItem); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers53); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers54); - _defineDecoratedPropertyDescriptor(this, 'buttons', _instanceInitializers53); + _defineDecoratedPropertyDescriptor(this, 'buttons', _instanceInitializers54); this.templateGatherer = templateGatherer; this.optionsBuilder = optionsBuilder; @@ -4061,7 +4135,7 @@ var ToolbarItem = (function () { exports.ToolbarItem = ToolbarItem; var Toolbar = (function () { - var _instanceInitializers54 = {}; + var _instanceInitializers55 = {}; _createDecoratedClass(Toolbar, [{ key: 'kOptions', @@ -4075,14 +4149,14 @@ var Toolbar = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'toolbar-item')], initializer: null, enumerable: true - }], null, _instanceInitializers54); + }], null, _instanceInitializers55); function Toolbar(element, widgetBase, optionsBuilder) { _classCallCheck(this, _Toolbar); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers54); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers55); - _defineDecoratedPropertyDescriptor(this, 'toolbarItems', _instanceInitializers54); + _defineDecoratedPropertyDescriptor(this, 'toolbarItems', _instanceInitializers55); this.element = element; this.optionsBuilder = optionsBuilder; @@ -4132,20 +4206,69 @@ var Toolbar = (function () { exports.Toolbar = Toolbar; +var Tooltip = (function () { + var _instanceInitializers56 = {}; + + _createDecoratedClass(Tooltip, [{ + key: 'kOptions', + decorators: [_aureliaTemplating.bindable], + initializer: function initializer() { + return {}; + }, + enumerable: true + }], null, _instanceInitializers56); + + function Tooltip(element, widgetBase) { + _classCallCheck(this, _Tooltip); + + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers56); + + this.element = element; + this.widgetBase = widgetBase.control('kendoTooltip').linkViewModel(this); + } + + Tooltip.prototype.bind = function bind(ctx) { + this.$parent = ctx; + }; + + Tooltip.prototype.attached = function attached() { + this.recreate(); + }; + + Tooltip.prototype.recreate = function recreate() { + this.kWidget = this.widgetBase.createWidget({ + element: this.element, + parentCtx: this.$parent + }); + }; + + Tooltip.prototype.detached = function detached() { + this.widgetBase.destroy(this.kWidget); + }; + + var _Tooltip = Tooltip; + Tooltip = _aureliaDependencyInjection.inject(Element, WidgetBase)(Tooltip) || Tooltip; + Tooltip = generateBindables('kendoTooltip')(Tooltip) || Tooltip; + Tooltip = _aureliaTemplating.customAttribute(constants.attributePrefix + 'tooltip')(Tooltip) || Tooltip; + return Tooltip; +})(); + +exports.Tooltip = Tooltip; + var TreeCol = (function () { - var _instanceInitializers55 = {}; + var _instanceInitializers57 = {}; _createDecoratedClass(TreeCol, [{ key: 'templates', decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers55); + }], null, _instanceInitializers57); function TreeCol(templateGatherer) { _classCallCheck(this, _TreeCol); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers55); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers57); this.templateGatherer = templateGatherer; } @@ -4164,7 +4287,7 @@ var TreeCol = (function () { exports.TreeCol = TreeCol; var TreeList = (function () { - var _instanceInitializers56 = {}; + var _instanceInitializers58 = {}; _createDecoratedClass(TreeList, [{ key: 'columns', @@ -4178,14 +4301,14 @@ var TreeList = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers56); + }], null, _instanceInitializers58); function TreeList(element, widgetBase, viewResources, optionsBuilder) { _classCallCheck(this, _TreeList); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers56); + _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers58); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers56); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers58); this.element = element; this.optionsBuilder = optionsBuilder; @@ -4239,57 +4362,8 @@ var TreeList = (function () { exports.TreeList = TreeList; -var Tooltip = (function () { - var _instanceInitializers57 = {}; - - _createDecoratedClass(Tooltip, [{ - key: 'kOptions', - decorators: [_aureliaTemplating.bindable], - initializer: function initializer() { - return {}; - }, - enumerable: true - }], null, _instanceInitializers57); - - function Tooltip(element, widgetBase) { - _classCallCheck(this, _Tooltip); - - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers57); - - this.element = element; - this.widgetBase = widgetBase.control('kendoTooltip').linkViewModel(this); - } - - Tooltip.prototype.bind = function bind(ctx) { - this.$parent = ctx; - }; - - Tooltip.prototype.attached = function attached() { - this.recreate(); - }; - - Tooltip.prototype.recreate = function recreate() { - this.kWidget = this.widgetBase.createWidget({ - element: this.element, - parentCtx: this.$parent - }); - }; - - Tooltip.prototype.detached = function detached() { - this.widgetBase.destroy(this.kWidget); - }; - - var _Tooltip = Tooltip; - Tooltip = _aureliaDependencyInjection.inject(Element, WidgetBase)(Tooltip) || Tooltip; - Tooltip = generateBindables('kendoTooltip')(Tooltip) || Tooltip; - Tooltip = _aureliaTemplating.customAttribute(constants.attributePrefix + 'tooltip')(Tooltip) || Tooltip; - return Tooltip; -})(); - -exports.Tooltip = Tooltip; - var TreeView = (function () { - var _instanceInitializers58 = {}; + var _instanceInitializers59 = {}; _createDecoratedClass(TreeView, [{ key: 'kOptions', @@ -4298,12 +4372,12 @@ var TreeView = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers58); + }], null, _instanceInitializers59); function TreeView(element, widgetBase) { _classCallCheck(this, _TreeView); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers58); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers59); this.element = element; this.widgetBase = widgetBase.control('kendoTreeView').linkViewModel(this); @@ -4338,7 +4412,7 @@ var TreeView = (function () { exports.TreeView = TreeView; var Upload = (function () { - var _instanceInitializers59 = {}; + var _instanceInitializers60 = {}; _createDecoratedClass(Upload, [{ key: 'kOptions', @@ -4352,14 +4426,14 @@ var Upload = (function () { decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], initializer: null, enumerable: true - }], null, _instanceInitializers59); + }], null, _instanceInitializers60); function Upload(element, widgetBase, viewResources) { _classCallCheck(this, _Upload); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers59); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers60); - _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers59); + _defineDecoratedPropertyDescriptor(this, 'templates', _instanceInitializers60); this.element = element; this.widgetBase = widgetBase.control('kendoUpload').linkViewModel(this).useViewResources(viewResources); @@ -4406,7 +4480,7 @@ var Upload = (function () { exports.Upload = Upload; var Validator = (function () { - var _instanceInitializers60 = {}; + var _instanceInitializers61 = {}; _createDecoratedClass(Validator, [{ key: 'kOptions', @@ -4415,12 +4489,12 @@ var Validator = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers60); + }], null, _instanceInitializers61); function Validator(element, widgetBase) { _classCallCheck(this, _Validator); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers60); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers61); this.element = element; this.widgetBase = widgetBase.control('kendoValidator').linkViewModel(this); @@ -4559,7 +4633,7 @@ var kendoFormatValueConverter = (function () { exports.kendoFormatValueConverter = kendoFormatValueConverter; var Window = (function () { - var _instanceInitializers61 = {}; + var _instanceInitializers62 = {}; _createDecoratedClass(Window, [{ key: 'kOptions', @@ -4568,12 +4642,12 @@ var Window = (function () { return {}; }, enumerable: true - }], null, _instanceInitializers61); + }], null, _instanceInitializers62); function Window(element, widgetBase) { _classCallCheck(this, _Window); - _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers61); + _defineDecoratedPropertyDescriptor(this, 'kOptions', _instanceInitializers62); this.element = element; this.widgetBase = widgetBase.control('kendoWindow').linkViewModel(this); diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 6d10ffde..ac0108b8 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,18 @@ + +# [0.7.0](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/compare/0.6.4...v0.7.0) (2016-04-01) + + +### Features + +* **all:** debug mode ([e8de138](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/e8de138)) +* **grid:** support templates on the grid (not column) ([f288579](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/f288579)) +* **grid:** support toolbar template ([58c8a45](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/58c8a45)) + +### Bug Fixes +* **multiselect:** rename kendoMultiselect() to kendoMultiSelect() ([36612373](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/36612373e22b0bee9b8fd82f158d2e41509269e0)) +* **config-builder:** remove withoutGlobalResources() ([13f7d39b0](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/13f7d39b0282529c48f713387ce7ae0f090ffe64)) + + ## [0.6.4](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/compare/0.6.3...v0.6.4) (2016-04-01) diff --git a/doc/api.json b/doc/api.json index 5bf86e97..6e64f778 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1352,7 +1352,7 @@ ] }, { - "id": 727, + "id": 728, "name": "Col", "kind": 128, "kindString": "Class", @@ -1361,7 +1361,7 @@ }, "children": [ { - "id": 729, + "id": 730, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1370,14 +1370,14 @@ }, "signatures": [ { - "id": 730, + "id": 731, "name": "new Col", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 731, + "id": 732, "name": "templateGatherer", "kind": 32768, "kindString": "Parameter", @@ -1391,14 +1391,14 @@ "type": { "type": "reference", "name": "Col", - "id": 727, + "id": 728, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 728, + "id": 729, "name": "templates", "kind": 1024, "kindString": "Property", @@ -1411,7 +1411,7 @@ } }, { - "id": 732, + "id": 733, "name": "bind", "kind": 2048, "kindString": "Method", @@ -1420,7 +1420,7 @@ }, "signatures": [ { - "id": 733, + "id": 734, "name": "bind", "kind": 4096, "kindString": "Call signature", @@ -1438,21 +1438,21 @@ "title": "Constructors", "kind": 512, "children": [ - 729 + 730 ] }, { "title": "Properties", "kind": 1024, "children": [ - 728 + 729 ] }, { "title": "Methods", "kind": 2048, "children": [ - 732 + 733 ] } ] @@ -2254,7 +2254,7 @@ ] }, { - "id": 489, + "id": 490, "name": "ContextMenu", "kind": 128, "kindString": "Class", @@ -2263,7 +2263,7 @@ }, "children": [ { - "id": 491, + "id": 492, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2272,14 +2272,14 @@ }, "signatures": [ { - "id": 492, + "id": 493, "name": "new ContextMenu", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 493, + "id": 494, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -2290,7 +2290,7 @@ } }, { - "id": 494, + "id": 495, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -2304,14 +2304,14 @@ "type": { "type": "reference", "name": "ContextMenu", - "id": 489, + "id": 490, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 490, + "id": 491, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -2324,7 +2324,7 @@ } }, { - "id": 498, + "id": 499, "name": "attached", "kind": 2048, "kindString": "Method", @@ -2333,7 +2333,7 @@ }, "signatures": [ { - "id": 499, + "id": 500, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -2346,7 +2346,7 @@ ] }, { - "id": 495, + "id": 496, "name": "bind", "kind": 2048, "kindString": "Method", @@ -2355,14 +2355,14 @@ }, "signatures": [ { - "id": 496, + "id": 497, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 497, + "id": 498, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -2381,7 +2381,7 @@ ] }, { - "id": 502, + "id": 503, "name": "detached", "kind": 2048, "kindString": "Method", @@ -2390,7 +2390,7 @@ }, "signatures": [ { - "id": 503, + "id": 504, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -2403,7 +2403,7 @@ ] }, { - "id": 500, + "id": 501, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -2412,7 +2412,7 @@ }, "signatures": [ { - "id": 501, + "id": 502, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -2430,24 +2430,24 @@ "title": "Constructors", "kind": 512, "children": [ - 491 + 492 ] }, { "title": "Properties", "kind": 1024, "children": [ - 490 + 491 ] }, { "title": "Methods", "kind": 2048, "children": [ - 498, - 495, - 502, - 500 + 499, + 496, + 503, + 501 ] } ] @@ -2716,7 +2716,7 @@ ] }, { - "id": 504, + "id": 505, "name": "DatePicker", "kind": 128, "kindString": "Class", @@ -2725,7 +2725,7 @@ }, "children": [ { - "id": 506, + "id": 507, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2734,14 +2734,14 @@ }, "signatures": [ { - "id": 507, + "id": 508, "name": "new DatePicker", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 508, + "id": 509, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -2752,7 +2752,7 @@ } }, { - "id": 509, + "id": 510, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -2766,14 +2766,14 @@ "type": { "type": "reference", "name": "DatePicker", - "id": 504, + "id": 505, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 505, + "id": 506, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -2786,7 +2786,7 @@ } }, { - "id": 513, + "id": 514, "name": "attached", "kind": 2048, "kindString": "Method", @@ -2795,7 +2795,7 @@ }, "signatures": [ { - "id": 514, + "id": 515, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -2808,7 +2808,7 @@ ] }, { - "id": 510, + "id": 511, "name": "bind", "kind": 2048, "kindString": "Method", @@ -2817,14 +2817,14 @@ }, "signatures": [ { - "id": 511, + "id": 512, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 512, + "id": 513, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -2843,7 +2843,7 @@ ] }, { - "id": 522, + "id": 523, "name": "detached", "kind": 2048, "kindString": "Method", @@ -2852,7 +2852,7 @@ }, "signatures": [ { - "id": 523, + "id": 524, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -2865,7 +2865,7 @@ ] }, { - "id": 517, + "id": 518, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -2874,14 +2874,14 @@ }, "signatures": [ { - "id": 518, + "id": 519, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 519, + "id": 520, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -2892,7 +2892,7 @@ } }, { - "id": 520, + "id": 521, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -2903,7 +2903,7 @@ } }, { - "id": 521, + "id": 522, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -2922,7 +2922,7 @@ ] }, { - "id": 515, + "id": 516, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -2931,7 +2931,7 @@ }, "signatures": [ { - "id": 516, + "id": 517, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -2949,31 +2949,31 @@ "title": "Constructors", "kind": 512, "children": [ - 506 + 507 ] }, { "title": "Properties", "kind": 1024, "children": [ - 505 + 506 ] }, { "title": "Methods", "kind": 2048, "children": [ - 513, - 510, - 522, - 517, - 515 + 514, + 511, + 523, + 518, + 516 ] } ] }, { - "id": 524, + "id": 525, "name": "DateTimePicker", "kind": 128, "kindString": "Class", @@ -2982,7 +2982,7 @@ }, "children": [ { - "id": 526, + "id": 527, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2991,14 +2991,14 @@ }, "signatures": [ { - "id": 527, + "id": 528, "name": "new DateTimePicker", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 528, + "id": 529, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -3009,7 +3009,7 @@ } }, { - "id": 529, + "id": 530, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -3023,14 +3023,14 @@ "type": { "type": "reference", "name": "DateTimePicker", - "id": 524, + "id": 525, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 525, + "id": 526, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -3043,7 +3043,7 @@ } }, { - "id": 533, + "id": 534, "name": "attached", "kind": 2048, "kindString": "Method", @@ -3052,7 +3052,7 @@ }, "signatures": [ { - "id": 534, + "id": 535, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -3065,7 +3065,7 @@ ] }, { - "id": 530, + "id": 531, "name": "bind", "kind": 2048, "kindString": "Method", @@ -3074,14 +3074,14 @@ }, "signatures": [ { - "id": 531, + "id": 532, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 532, + "id": 533, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -3100,7 +3100,7 @@ ] }, { - "id": 542, + "id": 543, "name": "detached", "kind": 2048, "kindString": "Method", @@ -3109,7 +3109,7 @@ }, "signatures": [ { - "id": 543, + "id": 544, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -3122,7 +3122,7 @@ ] }, { - "id": 537, + "id": 538, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -3131,14 +3131,14 @@ }, "signatures": [ { - "id": 538, + "id": 539, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 539, + "id": 540, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -3149,7 +3149,7 @@ } }, { - "id": 540, + "id": 541, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -3160,7 +3160,7 @@ } }, { - "id": 541, + "id": 542, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -3179,7 +3179,7 @@ ] }, { - "id": 535, + "id": 536, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -3188,7 +3188,7 @@ }, "signatures": [ { - "id": 536, + "id": 537, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -3206,31 +3206,31 @@ "title": "Constructors", "kind": 512, "children": [ - 526 + 527 ] }, { "title": "Properties", "kind": 1024, "children": [ - 525 + 526 ] }, { "title": "Methods", "kind": 2048, "children": [ - 533, - 530, - 542, - 537, - 535 + 534, + 531, + 543, + 538, + 536 ] } ] }, { - "id": 544, + "id": 563, "name": "Diagram", "kind": 128, "kindString": "Class", @@ -3239,7 +3239,7 @@ }, "children": [ { - "id": 546, + "id": 565, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3248,14 +3248,14 @@ }, "signatures": [ { - "id": 547, + "id": 566, "name": "new Diagram", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 548, + "id": 567, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -3266,7 +3266,7 @@ } }, { - "id": 549, + "id": 568, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -3280,14 +3280,14 @@ "type": { "type": "reference", "name": "Diagram", - "id": 544, + "id": 563, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 545, + "id": 564, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -3300,7 +3300,7 @@ } }, { - "id": 553, + "id": 572, "name": "attached", "kind": 2048, "kindString": "Method", @@ -3309,7 +3309,7 @@ }, "signatures": [ { - "id": 554, + "id": 573, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -3322,7 +3322,7 @@ ] }, { - "id": 550, + "id": 569, "name": "bind", "kind": 2048, "kindString": "Method", @@ -3331,14 +3331,14 @@ }, "signatures": [ { - "id": 551, + "id": 570, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 552, + "id": 571, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -3357,7 +3357,7 @@ ] }, { - "id": 557, + "id": 576, "name": "detached", "kind": 2048, "kindString": "Method", @@ -3366,7 +3366,7 @@ }, "signatures": [ { - "id": 558, + "id": 577, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -3379,7 +3379,7 @@ ] }, { - "id": 555, + "id": 574, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -3388,7 +3388,7 @@ }, "signatures": [ { - "id": 556, + "id": 575, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -3406,30 +3406,30 @@ "title": "Constructors", "kind": 512, "children": [ - 546 + 565 ] }, { "title": "Properties", "kind": 1024, "children": [ - 545 + 564 ] }, { "title": "Methods", "kind": 2048, "children": [ - 553, - 550, - 557, - 555 + 572, + 569, + 576, + 574 ] } ] }, { - "id": 559, + "id": 545, "name": "Draggabke", "kind": 128, "kindString": "Class", @@ -3438,7 +3438,7 @@ }, "children": [ { - "id": 561, + "id": 547, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3447,14 +3447,14 @@ }, "signatures": [ { - "id": 562, + "id": 548, "name": "new Draggabke", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 563, + "id": 549, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -3465,7 +3465,7 @@ } }, { - "id": 564, + "id": 550, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -3479,14 +3479,14 @@ "type": { "type": "reference", "name": "Draggabke", - "id": 559, + "id": 545, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 560, + "id": 546, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -3499,7 +3499,7 @@ } }, { - "id": 568, + "id": 554, "name": "attached", "kind": 2048, "kindString": "Method", @@ -3508,7 +3508,7 @@ }, "signatures": [ { - "id": 569, + "id": 555, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -3521,7 +3521,7 @@ ] }, { - "id": 572, + "id": 558, "name": "beforeInitialize", "kind": 2048, "kindString": "Method", @@ -3530,14 +3530,14 @@ }, "signatures": [ { - "id": 573, + "id": 559, "name": "beforeInitialize", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 574, + "id": 560, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3556,7 +3556,7 @@ ] }, { - "id": 565, + "id": 551, "name": "bind", "kind": 2048, "kindString": "Method", @@ -3565,14 +3565,14 @@ }, "signatures": [ { - "id": 566, + "id": 552, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 567, + "id": 553, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -3591,7 +3591,7 @@ ] }, { - "id": 575, + "id": 561, "name": "detached", "kind": 2048, "kindString": "Method", @@ -3600,7 +3600,7 @@ }, "signatures": [ { - "id": 576, + "id": 562, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -3613,7 +3613,7 @@ ] }, { - "id": 570, + "id": 556, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -3622,7 +3622,7 @@ }, "signatures": [ { - "id": 571, + "id": 557, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -3640,31 +3640,31 @@ "title": "Constructors", "kind": 512, "children": [ - 561 + 547 ] }, { "title": "Properties", "kind": 1024, "children": [ - 560 + 546 ] }, { "title": "Methods", "kind": 2048, "children": [ - 568, - 572, - 565, - 575, - 570 + 554, + 558, + 551, + 561, + 556 ] } ] }, { - "id": 607, + "id": 608, "name": "DropDownList", "kind": 128, "kindString": "Class", @@ -3673,7 +3673,7 @@ }, "children": [ { - "id": 611, + "id": 612, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3682,14 +3682,14 @@ }, "signatures": [ { - "id": 612, + "id": 613, "name": "new DropDownList", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 613, + "id": 614, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -3700,7 +3700,7 @@ } }, { - "id": 614, + "id": 615, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -3711,7 +3711,7 @@ } }, { - "id": 615, + "id": 616, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -3725,14 +3725,14 @@ "type": { "type": "reference", "name": "DropDownList", - "id": 607, + "id": 608, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 609, + "id": 610, "name": "kNoValueBinding", "kind": 1024, "kindString": "Property", @@ -3745,7 +3745,7 @@ } }, { - "id": 608, + "id": 609, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -3758,7 +3758,7 @@ } }, { - "id": 610, + "id": 611, "name": "templates", "kind": 1024, "kindString": "Property", @@ -3771,7 +3771,7 @@ } }, { - "id": 619, + "id": 620, "name": "attached", "kind": 2048, "kindString": "Method", @@ -3780,7 +3780,7 @@ }, "signatures": [ { - "id": 620, + "id": 621, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -3793,7 +3793,7 @@ ] }, { - "id": 616, + "id": 617, "name": "bind", "kind": 2048, "kindString": "Method", @@ -3802,14 +3802,14 @@ }, "signatures": [ { - "id": 617, + "id": 618, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 618, + "id": 619, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -3828,7 +3828,7 @@ ] }, { - "id": 628, + "id": 629, "name": "detached", "kind": 2048, "kindString": "Method", @@ -3837,7 +3837,7 @@ }, "signatures": [ { - "id": 629, + "id": 630, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -3850,7 +3850,7 @@ ] }, { - "id": 623, + "id": 624, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -3859,14 +3859,14 @@ }, "signatures": [ { - "id": 624, + "id": 625, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 625, + "id": 626, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -3877,7 +3877,7 @@ } }, { - "id": 626, + "id": 627, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -3888,7 +3888,7 @@ } }, { - "id": 627, + "id": 628, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -3907,7 +3907,7 @@ ] }, { - "id": 621, + "id": 622, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -3916,7 +3916,7 @@ }, "signatures": [ { - "id": 622, + "id": 623, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -3934,33 +3934,33 @@ "title": "Constructors", "kind": 512, "children": [ - 611 + 612 ] }, { "title": "Properties", "kind": 1024, "children": [ + 610, 609, - 608, - 610 + 611 ] }, { "title": "Methods", "kind": 2048, "children": [ - 619, - 616, - 628, - 623, - 621 + 620, + 617, + 629, + 624, + 622 ] } ] }, { - "id": 592, + "id": 593, "name": "DropTarget", "kind": 128, "kindString": "Class", @@ -3969,7 +3969,7 @@ }, "children": [ { - "id": 594, + "id": 595, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3978,14 +3978,14 @@ }, "signatures": [ { - "id": 595, + "id": 596, "name": "new DropTarget", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 596, + "id": 597, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -3996,7 +3996,7 @@ } }, { - "id": 597, + "id": 598, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -4010,14 +4010,14 @@ "type": { "type": "reference", "name": "DropTarget", - "id": 592, + "id": 593, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 593, + "id": 594, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -4030,7 +4030,7 @@ } }, { - "id": 601, + "id": 602, "name": "attached", "kind": 2048, "kindString": "Method", @@ -4039,7 +4039,7 @@ }, "signatures": [ { - "id": 602, + "id": 603, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -4052,7 +4052,7 @@ ] }, { - "id": 598, + "id": 599, "name": "bind", "kind": 2048, "kindString": "Method", @@ -4061,14 +4061,14 @@ }, "signatures": [ { - "id": 599, + "id": 600, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 600, + "id": 601, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -4087,7 +4087,7 @@ ] }, { - "id": 605, + "id": 606, "name": "detached", "kind": 2048, "kindString": "Method", @@ -4096,7 +4096,7 @@ }, "signatures": [ { - "id": 606, + "id": 607, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -4109,7 +4109,7 @@ ] }, { - "id": 603, + "id": 604, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -4118,7 +4118,7 @@ }, "signatures": [ { - "id": 604, + "id": 605, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -4136,30 +4136,30 @@ "title": "Constructors", "kind": 512, "children": [ - 594 + 595 ] }, { "title": "Properties", "kind": 1024, "children": [ - 593 + 594 ] }, { "title": "Methods", "kind": 2048, "children": [ - 601, - 598, - 605, - 603 + 602, + 599, + 606, + 604 ] } ] }, { - "id": 577, + "id": 578, "name": "DropTargetArea", "kind": 128, "kindString": "Class", @@ -4168,7 +4168,7 @@ }, "children": [ { - "id": 579, + "id": 580, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4177,14 +4177,14 @@ }, "signatures": [ { - "id": 580, + "id": 581, "name": "new DropTargetArea", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 581, + "id": 582, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -4195,7 +4195,7 @@ } }, { - "id": 582, + "id": 583, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -4209,14 +4209,14 @@ "type": { "type": "reference", "name": "DropTargetArea", - "id": 577, + "id": 578, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 578, + "id": 579, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -4229,7 +4229,7 @@ } }, { - "id": 586, + "id": 587, "name": "attached", "kind": 2048, "kindString": "Method", @@ -4238,7 +4238,7 @@ }, "signatures": [ { - "id": 587, + "id": 588, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -4251,7 +4251,7 @@ ] }, { - "id": 583, + "id": 584, "name": "bind", "kind": 2048, "kindString": "Method", @@ -4260,14 +4260,14 @@ }, "signatures": [ { - "id": 584, + "id": 585, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 585, + "id": 586, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -4286,7 +4286,7 @@ ] }, { - "id": 590, + "id": 591, "name": "detached", "kind": 2048, "kindString": "Method", @@ -4295,7 +4295,7 @@ }, "signatures": [ { - "id": 591, + "id": 592, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -4308,7 +4308,7 @@ ] }, { - "id": 588, + "id": 589, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -4317,7 +4317,7 @@ }, "signatures": [ { - "id": 589, + "id": 590, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -4335,30 +4335,30 @@ "title": "Constructors", "kind": 512, "children": [ - 579 + 580 ] }, { "title": "Properties", "kind": 1024, "children": [ - 578 + 579 ] }, { "title": "Methods", "kind": 2048, "children": [ - 586, - 583, - 590, - 588 + 587, + 584, + 591, + 589 ] } ] }, { - "id": 630, + "id": 631, "name": "Editor", "kind": 128, "kindString": "Class", @@ -4367,7 +4367,7 @@ }, "children": [ { - "id": 632, + "id": 633, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4376,14 +4376,14 @@ }, "signatures": [ { - "id": 633, + "id": 634, "name": "new Editor", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 634, + "id": 635, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -4394,7 +4394,7 @@ } }, { - "id": 635, + "id": 636, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -4408,14 +4408,14 @@ "type": { "type": "reference", "name": "Editor", - "id": 630, + "id": 631, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 631, + "id": 632, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -4428,7 +4428,7 @@ } }, { - "id": 639, + "id": 640, "name": "attached", "kind": 2048, "kindString": "Method", @@ -4437,7 +4437,7 @@ }, "signatures": [ { - "id": 640, + "id": 641, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -4450,7 +4450,7 @@ ] }, { - "id": 636, + "id": 637, "name": "bind", "kind": 2048, "kindString": "Method", @@ -4459,14 +4459,14 @@ }, "signatures": [ { - "id": 637, + "id": 638, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 638, + "id": 639, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -4485,7 +4485,7 @@ ] }, { - "id": 648, + "id": 649, "name": "detached", "kind": 2048, "kindString": "Method", @@ -4494,7 +4494,7 @@ }, "signatures": [ { - "id": 649, + "id": 650, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -4507,7 +4507,7 @@ ] }, { - "id": 643, + "id": 644, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -4516,14 +4516,14 @@ }, "signatures": [ { - "id": 644, + "id": 645, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 645, + "id": 646, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -4534,7 +4534,7 @@ } }, { - "id": 646, + "id": 647, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -4545,7 +4545,7 @@ } }, { - "id": 647, + "id": 648, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -4564,7 +4564,7 @@ ] }, { - "id": 641, + "id": 642, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -4573,7 +4573,7 @@ }, "signatures": [ { - "id": 642, + "id": 643, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -4591,31 +4591,31 @@ "title": "Constructors", "kind": 512, "children": [ - 632 + 633 ] }, { "title": "Properties", "kind": 1024, "children": [ - 631 + 632 ] }, { "title": "Methods", "kind": 2048, "children": [ - 639, - 636, - 648, - 643, - 641 + 640, + 637, + 649, + 644, + 642 ] } ] }, { - "id": 650, + "id": 651, "name": "FlatColorPicker", "kind": 128, "kindString": "Class", @@ -4624,7 +4624,7 @@ }, "children": [ { - "id": 652, + "id": 653, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4633,14 +4633,14 @@ }, "signatures": [ { - "id": 653, + "id": 654, "name": "new FlatColorPicker", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 654, + "id": 655, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -4651,7 +4651,7 @@ } }, { - "id": 655, + "id": 656, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -4665,14 +4665,14 @@ "type": { "type": "reference", "name": "FlatColorPicker", - "id": 650, + "id": 651, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 651, + "id": 652, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -4685,7 +4685,7 @@ } }, { - "id": 659, + "id": 660, "name": "attached", "kind": 2048, "kindString": "Method", @@ -4694,7 +4694,7 @@ }, "signatures": [ { - "id": 660, + "id": 661, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -4707,7 +4707,7 @@ ] }, { - "id": 656, + "id": 657, "name": "bind", "kind": 2048, "kindString": "Method", @@ -4716,14 +4716,14 @@ }, "signatures": [ { - "id": 657, + "id": 658, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 658, + "id": 659, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -4742,7 +4742,7 @@ ] }, { - "id": 663, + "id": 664, "name": "detached", "kind": 2048, "kindString": "Method", @@ -4751,7 +4751,7 @@ }, "signatures": [ { - "id": 664, + "id": 665, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -4764,7 +4764,7 @@ ] }, { - "id": 661, + "id": 662, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -4773,7 +4773,7 @@ }, "signatures": [ { - "id": 662, + "id": 663, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -4791,30 +4791,30 @@ "title": "Constructors", "kind": 512, "children": [ - 652 + 653 ] }, { "title": "Properties", "kind": 1024, "children": [ - 651 + 652 ] }, { "title": "Methods", "kind": 2048, "children": [ - 659, - 656, - 663, - 661 + 660, + 657, + 664, + 662 ] } ] }, { - "id": 666, + "id": 667, "name": "Gantt", "kind": 128, "kindString": "Class", @@ -4823,7 +4823,7 @@ }, "children": [ { - "id": 670, + "id": 671, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4832,14 +4832,14 @@ }, "signatures": [ { - "id": 671, + "id": 672, "name": "new Gantt", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 672, + "id": 673, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -4850,7 +4850,7 @@ } }, { - "id": 673, + "id": 674, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -4861,7 +4861,7 @@ } }, { - "id": 674, + "id": 675, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -4872,7 +4872,7 @@ } }, { - "id": 675, + "id": 676, "name": "optionsBuilder", "kind": 32768, "kindString": "Parameter", @@ -4886,14 +4886,14 @@ "type": { "type": "reference", "name": "Gantt", - "id": 666, + "id": 667, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 667, + "id": 668, "name": "columns", "kind": 1024, "kindString": "Property", @@ -4906,7 +4906,7 @@ } }, { - "id": 669, + "id": 670, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -4919,7 +4919,7 @@ } }, { - "id": 668, + "id": 669, "name": "templates", "kind": 1024, "kindString": "Property", @@ -4932,7 +4932,7 @@ } }, { - "id": 679, + "id": 680, "name": "attached", "kind": 2048, "kindString": "Method", @@ -4941,7 +4941,7 @@ }, "signatures": [ { - "id": 680, + "id": 681, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -4954,7 +4954,7 @@ ] }, { - "id": 676, + "id": 677, "name": "bind", "kind": 2048, "kindString": "Method", @@ -4963,14 +4963,14 @@ }, "signatures": [ { - "id": 677, + "id": 678, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 678, + "id": 679, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -4989,7 +4989,7 @@ ] }, { - "id": 683, + "id": 684, "name": "detached", "kind": 2048, "kindString": "Method", @@ -4998,7 +4998,7 @@ }, "signatures": [ { - "id": 684, + "id": 685, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -5011,7 +5011,7 @@ ] }, { - "id": 681, + "id": 682, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -5020,7 +5020,7 @@ }, "signatures": [ { - "id": 682, + "id": 683, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -5038,32 +5038,32 @@ "title": "Constructors", "kind": 512, "children": [ - 670 + 671 ] }, { "title": "Properties", "kind": 1024, "children": [ - 667, - 669, - 668 + 668, + 670, + 669 ] }, { "title": "Methods", "kind": 2048, "children": [ - 679, - 676, - 683, - 681 + 680, + 677, + 684, + 682 ] } ] }, { - "id": 665, + "id": 666, "name": "GanttCol", "kind": 128, "kindString": "Class", @@ -5072,7 +5072,7 @@ } }, { - "id": 734, + "id": 742, "name": "Grid", "kind": 128, "kindString": "Class", @@ -5081,7 +5081,7 @@ }, "children": [ { - "id": 737, + "id": 747, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5090,14 +5090,14 @@ }, "signatures": [ { - "id": 738, + "id": 748, "name": "new Grid", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 749, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -5108,7 +5108,7 @@ } }, { - "id": 740, + "id": 750, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -5119,7 +5119,7 @@ } }, { - "id": 741, + "id": 751, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -5130,7 +5130,7 @@ } }, { - "id": 742, + "id": 752, "name": "optionsBuilder", "kind": 32768, "kindString": "Parameter", @@ -5139,19 +5139,30 @@ "type": "instrinct", "name": "any" } + }, + { + "id": 753, + "name": "templateGatherer", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "instrinct", + "name": "any" + } } ], "type": { "type": "reference", "name": "Grid", - "id": 734, + "id": 742, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 735, + "id": 743, "name": "columns", "kind": 1024, "kindString": "Property", @@ -5164,8 +5175,8 @@ } }, { - "id": 736, - "name": "kOptions", + "id": 745, + "name": "gridToolbars", "kind": 1024, "kindString": "Property", "flags": { @@ -5178,6 +5189,32 @@ }, { "id": 746, + "name": "kOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "type": { + "type": "instrinct", + "name": "any" + } + }, + { + "id": 744, + "name": "templates", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "type": { + "type": "instrinct", + "name": "any" + } + }, + { + "id": 757, "name": "attached", "kind": 2048, "kindString": "Method", @@ -5186,7 +5223,7 @@ }, "signatures": [ { - "id": 747, + "id": 758, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -5199,7 +5236,7 @@ ] }, { - "id": 743, + "id": 754, "name": "bind", "kind": 2048, "kindString": "Method", @@ -5208,14 +5245,14 @@ }, "signatures": [ { - "id": 744, + "id": 755, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 745, + "id": 756, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -5234,7 +5271,7 @@ ] }, { - "id": 750, + "id": 761, "name": "detached", "kind": 2048, "kindString": "Method", @@ -5243,7 +5280,7 @@ }, "signatures": [ { - "id": 751, + "id": 762, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -5256,7 +5293,7 @@ ] }, { - "id": 748, + "id": 759, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -5265,7 +5302,7 @@ }, "signatures": [ { - "id": 749, + "id": 760, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -5283,58 +5320,80 @@ "title": "Constructors", "kind": 512, "children": [ - 737 + 747 ] }, { "title": "Properties", "kind": 1024, "children": [ - 735, - 736 + 743, + 745, + 746, + 744 ] }, { "title": "Methods", "kind": 2048, "children": [ - 746, - 743, - 750, - 748 + 757, + 754, + 761, + 759 ] } ] }, { - "id": 3, - "name": "KendoConfigBuilder", + "id": 735, + "name": "GridToolbar", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, - "comment": { - "shortText": "Configure the Aurelia-KendoUI-bridge" - }, "children": [ { - "id": 4, - "name": "resources", - "kind": 1024, - "kindString": "Property", + "id": 737, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", "flags": { "isExported": true }, - "type": { - "type": "instrinct", - "isArray": true, - "name": "string" - } + "signatures": [ + { + "id": 738, + "name": "new GridToolbar", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 739, + "name": "templateGatherer", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "instrinct", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "name": "GridToolbar", + "id": 735, + "moduleName": "\"aurelia-kendoui-bridge\"" + } + } + ] }, { - "id": 5, - "name": "useGlobalResources", + "id": 736, + "name": "templates", "kind": 1024, "kindString": "Property", "flags": { @@ -5342,12 +5401,12 @@ }, "type": { "type": "instrinct", - "name": "boolean" + "name": "any" } }, { - "id": 6, - "name": "core", + "id": 740, + "name": "bind", "kind": 2048, "kindString": "Method", "flags": { @@ -5355,50 +5414,163 @@ }, "signatures": [ { - "id": 7, - "name": "core", + "id": 741, + "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, - "comment": { - "shortText": "Globally register all Kendo Core wrappers including templating support" - }, "type": { - "type": "reference", - "name": "KendoConfigBuilder", - "id": 3, - "moduleName": "\"aurelia-kendoui-bridge\"" + "type": "instrinct", + "name": "any" } } ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 737 + ] }, { - "id": 16, - "name": "kendoAutoComplete", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 17, - "name": "kendoAutoComplete", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "name": "KendoConfigBuilder", - "id": 3, - "moduleName": "\"aurelia-kendoui-bridge\"" - } - } + "title": "Properties", + "kind": 1024, + "children": [ + 736 ] }, { - "id": 22, - "name": "kendoBarcode", + "title": "Methods", + "kind": 2048, + "children": [ + 740 + ] + } + ] + }, + { + "id": 3, + "name": "KendoConfigBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Configure the Aurelia-KendoUI-bridge" + }, + "children": [ + { + "id": 5, + "name": "debugMode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "type": { + "type": "instrinct", + "name": "any" + } + }, + { + "id": 4, + "name": "resources", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "type": { + "type": "instrinct", + "isArray": true, + "name": "string" + } + }, + { + "id": 6, + "name": "core", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 7, + "name": "core", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Globally register all Kendo Core wrappers including templating support" + }, + "type": { + "type": "reference", + "name": "KendoConfigBuilder", + "id": 3, + "moduleName": "\"aurelia-kendoui-bridge\"" + } + } + ] + }, + { + "id": 14, + "name": "debug", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 15, + "name": "debug", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Adds kendo templating support" + }, + "type": { + "type": "reference", + "name": "KendoConfigBuilder", + "id": 3, + "moduleName": "\"aurelia-kendoui-bridge\"" + } + } + ] + }, + { + "id": 16, + "name": "kendoAutoComplete", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 17, + "name": "kendoAutoComplete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "KendoConfigBuilder", + "id": 3, + "moduleName": "\"aurelia-kendoui-bridge\"" + } + } + ] + }, + { + "id": 22, + "name": "kendoBarcode", "kind": 2048, "kindString": "Method", "flags": { @@ -5974,7 +6146,7 @@ }, { "id": 68, - "name": "kendoMultiselect", + "name": "kendoMultiSelect", "kind": 2048, "kindString": "Method", "flags": { @@ -5983,7 +6155,7 @@ "signatures": [ { "id": 69, - "name": "kendoMultiselect", + "name": "kendoMultiSelect", "kind": 4096, "kindString": "Call signature", "flags": {}, @@ -6418,7 +6590,7 @@ ] }, { - "id": 14, + "id": 12, "name": "kendoTemplateSupport", "kind": 2048, "kindString": "Method", @@ -6427,7 +6599,7 @@ }, "signatures": [ { - "id": 15, + "id": 13, "name": "kendoTemplateSupport", "kind": 4096, "kindString": "Call signature", @@ -6677,7 +6849,7 @@ ] }, { - "id": 12, + "id": 10, "name": "useValueConverters", "kind": 2048, "kindString": "Method", @@ -6686,7 +6858,7 @@ }, "signatures": [ { - "id": 13, + "id": 11, "name": "useValueConverters", "kind": 4096, "kindString": "Call signature", @@ -6702,33 +6874,6 @@ } } ] - }, - { - "id": 10, - "name": "withoutGlobalResources", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 11, - "name": "withoutGlobalResources", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Don't globalize any resources\nAllows you to import wrappers yourself via " - }, - "type": { - "type": "reference", - "name": "KendoConfigBuilder", - "id": 3, - "moduleName": "\"aurelia-kendoui-bridge\"" - } - } - ] } ], "groups": [ @@ -6736,8 +6881,8 @@ "title": "Properties", "kind": 1024, "children": [ - 4, - 5 + 5, + 4 ] }, { @@ -6745,6 +6890,7 @@ "kind": 2048, "children": [ 6, + 14, 16, 22, 18, @@ -6788,7 +6934,7 @@ 92, 97, 99, - 14, + 12, 107, 103, 110, @@ -6798,14 +6944,13 @@ 116, 118, 8, - 12, 10 ] } ] }, { - "id": 685, + "id": 686, "name": "LinearGauge", "kind": 128, "kindString": "Class", @@ -6814,7 +6959,7 @@ }, "children": [ { - "id": 687, + "id": 688, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6823,14 +6968,14 @@ }, "signatures": [ { - "id": 688, + "id": 689, "name": "new LinearGauge", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 689, + "id": 690, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -6841,7 +6986,7 @@ } }, { - "id": 690, + "id": 691, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -6852,7 +6997,7 @@ } }, { - "id": 691, + "id": 692, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -6866,14 +7011,14 @@ "type": { "type": "reference", "name": "LinearGauge", - "id": 685, + "id": 686, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 686, + "id": 687, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -6886,7 +7031,7 @@ } }, { - "id": 695, + "id": 696, "name": "attached", "kind": 2048, "kindString": "Method", @@ -6895,7 +7040,7 @@ }, "signatures": [ { - "id": 696, + "id": 697, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -6908,7 +7053,7 @@ ] }, { - "id": 692, + "id": 693, "name": "bind", "kind": 2048, "kindString": "Method", @@ -6917,14 +7062,14 @@ }, "signatures": [ { - "id": 693, + "id": 694, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 694, + "id": 695, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -6943,7 +7088,7 @@ ] }, { - "id": 704, + "id": 705, "name": "detached", "kind": 2048, "kindString": "Method", @@ -6952,7 +7097,7 @@ }, "signatures": [ { - "id": 705, + "id": 706, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -6965,7 +7110,7 @@ ] }, { - "id": 699, + "id": 700, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -6974,14 +7119,14 @@ }, "signatures": [ { - "id": 700, + "id": 701, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 701, + "id": 702, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -6992,7 +7137,7 @@ } }, { - "id": 702, + "id": 703, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -7003,7 +7148,7 @@ } }, { - "id": 703, + "id": 704, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -7022,7 +7167,7 @@ ] }, { - "id": 697, + "id": 698, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -7031,7 +7176,7 @@ }, "signatures": [ { - "id": 698, + "id": 699, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -7049,31 +7194,31 @@ "title": "Constructors", "kind": 512, "children": [ - 687 + 688 ] }, { "title": "Properties", "kind": 1024, "children": [ - 686 + 687 ] }, { "title": "Methods", "kind": 2048, "children": [ - 695, - 692, - 704, - 699, - 697 + 696, + 693, + 705, + 700, + 698 ] } ] }, { - "id": 752, + "id": 763, "name": "ListView", "kind": 128, "kindString": "Class", @@ -7082,7 +7227,7 @@ }, "children": [ { - "id": 755, + "id": 766, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7091,14 +7236,14 @@ }, "signatures": [ { - "id": 756, + "id": 767, "name": "new ListView", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 757, + "id": 768, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -7109,7 +7254,7 @@ } }, { - "id": 758, + "id": 769, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -7120,7 +7265,7 @@ } }, { - "id": 759, + "id": 770, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -7134,14 +7279,14 @@ "type": { "type": "reference", "name": "ListView", - "id": 752, + "id": 763, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 753, + "id": 764, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -7154,7 +7299,7 @@ } }, { - "id": 754, + "id": 765, "name": "templates", "kind": 1024, "kindString": "Property", @@ -7167,7 +7312,7 @@ } }, { - "id": 763, + "id": 774, "name": "attached", "kind": 2048, "kindString": "Method", @@ -7176,7 +7321,7 @@ }, "signatures": [ { - "id": 764, + "id": 775, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -7189,7 +7334,7 @@ ] }, { - "id": 760, + "id": 771, "name": "bind", "kind": 2048, "kindString": "Method", @@ -7198,14 +7343,14 @@ }, "signatures": [ { - "id": 761, + "id": 772, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 762, + "id": 773, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -7224,7 +7369,7 @@ ] }, { - "id": 767, + "id": 778, "name": "detached", "kind": 2048, "kindString": "Method", @@ -7233,7 +7378,7 @@ }, "signatures": [ { - "id": 768, + "id": 779, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -7246,7 +7391,7 @@ ] }, { - "id": 765, + "id": 776, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -7255,7 +7400,7 @@ }, "signatures": [ { - "id": 766, + "id": 777, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -7273,31 +7418,31 @@ "title": "Constructors", "kind": 512, "children": [ - 755 + 766 ] }, { "title": "Properties", "kind": 1024, "children": [ - 753, - 754 + 764, + 765 ] }, { "title": "Methods", "kind": 2048, "children": [ - 763, - 760, - 767, - 765 + 774, + 771, + 778, + 776 ] } ] }, { - "id": 769, + "id": 780, "name": "Map", "kind": 128, "kindString": "Class", @@ -7306,7 +7451,7 @@ }, "children": [ { - "id": 771, + "id": 782, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7315,14 +7460,14 @@ }, "signatures": [ { - "id": 772, + "id": 783, "name": "new Map", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 773, + "id": 784, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -7333,7 +7478,7 @@ } }, { - "id": 774, + "id": 785, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -7347,14 +7492,14 @@ "type": { "type": "reference", "name": "Map", - "id": 769, + "id": 780, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 770, + "id": 781, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -7367,7 +7512,7 @@ } }, { - "id": 778, + "id": 789, "name": "attached", "kind": 2048, "kindString": "Method", @@ -7376,7 +7521,7 @@ }, "signatures": [ { - "id": 779, + "id": 790, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -7389,7 +7534,7 @@ ] }, { - "id": 775, + "id": 786, "name": "bind", "kind": 2048, "kindString": "Method", @@ -7398,14 +7543,14 @@ }, "signatures": [ { - "id": 776, + "id": 787, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 777, + "id": 788, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -7424,7 +7569,7 @@ ] }, { - "id": 787, + "id": 798, "name": "detached", "kind": 2048, "kindString": "Method", @@ -7433,7 +7578,7 @@ }, "signatures": [ { - "id": 788, + "id": 799, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -7446,7 +7591,7 @@ ] }, { - "id": 782, + "id": 793, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -7455,14 +7600,14 @@ }, "signatures": [ { - "id": 783, + "id": 794, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 784, + "id": 795, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -7473,7 +7618,7 @@ } }, { - "id": 785, + "id": 796, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -7484,7 +7629,7 @@ } }, { - "id": 786, + "id": 797, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -7503,7 +7648,7 @@ ] }, { - "id": 780, + "id": 791, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -7512,7 +7657,7 @@ }, "signatures": [ { - "id": 781, + "id": 792, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -7530,31 +7675,31 @@ "title": "Constructors", "kind": 512, "children": [ - 771 + 782 ] }, { "title": "Properties", "kind": 1024, "children": [ - 770 + 781 ] }, { "title": "Methods", "kind": 2048, "children": [ - 778, - 775, - 787, - 782, - 780 + 789, + 786, + 798, + 793, + 791 ] } ] }, { - "id": 789, + "id": 800, "name": "MaskedTextBox", "kind": 128, "kindString": "Class", @@ -7563,7 +7708,7 @@ }, "children": [ { - "id": 792, + "id": 803, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7572,14 +7717,14 @@ }, "signatures": [ { - "id": 793, + "id": 804, "name": "new MaskedTextBox", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 794, + "id": 805, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -7590,7 +7735,7 @@ } }, { - "id": 795, + "id": 806, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -7604,14 +7749,14 @@ "type": { "type": "reference", "name": "MaskedTextBox", - "id": 789, + "id": 800, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 790, + "id": 801, "name": "kDisableDates", "kind": 1024, "kindString": "Property", @@ -7624,7 +7769,7 @@ } }, { - "id": 791, + "id": 802, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -7637,7 +7782,7 @@ } }, { - "id": 799, + "id": 810, "name": "attached", "kind": 2048, "kindString": "Method", @@ -7646,7 +7791,7 @@ }, "signatures": [ { - "id": 800, + "id": 811, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -7659,7 +7804,7 @@ ] }, { - "id": 796, + "id": 807, "name": "bind", "kind": 2048, "kindString": "Method", @@ -7668,14 +7813,14 @@ }, "signatures": [ { - "id": 797, + "id": 808, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 798, + "id": 809, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -7694,7 +7839,7 @@ ] }, { - "id": 808, + "id": 819, "name": "detached", "kind": 2048, "kindString": "Method", @@ -7703,7 +7848,7 @@ }, "signatures": [ { - "id": 809, + "id": 820, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -7716,7 +7861,7 @@ ] }, { - "id": 803, + "id": 814, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -7725,14 +7870,14 @@ }, "signatures": [ { - "id": 804, + "id": 815, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 805, + "id": 816, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -7743,7 +7888,7 @@ } }, { - "id": 806, + "id": 817, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -7754,7 +7899,7 @@ } }, { - "id": 807, + "id": 818, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -7773,7 +7918,7 @@ ] }, { - "id": 801, + "id": 812, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -7782,7 +7927,7 @@ }, "signatures": [ { - "id": 802, + "id": 813, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -7800,32 +7945,32 @@ "title": "Constructors", "kind": 512, "children": [ - 792 + 803 ] }, { "title": "Properties", "kind": 1024, "children": [ - 790, - 791 + 801, + 802 ] }, { "title": "Methods", "kind": 2048, "children": [ - 799, - 796, - 808, - 803, - 801 + 810, + 807, + 819, + 814, + 812 ] } ] }, { - "id": 810, + "id": 821, "name": "Menu", "kind": 128, "kindString": "Class", @@ -7834,7 +7979,7 @@ }, "children": [ { - "id": 812, + "id": 823, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7843,14 +7988,14 @@ }, "signatures": [ { - "id": 813, + "id": 824, "name": "new Menu", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 814, + "id": 825, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -7861,7 +8006,7 @@ } }, { - "id": 815, + "id": 826, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -7875,14 +8020,14 @@ "type": { "type": "reference", "name": "Menu", - "id": 810, + "id": 821, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 811, + "id": 822, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -7895,7 +8040,7 @@ } }, { - "id": 819, + "id": 830, "name": "attached", "kind": 2048, "kindString": "Method", @@ -7904,7 +8049,7 @@ }, "signatures": [ { - "id": 820, + "id": 831, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -7917,7 +8062,7 @@ ] }, { - "id": 816, + "id": 827, "name": "bind", "kind": 2048, "kindString": "Method", @@ -7926,14 +8071,14 @@ }, "signatures": [ { - "id": 817, + "id": 828, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 818, + "id": 829, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -7952,7 +8097,7 @@ ] }, { - "id": 823, + "id": 834, "name": "detached", "kind": 2048, "kindString": "Method", @@ -7961,7 +8106,7 @@ }, "signatures": [ { - "id": 824, + "id": 835, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -7974,7 +8119,7 @@ ] }, { - "id": 821, + "id": 832, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -7983,7 +8128,7 @@ }, "signatures": [ { - "id": 822, + "id": 833, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -8001,30 +8146,30 @@ "title": "Constructors", "kind": 512, "children": [ - 812 + 823 ] }, { "title": "Properties", "kind": 1024, "children": [ - 811 + 822 ] }, { "title": "Methods", "kind": 2048, "children": [ - 819, - 816, - 823, - 821 + 830, + 827, + 834, + 832 ] } ] }, { - "id": 825, + "id": 836, "name": "Multiselect", "kind": 128, "kindString": "Class", @@ -8033,7 +8178,7 @@ }, "children": [ { - "id": 829, + "id": 840, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8042,14 +8187,14 @@ }, "signatures": [ { - "id": 830, + "id": 841, "name": "new Multiselect", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 831, + "id": 842, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -8060,7 +8205,7 @@ } }, { - "id": 832, + "id": 843, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -8071,7 +8216,7 @@ } }, { - "id": 833, + "id": 844, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -8085,14 +8230,14 @@ "type": { "type": "reference", "name": "Multiselect", - "id": 825, + "id": 836, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 827, + "id": 838, "name": "kNoValueBinding", "kind": 1024, "kindString": "Property", @@ -8105,7 +8250,7 @@ } }, { - "id": 826, + "id": 837, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -8118,7 +8263,7 @@ } }, { - "id": 828, + "id": 839, "name": "templates", "kind": 1024, "kindString": "Property", @@ -8131,7 +8276,7 @@ } }, { - "id": 837, + "id": 848, "name": "attached", "kind": 2048, "kindString": "Method", @@ -8140,7 +8285,7 @@ }, "signatures": [ { - "id": 838, + "id": 849, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -8153,7 +8298,7 @@ ] }, { - "id": 834, + "id": 845, "name": "bind", "kind": 2048, "kindString": "Method", @@ -8162,14 +8307,14 @@ }, "signatures": [ { - "id": 835, + "id": 846, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 836, + "id": 847, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -8188,7 +8333,7 @@ ] }, { - "id": 846, + "id": 857, "name": "detached", "kind": 2048, "kindString": "Method", @@ -8197,7 +8342,7 @@ }, "signatures": [ { - "id": 847, + "id": 858, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -8210,7 +8355,7 @@ ] }, { - "id": 841, + "id": 852, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -8219,14 +8364,14 @@ }, "signatures": [ { - "id": 842, + "id": 853, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 843, + "id": 854, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -8237,7 +8382,7 @@ } }, { - "id": 844, + "id": 855, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -8248,7 +8393,7 @@ } }, { - "id": 845, + "id": 856, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -8267,7 +8412,7 @@ ] }, { - "id": 839, + "id": 850, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -8276,7 +8421,7 @@ }, "signatures": [ { - "id": 840, + "id": 851, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -8294,33 +8439,33 @@ "title": "Constructors", "kind": 512, "children": [ - 829 + 840 ] }, { "title": "Properties", "kind": 1024, "children": [ - 827, - 826, - 828 + 838, + 837, + 839 ] }, { "title": "Methods", "kind": 2048, "children": [ - 837, - 834, - 846, - 841, - 839 + 848, + 845, + 857, + 852, + 850 ] } ] }, { - "id": 854, + "id": 865, "name": "Notification", "kind": 128, "kindString": "Class", @@ -8329,7 +8474,7 @@ }, "children": [ { - "id": 857, + "id": 868, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8338,14 +8483,14 @@ }, "signatures": [ { - "id": 858, + "id": 869, "name": "new Notification", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 859, + "id": 870, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -8356,7 +8501,7 @@ } }, { - "id": 860, + "id": 871, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -8367,7 +8512,7 @@ } }, { - "id": 861, + "id": 872, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -8381,14 +8526,14 @@ "type": { "type": "reference", "name": "Notification", - "id": 854, + "id": 865, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 855, + "id": 866, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -8401,7 +8546,7 @@ } }, { - "id": 856, + "id": 867, "name": "templates", "kind": 1024, "kindString": "Property", @@ -8414,7 +8559,7 @@ } }, { - "id": 865, + "id": 876, "name": "attached", "kind": 2048, "kindString": "Method", @@ -8423,7 +8568,7 @@ }, "signatures": [ { - "id": 866, + "id": 877, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -8436,7 +8581,7 @@ ] }, { - "id": 869, + "id": 880, "name": "beforeInitialize", "kind": 2048, "kindString": "Method", @@ -8445,14 +8590,14 @@ }, "signatures": [ { - "id": 870, + "id": 881, "name": "beforeInitialize", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 871, + "id": 882, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8471,7 +8616,7 @@ ] }, { - "id": 862, + "id": 873, "name": "bind", "kind": 2048, "kindString": "Method", @@ -8480,14 +8625,14 @@ }, "signatures": [ { - "id": 863, + "id": 874, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 864, + "id": 875, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -8506,7 +8651,7 @@ ] }, { - "id": 872, + "id": 883, "name": "detached", "kind": 2048, "kindString": "Method", @@ -8515,7 +8660,7 @@ }, "signatures": [ { - "id": 873, + "id": 884, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -8528,7 +8673,7 @@ ] }, { - "id": 867, + "id": 878, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -8537,7 +8682,7 @@ }, "signatures": [ { - "id": 868, + "id": 879, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -8555,32 +8700,32 @@ "title": "Constructors", "kind": 512, "children": [ - 857 + 868 ] }, { "title": "Properties", "kind": 1024, "children": [ - 855, - 856 + 866, + 867 ] }, { "title": "Methods", "kind": 2048, "children": [ - 865, - 869, - 862, - 872, - 867 + 876, + 880, + 873, + 883, + 878 ] } ] }, { - "id": 848, + "id": 859, "name": "NotificationTemplate", "kind": 128, "kindString": "Class", @@ -8589,7 +8734,7 @@ }, "children": [ { - "id": 851, + "id": 862, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8598,14 +8743,14 @@ }, "signatures": [ { - "id": 852, + "id": 863, "name": "new NotificationTemplate", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 853, + "id": 864, "name": "targetInstruction", "kind": 32768, "kindString": "Parameter", @@ -8619,14 +8764,14 @@ "type": { "type": "reference", "name": "NotificationTemplate", - "id": 848, + "id": 859, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 849, + "id": 860, "name": "template", "kind": 1024, "kindString": "Property", @@ -8639,7 +8784,7 @@ } }, { - "id": 850, + "id": 861, "name": "type", "kind": 1024, "kindString": "Property", @@ -8657,21 +8802,21 @@ "title": "Constructors", "kind": 512, "children": [ - 851 + 862 ] }, { "title": "Properties", "kind": 1024, "children": [ - 849, - 850 + 860, + 861 ] } ] }, { - "id": 874, + "id": 885, "name": "NumericTextBox", "kind": 128, "kindString": "Class", @@ -8680,7 +8825,7 @@ }, "children": [ { - "id": 876, + "id": 887, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8689,14 +8834,14 @@ }, "signatures": [ { - "id": 877, + "id": 888, "name": "new NumericTextBox", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 878, + "id": 889, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -8707,7 +8852,7 @@ } }, { - "id": 879, + "id": 890, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -8721,14 +8866,14 @@ "type": { "type": "reference", "name": "NumericTextBox", - "id": 874, + "id": 885, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 875, + "id": 886, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -8741,7 +8886,7 @@ } }, { - "id": 883, + "id": 894, "name": "attached", "kind": 2048, "kindString": "Method", @@ -8750,7 +8895,7 @@ }, "signatures": [ { - "id": 884, + "id": 895, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -8763,7 +8908,7 @@ ] }, { - "id": 880, + "id": 891, "name": "bind", "kind": 2048, "kindString": "Method", @@ -8772,14 +8917,14 @@ }, "signatures": [ { - "id": 881, + "id": 892, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 882, + "id": 893, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -8798,7 +8943,7 @@ ] }, { - "id": 892, + "id": 903, "name": "detached", "kind": 2048, "kindString": "Method", @@ -8807,7 +8952,7 @@ }, "signatures": [ { - "id": 893, + "id": 904, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -8820,7 +8965,7 @@ ] }, { - "id": 887, + "id": 898, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -8829,14 +8974,14 @@ }, "signatures": [ { - "id": 888, + "id": 899, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 889, + "id": 900, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -8847,7 +8992,7 @@ } }, { - "id": 890, + "id": 901, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -8858,7 +9003,7 @@ } }, { - "id": 891, + "id": 902, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -8877,7 +9022,7 @@ ] }, { - "id": 885, + "id": 896, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -8886,7 +9031,7 @@ }, "signatures": [ { - "id": 886, + "id": 897, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -8904,25 +9049,25 @@ "title": "Constructors", "kind": 512, "children": [ - 876 + 887 ] }, { "title": "Properties", "kind": 1024, "children": [ - 875 + 886 ] }, { "title": "Methods", "kind": 2048, "children": [ - 883, - 880, - 892, - 887, - 885 + 894, + 891, + 903, + 898, + 896 ] } ] @@ -9059,7 +9204,7 @@ ] }, { - "id": 942, + "id": 920, "name": "PDF", "kind": 128, "kindString": "Class", @@ -9068,7 +9213,7 @@ } }, { - "id": 894, + "id": 905, "name": "PanelBar", "kind": 128, "kindString": "Class", @@ -9077,7 +9222,7 @@ }, "children": [ { - "id": 896, + "id": 907, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9086,14 +9231,14 @@ }, "signatures": [ { - "id": 897, + "id": 908, "name": "new PanelBar", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 898, + "id": 909, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -9104,7 +9249,7 @@ } }, { - "id": 899, + "id": 910, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -9118,14 +9263,14 @@ "type": { "type": "reference", "name": "PanelBar", - "id": 894, + "id": 905, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 895, + "id": 906, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -9138,7 +9283,7 @@ } }, { - "id": 903, + "id": 914, "name": "attached", "kind": 2048, "kindString": "Method", @@ -9147,7 +9292,7 @@ }, "signatures": [ { - "id": 904, + "id": 915, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -9160,7 +9305,7 @@ ] }, { - "id": 900, + "id": 911, "name": "bind", "kind": 2048, "kindString": "Method", @@ -9169,14 +9314,14 @@ }, "signatures": [ { - "id": 901, + "id": 912, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 902, + "id": 913, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -9195,7 +9340,7 @@ ] }, { - "id": 907, + "id": 918, "name": "detached", "kind": 2048, "kindString": "Method", @@ -9204,7 +9349,7 @@ }, "signatures": [ { - "id": 908, + "id": 919, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -9217,7 +9362,7 @@ ] }, { - "id": 905, + "id": 916, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -9226,7 +9371,7 @@ }, "signatures": [ { - "id": 906, + "id": 917, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -9244,30 +9389,30 @@ "title": "Constructors", "kind": 512, "children": [ - 896 + 907 ] }, { "title": "Properties", "kind": 1024, "children": [ - 895 + 906 ] }, { "title": "Methods", "kind": 2048, "children": [ - 903, - 900, - 907, - 905 + 914, + 911, + 918, + 916 ] } ] }, { - "id": 909, + "id": 921, "name": "PivotConfigurator", "kind": 128, "kindString": "Class", @@ -9276,7 +9421,7 @@ }, "children": [ { - "id": 911, + "id": 923, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9285,14 +9430,14 @@ }, "signatures": [ { - "id": 912, + "id": 924, "name": "new PivotConfigurator", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 913, + "id": 925, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -9303,7 +9448,7 @@ } }, { - "id": 914, + "id": 926, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -9314,7 +9459,7 @@ } }, { - "id": 915, + "id": 927, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -9328,14 +9473,14 @@ "type": { "type": "reference", "name": "PivotConfigurator", - "id": 909, + "id": 921, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 910, + "id": 922, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -9348,7 +9493,7 @@ } }, { - "id": 919, + "id": 931, "name": "attached", "kind": 2048, "kindString": "Method", @@ -9357,7 +9502,7 @@ }, "signatures": [ { - "id": 920, + "id": 932, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -9370,7 +9515,7 @@ ] }, { - "id": 916, + "id": 928, "name": "bind", "kind": 2048, "kindString": "Method", @@ -9379,14 +9524,14 @@ }, "signatures": [ { - "id": 917, + "id": 929, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 918, + "id": 930, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -9405,7 +9550,7 @@ ] }, { - "id": 923, + "id": 935, "name": "detached", "kind": 2048, "kindString": "Method", @@ -9414,7 +9559,7 @@ }, "signatures": [ { - "id": 924, + "id": 936, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -9427,7 +9572,7 @@ ] }, { - "id": 921, + "id": 933, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -9436,7 +9581,7 @@ }, "signatures": [ { - "id": 922, + "id": 934, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -9454,30 +9599,30 @@ "title": "Constructors", "kind": 512, "children": [ - 911 + 923 ] }, { "title": "Properties", "kind": 1024, "children": [ - 910 + 922 ] }, { "title": "Methods", "kind": 2048, "children": [ - 919, - 916, - 923, - 921 + 931, + 928, + 935, + 933 ] } ] }, { - "id": 925, + "id": 937, "name": "PivotGrid", "kind": 128, "kindString": "Class", @@ -9486,7 +9631,7 @@ }, "children": [ { - "id": 928, + "id": 940, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9495,14 +9640,14 @@ }, "signatures": [ { - "id": 929, + "id": 941, "name": "new PivotGrid", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 930, + "id": 942, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -9513,7 +9658,7 @@ } }, { - "id": 931, + "id": 943, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -9524,7 +9669,7 @@ } }, { - "id": 932, + "id": 944, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -9538,14 +9683,14 @@ "type": { "type": "reference", "name": "PivotGrid", - "id": 925, + "id": 937, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 926, + "id": 938, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -9558,7 +9703,7 @@ } }, { - "id": 927, + "id": 939, "name": "templates", "kind": 1024, "kindString": "Property", @@ -9571,7 +9716,7 @@ } }, { - "id": 936, + "id": 948, "name": "attached", "kind": 2048, "kindString": "Method", @@ -9580,7 +9725,7 @@ }, "signatures": [ { - "id": 937, + "id": 949, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -9593,7 +9738,7 @@ ] }, { - "id": 933, + "id": 945, "name": "bind", "kind": 2048, "kindString": "Method", @@ -9602,14 +9747,14 @@ }, "signatures": [ { - "id": 934, + "id": 946, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 935, + "id": 947, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -9628,7 +9773,7 @@ ] }, { - "id": 940, + "id": 952, "name": "detached", "kind": 2048, "kindString": "Method", @@ -9637,7 +9782,7 @@ }, "signatures": [ { - "id": 941, + "id": 953, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -9650,7 +9795,7 @@ ] }, { - "id": 938, + "id": 950, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -9659,7 +9804,7 @@ }, "signatures": [ { - "id": 939, + "id": 951, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -9677,31 +9822,31 @@ "title": "Constructors", "kind": 512, "children": [ - 928 + 940 ] }, { "title": "Properties", "kind": 1024, "children": [ - 926, - 927 + 938, + 939 ] }, { "title": "Methods", "kind": 2048, "children": [ - 936, - 933, - 940, - 938 + 948, + 945, + 952, + 950 ] } ] }, { - "id": 943, + "id": 954, "name": "ProgressBar", "kind": 128, "kindString": "Class", @@ -9710,7 +9855,7 @@ }, "children": [ { - "id": 945, + "id": 956, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9719,14 +9864,14 @@ }, "signatures": [ { - "id": 946, + "id": 957, "name": "new ProgressBar", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 947, + "id": 958, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -9737,7 +9882,7 @@ } }, { - "id": 948, + "id": 959, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -9751,14 +9896,14 @@ "type": { "type": "reference", "name": "ProgressBar", - "id": 943, + "id": 954, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 944, + "id": 955, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -9771,7 +9916,7 @@ } }, { - "id": 952, + "id": 963, "name": "attached", "kind": 2048, "kindString": "Method", @@ -9780,7 +9925,7 @@ }, "signatures": [ { - "id": 953, + "id": 964, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -9793,7 +9938,7 @@ ] }, { - "id": 949, + "id": 960, "name": "bind", "kind": 2048, "kindString": "Method", @@ -9802,14 +9947,14 @@ }, "signatures": [ { - "id": 950, + "id": 961, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 951, + "id": 962, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -9828,7 +9973,7 @@ ] }, { - "id": 956, + "id": 967, "name": "detached", "kind": 2048, "kindString": "Method", @@ -9837,7 +9982,7 @@ }, "signatures": [ { - "id": 957, + "id": 968, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -9850,7 +9995,7 @@ ] }, { - "id": 954, + "id": 965, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -9859,7 +10004,7 @@ }, "signatures": [ { - "id": 955, + "id": 966, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -9877,30 +10022,30 @@ "title": "Constructors", "kind": 512, "children": [ - 945 + 956 ] }, { "title": "Properties", "kind": 1024, "children": [ - 944 + 955 ] }, { "title": "Methods", "kind": 2048, "children": [ - 952, - 949, - 956, - 954 + 963, + 960, + 967, + 965 ] } ] }, { - "id": 958, + "id": 969, "name": "QRCode", "kind": 128, "kindString": "Class", @@ -9909,7 +10054,7 @@ }, "children": [ { - "id": 960, + "id": 971, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9918,14 +10063,14 @@ }, "signatures": [ { - "id": 961, + "id": 972, "name": "new QRCode", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 962, + "id": 973, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -9936,7 +10081,7 @@ } }, { - "id": 963, + "id": 974, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -9950,14 +10095,14 @@ "type": { "type": "reference", "name": "QRCode", - "id": 958, + "id": 969, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 959, + "id": 970, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -9970,7 +10115,7 @@ } }, { - "id": 967, + "id": 978, "name": "attached", "kind": 2048, "kindString": "Method", @@ -9979,7 +10124,7 @@ }, "signatures": [ { - "id": 968, + "id": 979, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -9992,7 +10137,7 @@ ] }, { - "id": 964, + "id": 975, "name": "bind", "kind": 2048, "kindString": "Method", @@ -10001,14 +10146,14 @@ }, "signatures": [ { - "id": 965, + "id": 976, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 966, + "id": 977, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -10027,7 +10172,7 @@ ] }, { - "id": 971, + "id": 982, "name": "detached", "kind": 2048, "kindString": "Method", @@ -10036,7 +10181,7 @@ }, "signatures": [ { - "id": 972, + "id": 983, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -10049,7 +10194,7 @@ ] }, { - "id": 969, + "id": 980, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -10058,7 +10203,7 @@ }, "signatures": [ { - "id": 970, + "id": 981, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -10076,30 +10221,30 @@ "title": "Constructors", "kind": 512, "children": [ - 960 + 971 ] }, { "title": "Properties", "kind": 1024, "children": [ - 959 + 970 ] }, { "title": "Methods", "kind": 2048, "children": [ - 967, - 964, - 971, - 969 + 978, + 975, + 982, + 980 ] } ] }, { - "id": 706, + "id": 707, "name": "RadialGauge", "kind": 128, "kindString": "Class", @@ -10108,7 +10253,7 @@ }, "children": [ { - "id": 708, + "id": 709, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10117,14 +10262,14 @@ }, "signatures": [ { - "id": 709, + "id": 710, "name": "new RadialGauge", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 710, + "id": 711, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -10135,7 +10280,7 @@ } }, { - "id": 711, + "id": 712, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -10146,7 +10291,7 @@ } }, { - "id": 712, + "id": 713, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -10160,14 +10305,14 @@ "type": { "type": "reference", "name": "RadialGauge", - "id": 706, + "id": 707, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 707, + "id": 708, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -10180,7 +10325,7 @@ } }, { - "id": 716, + "id": 717, "name": "attached", "kind": 2048, "kindString": "Method", @@ -10189,7 +10334,7 @@ }, "signatures": [ { - "id": 717, + "id": 718, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -10202,7 +10347,7 @@ ] }, { - "id": 713, + "id": 714, "name": "bind", "kind": 2048, "kindString": "Method", @@ -10211,14 +10356,14 @@ }, "signatures": [ { - "id": 714, + "id": 715, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 715, + "id": 716, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -10237,7 +10382,7 @@ ] }, { - "id": 725, + "id": 726, "name": "detached", "kind": 2048, "kindString": "Method", @@ -10246,7 +10391,7 @@ }, "signatures": [ { - "id": 726, + "id": 727, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -10259,7 +10404,7 @@ ] }, { - "id": 720, + "id": 721, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -10268,14 +10413,14 @@ }, "signatures": [ { - "id": 721, + "id": 722, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 722, + "id": 723, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -10286,7 +10431,7 @@ } }, { - "id": 723, + "id": 724, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -10297,7 +10442,7 @@ } }, { - "id": 724, + "id": 725, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -10316,7 +10461,7 @@ ] }, { - "id": 718, + "id": 719, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -10325,7 +10470,7 @@ }, "signatures": [ { - "id": 719, + "id": 720, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -10343,31 +10488,31 @@ "title": "Constructors", "kind": 512, "children": [ - 708 + 709 ] }, { "title": "Properties", "kind": 1024, "children": [ - 707 + 708 ] }, { "title": "Methods", "kind": 2048, "children": [ - 716, - 713, - 725, - 720, - 718 + 717, + 714, + 726, + 721, + 719 ] } ] }, { - "id": 973, + "id": 984, "name": "RangeSlider", "kind": 128, "kindString": "Class", @@ -10376,7 +10521,7 @@ }, "children": [ { - "id": 975, + "id": 986, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10385,14 +10530,14 @@ }, "signatures": [ { - "id": 976, + "id": 987, "name": "new RangeSlider", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 977, + "id": 988, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -10403,7 +10548,7 @@ } }, { - "id": 978, + "id": 989, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -10417,14 +10562,14 @@ "type": { "type": "reference", "name": "RangeSlider", - "id": 973, + "id": 984, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 974, + "id": 985, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -10437,7 +10582,7 @@ } }, { - "id": 982, + "id": 993, "name": "attached", "kind": 2048, "kindString": "Method", @@ -10446,7 +10591,7 @@ }, "signatures": [ { - "id": 983, + "id": 994, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -10459,7 +10604,7 @@ ] }, { - "id": 979, + "id": 990, "name": "bind", "kind": 2048, "kindString": "Method", @@ -10468,14 +10613,14 @@ }, "signatures": [ { - "id": 980, + "id": 991, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 981, + "id": 992, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -10494,7 +10639,7 @@ ] }, { - "id": 991, + "id": 1002, "name": "detached", "kind": 2048, "kindString": "Method", @@ -10503,7 +10648,7 @@ }, "signatures": [ { - "id": 992, + "id": 1003, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -10516,7 +10661,7 @@ ] }, { - "id": 986, + "id": 997, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -10525,14 +10670,14 @@ }, "signatures": [ { - "id": 987, + "id": 998, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 988, + "id": 999, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -10543,7 +10688,7 @@ } }, { - "id": 989, + "id": 1000, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -10554,7 +10699,7 @@ } }, { - "id": 990, + "id": 1001, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -10573,7 +10718,7 @@ ] }, { - "id": 984, + "id": 995, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -10582,7 +10727,7 @@ }, "signatures": [ { - "id": 985, + "id": 996, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -10600,31 +10745,31 @@ "title": "Constructors", "kind": 512, "children": [ - 975 + 986 ] }, { "title": "Properties", "kind": 1024, "children": [ - 974 + 985 ] }, { "title": "Methods", "kind": 2048, "children": [ - 982, - 979, - 991, - 986, - 984 + 993, + 990, + 1002, + 997, + 995 ] } ] }, { - "id": 993, + "id": 1004, "name": "ResponsivePanel", "kind": 128, "kindString": "Class", @@ -10633,7 +10778,7 @@ }, "children": [ { - "id": 995, + "id": 1006, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10642,14 +10787,14 @@ }, "signatures": [ { - "id": 996, + "id": 1007, "name": "new ResponsivePanel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 997, + "id": 1008, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -10660,7 +10805,7 @@ } }, { - "id": 998, + "id": 1009, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -10674,14 +10819,14 @@ "type": { "type": "reference", "name": "ResponsivePanel", - "id": 993, + "id": 1004, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 994, + "id": 1005, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -10694,7 +10839,7 @@ } }, { - "id": 1002, + "id": 1013, "name": "attached", "kind": 2048, "kindString": "Method", @@ -10703,7 +10848,7 @@ }, "signatures": [ { - "id": 1003, + "id": 1014, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -10716,7 +10861,7 @@ ] }, { - "id": 999, + "id": 1010, "name": "bind", "kind": 2048, "kindString": "Method", @@ -10725,14 +10870,14 @@ }, "signatures": [ { - "id": 1000, + "id": 1011, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1001, + "id": 1012, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -10751,7 +10896,7 @@ ] }, { - "id": 1006, + "id": 1017, "name": "detached", "kind": 2048, "kindString": "Method", @@ -10760,7 +10905,7 @@ }, "signatures": [ { - "id": 1007, + "id": 1018, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -10773,7 +10918,7 @@ ] }, { - "id": 1004, + "id": 1015, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -10782,7 +10927,7 @@ }, "signatures": [ { - "id": 1005, + "id": 1016, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -10800,30 +10945,30 @@ "title": "Constructors", "kind": 512, "children": [ - 995 + 1006 ] }, { "title": "Properties", "kind": 1024, "children": [ - 994 + 1005 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1002, - 999, - 1006, - 1004 + 1013, + 1010, + 1017, + 1015 ] } ] }, { - "id": 1008, + "id": 1019, "name": "Scheduler", "kind": 128, "kindString": "Class", @@ -10832,7 +10977,7 @@ }, "children": [ { - "id": 1011, + "id": 1022, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10841,14 +10986,14 @@ }, "signatures": [ { - "id": 1012, + "id": 1023, "name": "new Scheduler", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1013, + "id": 1024, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -10859,7 +11004,7 @@ } }, { - "id": 1014, + "id": 1025, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -10870,7 +11015,7 @@ } }, { - "id": 1015, + "id": 1026, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -10884,14 +11029,14 @@ "type": { "type": "reference", "name": "Scheduler", - "id": 1008, + "id": 1019, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1009, + "id": 1020, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -10904,7 +11049,7 @@ } }, { - "id": 1010, + "id": 1021, "name": "templates", "kind": 1024, "kindString": "Property", @@ -10917,7 +11062,7 @@ } }, { - "id": 1019, + "id": 1030, "name": "attached", "kind": 2048, "kindString": "Method", @@ -10926,7 +11071,7 @@ }, "signatures": [ { - "id": 1020, + "id": 1031, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -10939,7 +11084,7 @@ ] }, { - "id": 1016, + "id": 1027, "name": "bind", "kind": 2048, "kindString": "Method", @@ -10948,14 +11093,14 @@ }, "signatures": [ { - "id": 1017, + "id": 1028, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1018, + "id": 1029, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -10974,7 +11119,7 @@ ] }, { - "id": 1023, + "id": 1034, "name": "detached", "kind": 2048, "kindString": "Method", @@ -10983,7 +11128,7 @@ }, "signatures": [ { - "id": 1024, + "id": 1035, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -10996,7 +11141,7 @@ ] }, { - "id": 1021, + "id": 1032, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -11005,7 +11150,7 @@ }, "signatures": [ { - "id": 1022, + "id": 1033, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -11023,31 +11168,31 @@ "title": "Constructors", "kind": 512, "children": [ - 1011 + 1022 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1009, - 1010 + 1020, + 1021 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1019, - 1016, - 1023, - 1021 + 1030, + 1027, + 1034, + 1032 ] } ] }, { - "id": 1025, + "id": 1036, "name": "Scrollview", "kind": 128, "kindString": "Class", @@ -11056,7 +11201,7 @@ }, "children": [ { - "id": 1028, + "id": 1039, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11065,14 +11210,14 @@ }, "signatures": [ { - "id": 1029, + "id": 1040, "name": "new Scrollview", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1030, + "id": 1041, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -11083,7 +11228,7 @@ } }, { - "id": 1031, + "id": 1042, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -11094,7 +11239,7 @@ } }, { - "id": 1032, + "id": 1043, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -11108,14 +11253,14 @@ "type": { "type": "reference", "name": "Scrollview", - "id": 1025, + "id": 1036, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1026, + "id": 1037, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -11128,7 +11273,7 @@ } }, { - "id": 1027, + "id": 1038, "name": "templates", "kind": 1024, "kindString": "Property", @@ -11141,7 +11286,7 @@ } }, { - "id": 1036, + "id": 1047, "name": "attached", "kind": 2048, "kindString": "Method", @@ -11150,7 +11295,7 @@ }, "signatures": [ { - "id": 1037, + "id": 1048, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -11163,7 +11308,7 @@ ] }, { - "id": 1033, + "id": 1044, "name": "bind", "kind": 2048, "kindString": "Method", @@ -11172,14 +11317,14 @@ }, "signatures": [ { - "id": 1034, + "id": 1045, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1035, + "id": 1046, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -11198,7 +11343,7 @@ ] }, { - "id": 1040, + "id": 1051, "name": "detached", "kind": 2048, "kindString": "Method", @@ -11207,7 +11352,7 @@ }, "signatures": [ { - "id": 1041, + "id": 1052, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -11220,7 +11365,7 @@ ] }, { - "id": 1038, + "id": 1049, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -11229,7 +11374,7 @@ }, "signatures": [ { - "id": 1039, + "id": 1050, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -11247,31 +11392,31 @@ "title": "Constructors", "kind": 512, "children": [ - 1028 + 1039 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1026, - 1027 + 1037, + 1038 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1036, - 1033, - 1040, - 1038 + 1047, + 1044, + 1051, + 1049 ] } ] }, { - "id": 1042, + "id": 1053, "name": "Slider", "kind": 128, "kindString": "Class", @@ -11280,7 +11425,7 @@ }, "children": [ { - "id": 1044, + "id": 1055, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11289,14 +11434,14 @@ }, "signatures": [ { - "id": 1045, + "id": 1056, "name": "new Slider", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1046, + "id": 1057, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -11307,7 +11452,7 @@ } }, { - "id": 1047, + "id": 1058, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -11321,14 +11466,14 @@ "type": { "type": "reference", "name": "Slider", - "id": 1042, + "id": 1053, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1043, + "id": 1054, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -11341,7 +11486,7 @@ } }, { - "id": 1051, + "id": 1062, "name": "attached", "kind": 2048, "kindString": "Method", @@ -11350,7 +11495,7 @@ }, "signatures": [ { - "id": 1052, + "id": 1063, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -11363,7 +11508,7 @@ ] }, { - "id": 1048, + "id": 1059, "name": "bind", "kind": 2048, "kindString": "Method", @@ -11372,14 +11517,14 @@ }, "signatures": [ { - "id": 1049, + "id": 1060, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1050, + "id": 1061, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -11398,7 +11543,7 @@ ] }, { - "id": 1060, + "id": 1071, "name": "detached", "kind": 2048, "kindString": "Method", @@ -11407,7 +11552,7 @@ }, "signatures": [ { - "id": 1061, + "id": 1072, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -11420,7 +11565,7 @@ ] }, { - "id": 1055, + "id": 1066, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -11429,14 +11574,14 @@ }, "signatures": [ { - "id": 1056, + "id": 1067, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1057, + "id": 1068, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -11447,7 +11592,7 @@ } }, { - "id": 1058, + "id": 1069, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -11458,7 +11603,7 @@ } }, { - "id": 1059, + "id": 1070, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -11477,7 +11622,7 @@ ] }, { - "id": 1053, + "id": 1064, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -11486,7 +11631,7 @@ }, "signatures": [ { - "id": 1054, + "id": 1065, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -11504,31 +11649,31 @@ "title": "Constructors", "kind": 512, "children": [ - 1044 + 1055 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1043 + 1054 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1051, - 1048, - 1060, - 1055, - 1053 + 1062, + 1059, + 1071, + 1066, + 1064 ] } ] }, { - "id": 1062, + "id": 1073, "name": "Sortable", "kind": 128, "kindString": "Class", @@ -11537,7 +11682,7 @@ }, "children": [ { - "id": 1064, + "id": 1075, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11546,14 +11691,14 @@ }, "signatures": [ { - "id": 1065, + "id": 1076, "name": "new Sortable", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1066, + "id": 1077, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -11564,7 +11709,7 @@ } }, { - "id": 1067, + "id": 1078, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -11578,14 +11723,14 @@ "type": { "type": "reference", "name": "Sortable", - "id": 1062, + "id": 1073, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1063, + "id": 1074, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -11598,7 +11743,7 @@ } }, { - "id": 1071, + "id": 1082, "name": "attached", "kind": 2048, "kindString": "Method", @@ -11607,7 +11752,7 @@ }, "signatures": [ { - "id": 1072, + "id": 1083, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -11620,7 +11765,7 @@ ] }, { - "id": 1068, + "id": 1079, "name": "bind", "kind": 2048, "kindString": "Method", @@ -11629,14 +11774,14 @@ }, "signatures": [ { - "id": 1069, + "id": 1080, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1070, + "id": 1081, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -11655,7 +11800,7 @@ ] }, { - "id": 1075, + "id": 1086, "name": "detached", "kind": 2048, "kindString": "Method", @@ -11664,7 +11809,7 @@ }, "signatures": [ { - "id": 1076, + "id": 1087, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -11677,7 +11822,7 @@ ] }, { - "id": 1073, + "id": 1084, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -11686,7 +11831,7 @@ }, "signatures": [ { - "id": 1074, + "id": 1085, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -11704,24 +11849,24 @@ "title": "Constructors", "kind": 512, "children": [ - 1064 + 1075 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1063 + 1074 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1071, - 1068, - 1075, - 1073 + 1082, + 1079, + 1086, + 1084 ] } ] @@ -11926,7 +12071,7 @@ ] }, { - "id": 1077, + "id": 1088, "name": "Splitter", "kind": 128, "kindString": "Class", @@ -11935,7 +12080,7 @@ }, "children": [ { - "id": 1079, + "id": 1090, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11944,14 +12089,14 @@ }, "signatures": [ { - "id": 1080, + "id": 1091, "name": "new Splitter", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1081, + "id": 1092, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -11962,7 +12107,7 @@ } }, { - "id": 1082, + "id": 1093, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -11976,14 +12121,14 @@ "type": { "type": "reference", "name": "Splitter", - "id": 1077, + "id": 1088, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1078, + "id": 1089, "name": "options", "kind": 1024, "kindString": "Property", @@ -11996,7 +12141,7 @@ } }, { - "id": 1086, + "id": 1097, "name": "attached", "kind": 2048, "kindString": "Method", @@ -12005,7 +12150,7 @@ }, "signatures": [ { - "id": 1087, + "id": 1098, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -12018,7 +12163,7 @@ ] }, { - "id": 1083, + "id": 1094, "name": "bind", "kind": 2048, "kindString": "Method", @@ -12027,14 +12172,14 @@ }, "signatures": [ { - "id": 1084, + "id": 1095, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1085, + "id": 1096, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -12053,7 +12198,7 @@ ] }, { - "id": 1090, + "id": 1101, "name": "detached", "kind": 2048, "kindString": "Method", @@ -12062,7 +12207,7 @@ }, "signatures": [ { - "id": 1091, + "id": 1102, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -12075,7 +12220,7 @@ ] }, { - "id": 1088, + "id": 1099, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -12084,7 +12229,7 @@ }, "signatures": [ { - "id": 1089, + "id": 1100, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -12102,30 +12247,30 @@ "title": "Constructors", "kind": 512, "children": [ - 1079 + 1090 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1078 + 1089 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1086, - 1083, - 1090, - 1088 + 1097, + 1094, + 1101, + 1099 ] } ] }, { - "id": 1092, + "id": 1103, "name": "Spreadsheet", "kind": 128, "kindString": "Class", @@ -12134,7 +12279,7 @@ }, "children": [ { - "id": 1094, + "id": 1105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12143,14 +12288,14 @@ }, "signatures": [ { - "id": 1095, + "id": 1106, "name": "new Spreadsheet", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1096, + "id": 1107, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -12161,7 +12306,7 @@ } }, { - "id": 1097, + "id": 1108, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -12175,14 +12320,14 @@ "type": { "type": "reference", "name": "Spreadsheet", - "id": 1092, + "id": 1103, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1093, + "id": 1104, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -12195,7 +12340,7 @@ } }, { - "id": 1101, + "id": 1112, "name": "attached", "kind": 2048, "kindString": "Method", @@ -12204,7 +12349,7 @@ }, "signatures": [ { - "id": 1102, + "id": 1113, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -12217,7 +12362,7 @@ ] }, { - "id": 1098, + "id": 1109, "name": "bind", "kind": 2048, "kindString": "Method", @@ -12226,14 +12371,14 @@ }, "signatures": [ { - "id": 1099, + "id": 1110, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1100, + "id": 1111, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -12252,7 +12397,7 @@ ] }, { - "id": 1105, + "id": 1116, "name": "detached", "kind": 2048, "kindString": "Method", @@ -12261,7 +12406,7 @@ }, "signatures": [ { - "id": 1106, + "id": 1117, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -12274,7 +12419,7 @@ ] }, { - "id": 1103, + "id": 1114, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -12283,7 +12428,7 @@ }, "signatures": [ { - "id": 1104, + "id": 1115, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -12301,24 +12446,24 @@ "title": "Constructors", "kind": 512, "children": [ - 1094 + 1105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1093 + 1104 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1101, - 1098, - 1105, - 1103 + 1112, + 1109, + 1116, + 1114 ] } ] @@ -12523,7 +12668,7 @@ ] }, { - "id": 1107, + "id": 1118, "name": "Switch", "kind": 128, "kindString": "Class", @@ -12532,7 +12677,7 @@ }, "children": [ { - "id": 1109, + "id": 1120, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12541,14 +12686,14 @@ }, "signatures": [ { - "id": 1110, + "id": 1121, "name": "new Switch", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1111, + "id": 1122, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -12559,7 +12704,7 @@ } }, { - "id": 1112, + "id": 1123, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -12573,14 +12718,14 @@ "type": { "type": "reference", "name": "Switch", - "id": 1107, + "id": 1118, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1108, + "id": 1119, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -12593,7 +12738,7 @@ } }, { - "id": 1116, + "id": 1127, "name": "attached", "kind": 2048, "kindString": "Method", @@ -12602,7 +12747,7 @@ }, "signatures": [ { - "id": 1117, + "id": 1128, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -12615,7 +12760,7 @@ ] }, { - "id": 1113, + "id": 1124, "name": "bind", "kind": 2048, "kindString": "Method", @@ -12624,14 +12769,14 @@ }, "signatures": [ { - "id": 1114, + "id": 1125, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1115, + "id": 1126, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -12650,7 +12795,7 @@ ] }, { - "id": 1125, + "id": 1136, "name": "detached", "kind": 2048, "kindString": "Method", @@ -12659,7 +12804,7 @@ }, "signatures": [ { - "id": 1126, + "id": 1137, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -12672,7 +12817,7 @@ ] }, { - "id": 1120, + "id": 1131, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -12681,14 +12826,14 @@ }, "signatures": [ { - "id": 1121, + "id": 1132, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1122, + "id": 1133, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -12699,7 +12844,7 @@ } }, { - "id": 1123, + "id": 1134, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -12710,7 +12855,7 @@ } }, { - "id": 1124, + "id": 1135, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -12729,7 +12874,7 @@ ] }, { - "id": 1118, + "id": 1129, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -12738,7 +12883,7 @@ }, "signatures": [ { - "id": 1119, + "id": 1130, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -12756,31 +12901,31 @@ "title": "Constructors", "kind": 512, "children": [ - 1109 + 1120 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1108 + 1119 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1116, - 1113, - 1125, - 1120, - 1118 + 1127, + 1124, + 1136, + 1131, + 1129 ] } ] }, { - "id": 1127, + "id": 1138, "name": "TabStrip", "kind": 128, "kindString": "Class", @@ -12789,7 +12934,7 @@ }, "children": [ { - "id": 1129, + "id": 1140, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12798,14 +12943,14 @@ }, "signatures": [ { - "id": 1130, + "id": 1141, "name": "new TabStrip", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1131, + "id": 1142, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -12816,7 +12961,7 @@ } }, { - "id": 1132, + "id": 1143, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -12830,14 +12975,14 @@ "type": { "type": "reference", "name": "TabStrip", - "id": 1127, + "id": 1138, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1128, + "id": 1139, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -12850,7 +12995,7 @@ } }, { - "id": 1136, + "id": 1147, "name": "attached", "kind": 2048, "kindString": "Method", @@ -12859,7 +13004,7 @@ }, "signatures": [ { - "id": 1137, + "id": 1148, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -12872,7 +13017,7 @@ ] }, { - "id": 1133, + "id": 1144, "name": "bind", "kind": 2048, "kindString": "Method", @@ -12881,14 +13026,14 @@ }, "signatures": [ { - "id": 1134, + "id": 1145, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1135, + "id": 1146, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -12907,7 +13052,7 @@ ] }, { - "id": 1140, + "id": 1151, "name": "detached", "kind": 2048, "kindString": "Method", @@ -12916,7 +13061,7 @@ }, "signatures": [ { - "id": 1141, + "id": 1152, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -12929,7 +13074,7 @@ ] }, { - "id": 1138, + "id": 1149, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -12938,7 +13083,7 @@ }, "signatures": [ { - "id": 1139, + "id": 1150, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -12956,24 +13101,24 @@ "title": "Constructors", "kind": 512, "children": [ - 1129 + 1140 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1128 + 1139 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1136, - 1133, - 1140, - 1138 + 1147, + 1144, + 1151, + 1149 ] } ] @@ -13680,7 +13825,7 @@ ] }, { - "id": 1142, + "id": 1153, "name": "TimePicker", "kind": 128, "kindString": "Class", @@ -13689,7 +13834,7 @@ }, "children": [ { - "id": 1145, + "id": 1156, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -13698,14 +13843,14 @@ }, "signatures": [ { - "id": 1146, + "id": 1157, "name": "new TimePicker", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1147, + "id": 1158, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -13716,7 +13861,7 @@ } }, { - "id": 1148, + "id": 1159, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -13730,14 +13875,14 @@ "type": { "type": "reference", "name": "TimePicker", - "id": 1142, + "id": 1153, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1143, + "id": 1154, "name": "kDisableDates", "kind": 1024, "kindString": "Property", @@ -13750,7 +13895,7 @@ } }, { - "id": 1144, + "id": 1155, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -13763,7 +13908,7 @@ } }, { - "id": 1152, + "id": 1163, "name": "attached", "kind": 2048, "kindString": "Method", @@ -13772,7 +13917,7 @@ }, "signatures": [ { - "id": 1153, + "id": 1164, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -13785,7 +13930,7 @@ ] }, { - "id": 1149, + "id": 1160, "name": "bind", "kind": 2048, "kindString": "Method", @@ -13794,14 +13939,14 @@ }, "signatures": [ { - "id": 1150, + "id": 1161, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1151, + "id": 1162, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -13820,7 +13965,7 @@ ] }, { - "id": 1161, + "id": 1172, "name": "detached", "kind": 2048, "kindString": "Method", @@ -13829,7 +13974,7 @@ }, "signatures": [ { - "id": 1162, + "id": 1173, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -13842,7 +13987,7 @@ ] }, { - "id": 1156, + "id": 1167, "name": "propertyChanged", "kind": 2048, "kindString": "Method", @@ -13851,14 +13996,14 @@ }, "signatures": [ { - "id": 1157, + "id": 1168, "name": "propertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1158, + "id": 1169, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -13869,7 +14014,7 @@ } }, { - "id": 1159, + "id": 1170, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -13880,7 +14025,7 @@ } }, { - "id": 1160, + "id": 1171, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -13899,7 +14044,7 @@ ] }, { - "id": 1154, + "id": 1165, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -13908,7 +14053,7 @@ }, "signatures": [ { - "id": 1155, + "id": 1166, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -13926,32 +14071,32 @@ "title": "Constructors", "kind": 512, "children": [ - 1145 + 1156 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1143, - 1144 + 1154, + 1155 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1152, - 1149, - 1161, - 1156, - 1154 + 1163, + 1160, + 1172, + 1167, + 1165 ] } ] }, { - "id": 1178, + "id": 1189, "name": "Toolbar", "kind": 128, "kindString": "Class", @@ -13960,7 +14105,7 @@ }, "children": [ { - "id": 1181, + "id": 1192, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -13969,14 +14114,14 @@ }, "signatures": [ { - "id": 1182, + "id": 1193, "name": "new Toolbar", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1183, + "id": 1194, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -13987,7 +14132,7 @@ } }, { - "id": 1184, + "id": 1195, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -13998,7 +14143,7 @@ } }, { - "id": 1185, + "id": 1196, "name": "optionsBuilder", "kind": 32768, "kindString": "Parameter", @@ -14012,14 +14157,14 @@ "type": { "type": "reference", "name": "Toolbar", - "id": 1178, + "id": 1189, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1179, + "id": 1190, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -14032,7 +14177,7 @@ } }, { - "id": 1180, + "id": 1191, "name": "toolbarItems", "kind": 1024, "kindString": "Property", @@ -14045,7 +14190,7 @@ } }, { - "id": 1189, + "id": 1200, "name": "attached", "kind": 2048, "kindString": "Method", @@ -14054,7 +14199,7 @@ }, "signatures": [ { - "id": 1190, + "id": 1201, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -14067,7 +14212,7 @@ ] }, { - "id": 1186, + "id": 1197, "name": "bind", "kind": 2048, "kindString": "Method", @@ -14076,14 +14221,14 @@ }, "signatures": [ { - "id": 1187, + "id": 1198, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1188, + "id": 1199, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -14102,7 +14247,7 @@ ] }, { - "id": 1193, + "id": 1204, "name": "detached", "kind": 2048, "kindString": "Method", @@ -14111,7 +14256,7 @@ }, "signatures": [ { - "id": 1194, + "id": 1205, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -14124,7 +14269,7 @@ ] }, { - "id": 1191, + "id": 1202, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -14133,7 +14278,7 @@ }, "signatures": [ { - "id": 1192, + "id": 1203, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -14151,31 +14296,31 @@ "title": "Constructors", "kind": 512, "children": [ - 1181 + 1192 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1179, - 1180 + 1190, + 1191 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1189, - 1186, - 1193, - 1191 + 1200, + 1197, + 1204, + 1202 ] } ] }, { - "id": 1169, + "id": 1180, "name": "ToolbarItem", "kind": 128, "kindString": "Class", @@ -14184,7 +14329,7 @@ }, "children": [ { - "id": 1172, + "id": 1183, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14193,14 +14338,14 @@ }, "signatures": [ { - "id": 1173, + "id": 1184, "name": "new ToolbarItem", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1174, + "id": 1185, "name": "templateGatherer", "kind": 32768, "kindString": "Parameter", @@ -14211,7 +14356,7 @@ } }, { - "id": 1175, + "id": 1186, "name": "optionsBuilder", "kind": 32768, "kindString": "Parameter", @@ -14225,14 +14370,14 @@ "type": { "type": "reference", "name": "ToolbarItem", - "id": 1169, + "id": 1180, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1171, + "id": 1182, "name": "buttons", "kind": 1024, "kindString": "Property", @@ -14245,7 +14390,7 @@ } }, { - "id": 1170, + "id": 1181, "name": "templates", "kind": 1024, "kindString": "Property", @@ -14258,7 +14403,7 @@ } }, { - "id": 1176, + "id": 1187, "name": "getOptions", "kind": 2048, "kindString": "Method", @@ -14267,7 +14412,7 @@ }, "signatures": [ { - "id": 1177, + "id": 1188, "name": "getOptions", "kind": 4096, "kindString": "Call signature", @@ -14285,28 +14430,28 @@ "title": "Constructors", "kind": 512, "children": [ - 1172 + 1183 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1171, - 1170 + 1182, + 1181 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1176 + 1187 ] } ] }, { - "id": 1163, + "id": 1174, "name": "ToolbarItemButton", "kind": 128, "kindString": "Class", @@ -14315,7 +14460,7 @@ }, "children": [ { - "id": 1164, + "id": 1175, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14324,14 +14469,14 @@ }, "signatures": [ { - "id": 1165, + "id": 1176, "name": "new ToolbarItemButton", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1166, + "id": 1177, "name": "optionsBuilder", "kind": 32768, "kindString": "Parameter", @@ -14345,14 +14490,14 @@ "type": { "type": "reference", "name": "ToolbarItemButton", - "id": 1163, + "id": 1174, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1167, + "id": 1178, "name": "getOptions", "kind": 2048, "kindString": "Method", @@ -14361,7 +14506,7 @@ }, "signatures": [ { - "id": 1168, + "id": 1179, "name": "getOptions", "kind": 4096, "kindString": "Call signature", @@ -14379,20 +14524,20 @@ "title": "Constructors", "kind": 512, "children": [ - 1164 + 1175 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1167 + 1178 ] } ] }, { - "id": 1220, + "id": 1206, "name": "Tooltip", "kind": 128, "kindString": "Class", @@ -14401,7 +14546,7 @@ }, "children": [ { - "id": 1222, + "id": 1208, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14410,14 +14555,14 @@ }, "signatures": [ { - "id": 1223, + "id": 1209, "name": "new Tooltip", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1224, + "id": 1210, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -14428,7 +14573,7 @@ } }, { - "id": 1225, + "id": 1211, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -14442,14 +14587,14 @@ "type": { "type": "reference", "name": "Tooltip", - "id": 1220, + "id": 1206, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1221, + "id": 1207, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -14462,7 +14607,7 @@ } }, { - "id": 1229, + "id": 1215, "name": "attached", "kind": 2048, "kindString": "Method", @@ -14471,7 +14616,7 @@ }, "signatures": [ { - "id": 1230, + "id": 1216, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -14484,7 +14629,7 @@ ] }, { - "id": 1226, + "id": 1212, "name": "bind", "kind": 2048, "kindString": "Method", @@ -14493,14 +14638,14 @@ }, "signatures": [ { - "id": 1227, + "id": 1213, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1228, + "id": 1214, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -14519,7 +14664,7 @@ ] }, { - "id": 1233, + "id": 1219, "name": "detached", "kind": 2048, "kindString": "Method", @@ -14528,7 +14673,7 @@ }, "signatures": [ { - "id": 1234, + "id": 1220, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -14541,7 +14686,7 @@ ] }, { - "id": 1231, + "id": 1217, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -14550,7 +14695,7 @@ }, "signatures": [ { - "id": 1232, + "id": 1218, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -14568,30 +14713,30 @@ "title": "Constructors", "kind": 512, "children": [ - 1222 + 1208 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1221 + 1207 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1229, - 1226, - 1233, - 1231 + 1215, + 1212, + 1219, + 1217 ] } ] }, { - "id": 1195, + "id": 1221, "name": "TreeCol", "kind": 128, "kindString": "Class", @@ -14600,7 +14745,7 @@ }, "children": [ { - "id": 1197, + "id": 1223, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14609,14 +14754,14 @@ }, "signatures": [ { - "id": 1198, + "id": 1224, "name": "new TreeCol", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1199, + "id": 1225, "name": "templateGatherer", "kind": 32768, "kindString": "Parameter", @@ -14630,14 +14775,14 @@ "type": { "type": "reference", "name": "TreeCol", - "id": 1195, + "id": 1221, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1196, + "id": 1222, "name": "templates", "kind": 1024, "kindString": "Property", @@ -14650,7 +14795,7 @@ } }, { - "id": 1200, + "id": 1226, "name": "bind", "kind": 2048, "kindString": "Method", @@ -14659,7 +14804,7 @@ }, "signatures": [ { - "id": 1201, + "id": 1227, "name": "bind", "kind": 4096, "kindString": "Call signature", @@ -14677,27 +14822,27 @@ "title": "Constructors", "kind": 512, "children": [ - 1197 + 1223 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1196 + 1222 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1200 + 1226 ] } ] }, { - "id": 1202, + "id": 1228, "name": "TreeList", "kind": 128, "kindString": "Class", @@ -14706,7 +14851,7 @@ }, "children": [ { - "id": 1205, + "id": 1231, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14715,14 +14860,14 @@ }, "signatures": [ { - "id": 1206, + "id": 1232, "name": "new TreeList", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1207, + "id": 1233, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -14733,7 +14878,7 @@ } }, { - "id": 1208, + "id": 1234, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -14744,7 +14889,7 @@ } }, { - "id": 1209, + "id": 1235, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -14755,7 +14900,7 @@ } }, { - "id": 1210, + "id": 1236, "name": "optionsBuilder", "kind": 32768, "kindString": "Parameter", @@ -14769,14 +14914,14 @@ "type": { "type": "reference", "name": "TreeList", - "id": 1202, + "id": 1228, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1203, + "id": 1229, "name": "columns", "kind": 1024, "kindString": "Property", @@ -14789,7 +14934,7 @@ } }, { - "id": 1204, + "id": 1230, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -14802,7 +14947,7 @@ } }, { - "id": 1214, + "id": 1240, "name": "attached", "kind": 2048, "kindString": "Method", @@ -14811,7 +14956,7 @@ }, "signatures": [ { - "id": 1215, + "id": 1241, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -14824,7 +14969,7 @@ ] }, { - "id": 1211, + "id": 1237, "name": "bind", "kind": 2048, "kindString": "Method", @@ -14833,14 +14978,14 @@ }, "signatures": [ { - "id": 1212, + "id": 1238, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1213, + "id": 1239, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -14859,7 +15004,7 @@ ] }, { - "id": 1218, + "id": 1244, "name": "detached", "kind": 2048, "kindString": "Method", @@ -14868,7 +15013,7 @@ }, "signatures": [ { - "id": 1219, + "id": 1245, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -14881,7 +15026,7 @@ ] }, { - "id": 1216, + "id": 1242, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -14890,7 +15035,7 @@ }, "signatures": [ { - "id": 1217, + "id": 1243, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -14908,25 +15053,25 @@ "title": "Constructors", "kind": 512, "children": [ - 1205 + 1231 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1203, - 1204 + 1229, + 1230 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1214, - 1211, - 1218, - 1216 + 1240, + 1237, + 1244, + 1242 ] } ] @@ -15131,7 +15276,7 @@ ] }, { - "id": 1235, + "id": 1246, "name": "TreeView", "kind": 128, "kindString": "Class", @@ -15140,7 +15285,7 @@ }, "children": [ { - "id": 1237, + "id": 1248, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -15149,14 +15294,14 @@ }, "signatures": [ { - "id": 1238, + "id": 1249, "name": "new TreeView", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1239, + "id": 1250, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -15167,7 +15312,7 @@ } }, { - "id": 1240, + "id": 1251, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -15181,14 +15326,14 @@ "type": { "type": "reference", "name": "TreeView", - "id": 1235, + "id": 1246, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1236, + "id": 1247, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -15201,7 +15346,7 @@ } }, { - "id": 1244, + "id": 1255, "name": "attached", "kind": 2048, "kindString": "Method", @@ -15210,7 +15355,7 @@ }, "signatures": [ { - "id": 1245, + "id": 1256, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -15223,7 +15368,7 @@ ] }, { - "id": 1241, + "id": 1252, "name": "bind", "kind": 2048, "kindString": "Method", @@ -15232,14 +15377,14 @@ }, "signatures": [ { - "id": 1242, + "id": 1253, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1243, + "id": 1254, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -15258,7 +15403,7 @@ ] }, { - "id": 1248, + "id": 1259, "name": "detached", "kind": 2048, "kindString": "Method", @@ -15267,7 +15412,7 @@ }, "signatures": [ { - "id": 1249, + "id": 1260, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -15280,7 +15425,7 @@ ] }, { - "id": 1246, + "id": 1257, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -15289,7 +15434,7 @@ }, "signatures": [ { - "id": 1247, + "id": 1258, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -15307,30 +15452,30 @@ "title": "Constructors", "kind": 512, "children": [ - 1237 + 1248 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1236 + 1247 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1244, - 1241, - 1248, - 1246 + 1255, + 1252, + 1259, + 1257 ] } ] }, { - "id": 1250, + "id": 1261, "name": "Upload", "kind": 128, "kindString": "Class", @@ -15339,7 +15484,7 @@ }, "children": [ { - "id": 1253, + "id": 1264, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -15348,14 +15493,14 @@ }, "signatures": [ { - "id": 1254, + "id": 1265, "name": "new Upload", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1255, + "id": 1266, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -15366,7 +15511,7 @@ } }, { - "id": 1256, + "id": 1267, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -15377,7 +15522,7 @@ } }, { - "id": 1257, + "id": 1268, "name": "viewResources", "kind": 32768, "kindString": "Parameter", @@ -15391,14 +15536,14 @@ "type": { "type": "reference", "name": "Upload", - "id": 1250, + "id": 1261, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1251, + "id": 1262, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -15411,7 +15556,7 @@ } }, { - "id": 1252, + "id": 1263, "name": "templates", "kind": 1024, "kindString": "Property", @@ -15424,7 +15569,7 @@ } }, { - "id": 1261, + "id": 1272, "name": "attached", "kind": 2048, "kindString": "Method", @@ -15433,7 +15578,7 @@ }, "signatures": [ { - "id": 1262, + "id": 1273, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -15446,7 +15591,7 @@ ] }, { - "id": 1258, + "id": 1269, "name": "bind", "kind": 2048, "kindString": "Method", @@ -15455,14 +15600,14 @@ }, "signatures": [ { - "id": 1259, + "id": 1270, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1260, + "id": 1271, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -15481,7 +15626,7 @@ ] }, { - "id": 1265, + "id": 1276, "name": "detached", "kind": 2048, "kindString": "Method", @@ -15490,7 +15635,7 @@ }, "signatures": [ { - "id": 1266, + "id": 1277, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -15503,7 +15648,7 @@ ] }, { - "id": 1263, + "id": 1274, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -15512,7 +15657,7 @@ }, "signatures": [ { - "id": 1264, + "id": 1275, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -15530,25 +15675,25 @@ "title": "Constructors", "kind": 512, "children": [ - 1253 + 1264 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1251, - 1252 + 1262, + 1263 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1261, - 1258, - 1265, - 1263 + 1272, + 1269, + 1276, + 1274 ] } ] @@ -16036,7 +16181,7 @@ ] }, { - "id": 1267, + "id": 1278, "name": "Validator", "kind": 128, "kindString": "Class", @@ -16045,7 +16190,7 @@ }, "children": [ { - "id": 1269, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -16054,14 +16199,14 @@ }, "signatures": [ { - "id": 1270, + "id": 1281, "name": "new Validator", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1271, + "id": 1282, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -16072,7 +16217,7 @@ } }, { - "id": 1272, + "id": 1283, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -16086,14 +16231,14 @@ "type": { "type": "reference", "name": "Validator", - "id": 1267, + "id": 1278, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1268, + "id": 1279, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -16106,7 +16251,7 @@ } }, { - "id": 1276, + "id": 1287, "name": "attached", "kind": 2048, "kindString": "Method", @@ -16115,7 +16260,7 @@ }, "signatures": [ { - "id": 1277, + "id": 1288, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -16128,7 +16273,7 @@ ] }, { - "id": 1273, + "id": 1284, "name": "bind", "kind": 2048, "kindString": "Method", @@ -16137,14 +16282,14 @@ }, "signatures": [ { - "id": 1274, + "id": 1285, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1275, + "id": 1286, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -16163,7 +16308,7 @@ ] }, { - "id": 1280, + "id": 1291, "name": "detached", "kind": 2048, "kindString": "Method", @@ -16172,7 +16317,7 @@ }, "signatures": [ { - "id": 1281, + "id": 1292, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -16185,7 +16330,7 @@ ] }, { - "id": 1278, + "id": 1289, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -16194,7 +16339,7 @@ }, "signatures": [ { - "id": 1279, + "id": 1290, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -16212,24 +16357,24 @@ "title": "Constructors", "kind": 512, "children": [ - 1269 + 1280 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1268 + 1279 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1276, - 1273, - 1280, - 1278 + 1287, + 1284, + 1291, + 1289 ] } ] @@ -16316,6 +16461,17 @@ "type": "instrinct", "name": "any" } + }, + { + "id": 456, + "name": "configBuilder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "instrinct", + "name": "any" + } } ], "type": { @@ -16421,7 +16577,7 @@ "type": { "type": "reference", "name": "TaskQueue", - "id": 4620, + "id": 4578, "moduleName": "\"aurelia-task-queue\"" } }, @@ -16442,7 +16598,7 @@ } }, { - "id": 456, + "id": 457, "name": "control", "kind": 2048, "kindString": "Method", @@ -16451,14 +16607,14 @@ }, "signatures": [ { - "id": 457, + "id": 458, "name": "control", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 458, + "id": 459, "name": "controlName", "kind": 32768, "kindString": "Parameter", @@ -16477,7 +16633,7 @@ ] }, { - "id": 469, + "id": 470, "name": "createWidget", "kind": 2048, "kindString": "Method", @@ -16486,7 +16642,7 @@ }, "signatures": [ { - "id": 470, + "id": 471, "name": "createWidget", "kind": 4096, "kindString": "Call signature", @@ -16496,7 +16652,7 @@ }, "parameters": [ { - "id": 471, + "id": 472, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16515,7 +16671,7 @@ ] }, { - "id": 486, + "id": 487, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -16524,7 +16680,7 @@ }, "signatures": [ { - "id": 487, + "id": 488, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -16534,7 +16690,7 @@ }, "parameters": [ { - "id": 488, + "id": 489, "name": "widget", "kind": 32768, "kindString": "Parameter", @@ -16553,7 +16709,7 @@ ] }, { - "id": 472, + "id": 473, "name": "getEventOptions", "kind": 2048, "kindString": "Method", @@ -16562,7 +16718,7 @@ }, "signatures": [ { - "id": 473, + "id": 474, "name": "getEventOptions", "kind": 4096, "kindString": "Call signature", @@ -16572,7 +16728,7 @@ }, "parameters": [ { - "id": 474, + "id": 475, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -16591,7 +16747,7 @@ ] }, { - "id": 475, + "id": 476, "name": "handlePropertyChanged", "kind": 2048, "kindString": "Method", @@ -16600,14 +16756,14 @@ }, "signatures": [ { - "id": 476, + "id": 477, "name": "handlePropertyChanged", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 477, + "id": 478, "name": "widget", "kind": 32768, "kindString": "Parameter", @@ -16618,7 +16774,7 @@ } }, { - "id": 478, + "id": 479, "name": "property", "kind": 32768, "kindString": "Parameter", @@ -16629,7 +16785,7 @@ } }, { - "id": 479, + "id": 480, "name": "newValue", "kind": 32768, "kindString": "Parameter", @@ -16640,7 +16796,7 @@ } }, { - "id": 480, + "id": 481, "name": "oldValue", "kind": 32768, "kindString": "Parameter", @@ -16659,7 +16815,7 @@ ] }, { - "id": 459, + "id": 460, "name": "linkViewModel", "kind": 2048, "kindString": "Method", @@ -16668,14 +16824,14 @@ }, "signatures": [ { - "id": 460, + "id": 461, "name": "linkViewModel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 461, + "id": 462, "name": "viewModel", "kind": 32768, "kindString": "Parameter", @@ -16694,7 +16850,7 @@ ] }, { - "id": 481, + "id": 482, "name": "useTemplates", "kind": 2048, "kindString": "Method", @@ -16703,14 +16859,14 @@ }, "signatures": [ { - "id": 482, + "id": 483, "name": "useTemplates", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 483, + "id": 484, "name": "target", "kind": 32768, "kindString": "Parameter", @@ -16721,7 +16877,7 @@ } }, { - "id": 484, + "id": 485, "name": "controlName", "kind": 32768, "kindString": "Parameter", @@ -16732,7 +16888,7 @@ } }, { - "id": 485, + "id": 486, "name": "templates", "kind": 32768, "kindString": "Parameter", @@ -16751,7 +16907,7 @@ ] }, { - "id": 465, + "id": 466, "name": "useValueBinding", "kind": 2048, "kindString": "Method", @@ -16760,7 +16916,7 @@ }, "signatures": [ { - "id": 466, + "id": 467, "name": "useValueBinding", "kind": 4096, "kindString": "Call signature", @@ -16770,7 +16926,7 @@ }, "parameters": [ { - "id": 467, + "id": 468, "name": "valueBindingProperty", "kind": 32768, "kindString": "Parameter", @@ -16786,7 +16942,7 @@ } }, { - "id": 468, + "id": 469, "name": "valueFunction", "kind": 32768, "kindString": "Parameter", @@ -16810,7 +16966,7 @@ ] }, { - "id": 462, + "id": 463, "name": "useViewResources", "kind": 2048, "kindString": "Method", @@ -16819,14 +16975,14 @@ }, "signatures": [ { - "id": 463, + "id": 464, "name": "useViewResources", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 464, + "id": 465, "name": "resources", "kind": 32768, "kindString": "Parameter", @@ -16870,21 +17026,21 @@ "title": "Methods", "kind": 2048, "children": [ - 456, - 469, - 486, - 472, - 475, - 459, - 481, - 465, - 462 + 457, + 470, + 487, + 473, + 476, + 460, + 482, + 466, + 463 ] } ] }, { - "id": 1317, + "id": 1328, "name": "Window", "kind": 128, "kindString": "Class", @@ -16893,7 +17049,7 @@ }, "children": [ { - "id": 1319, + "id": 1330, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -16902,14 +17058,14 @@ }, "signatures": [ { - "id": 1320, + "id": 1331, "name": "new Window", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1321, + "id": 1332, "name": "element", "kind": 32768, "kindString": "Parameter", @@ -16920,7 +17076,7 @@ } }, { - "id": 1322, + "id": 1333, "name": "widgetBase", "kind": 32768, "kindString": "Parameter", @@ -16934,14 +17090,14 @@ "type": { "type": "reference", "name": "Window", - "id": 1317, + "id": 1328, "moduleName": "\"aurelia-kendoui-bridge\"" } } ] }, { - "id": 1318, + "id": 1329, "name": "kOptions", "kind": 1024, "kindString": "Property", @@ -16954,7 +17110,7 @@ } }, { - "id": 1326, + "id": 1337, "name": "attached", "kind": 2048, "kindString": "Method", @@ -16963,7 +17119,7 @@ }, "signatures": [ { - "id": 1327, + "id": 1338, "name": "attached", "kind": 4096, "kindString": "Call signature", @@ -16976,7 +17132,7 @@ ] }, { - "id": 1323, + "id": 1334, "name": "bind", "kind": 2048, "kindString": "Method", @@ -16985,14 +17141,14 @@ }, "signatures": [ { - "id": 1324, + "id": 1335, "name": "bind", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1325, + "id": 1336, "name": "ctx", "kind": 32768, "kindString": "Parameter", @@ -17011,7 +17167,7 @@ ] }, { - "id": 1330, + "id": 1341, "name": "detached", "kind": 2048, "kindString": "Method", @@ -17020,7 +17176,7 @@ }, "signatures": [ { - "id": 1331, + "id": 1342, "name": "detached", "kind": 4096, "kindString": "Call signature", @@ -17033,7 +17189,7 @@ ] }, { - "id": 1328, + "id": 1339, "name": "recreate", "kind": 2048, "kindString": "Method", @@ -17042,7 +17198,7 @@ }, "signatures": [ { - "id": 1329, + "id": 1340, "name": "recreate", "kind": 4096, "kindString": "Call signature", @@ -17060,30 +17216,30 @@ "title": "Constructors", "kind": 512, "children": [ - 1319 + 1330 ] }, { "title": "Properties", "kind": 1024, "children": [ - 1318 + 1329 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1326, - 1323, - 1330, - 1328 + 1337, + 1334, + 1341, + 1339 ] } ] }, { - "id": 1312, + "id": 1323, "name": "kendoFormatValueConverter", "kind": 128, "kindString": "Class", @@ -17092,7 +17248,7 @@ }, "children": [ { - "id": 1313, + "id": 1324, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17101,14 +17257,14 @@ }, "signatures": [ { - "id": 1314, + "id": 1325, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1315, + "id": 1326, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17119,7 +17275,7 @@ } }, { - "id": 1316, + "id": 1327, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -17146,13 +17302,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1313 + 1324 ] } ] }, { - "id": 1304, + "id": 1315, "name": "kendoParseColorValueConverter", "kind": 128, "kindString": "Class", @@ -17161,7 +17317,7 @@ }, "children": [ { - "id": 1305, + "id": 1316, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17170,14 +17326,14 @@ }, "signatures": [ { - "id": 1306, + "id": 1317, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1307, + "id": 1318, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17201,13 +17357,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1305 + 1316 ] } ] }, { - "id": 1288, + "id": 1299, "name": "kendoParseDateValueConverter", "kind": 128, "kindString": "Class", @@ -17216,7 +17372,7 @@ }, "children": [ { - "id": 1289, + "id": 1300, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17225,14 +17381,14 @@ }, "signatures": [ { - "id": 1290, + "id": 1301, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1291, + "id": 1302, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17243,7 +17399,7 @@ } }, { - "id": 1292, + "id": 1303, "name": "format", "kind": 32768, "kindString": "Parameter", @@ -17254,7 +17410,7 @@ } }, { - "id": 1293, + "id": 1304, "name": "language", "kind": 32768, "kindString": "Parameter", @@ -17278,13 +17434,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1289 + 1300 ] } ] }, { - "id": 1299, + "id": 1310, "name": "kendoParseFloatValueConverter", "kind": 128, "kindString": "Class", @@ -17293,7 +17449,7 @@ }, "children": [ { - "id": 1300, + "id": 1311, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17302,14 +17458,14 @@ }, "signatures": [ { - "id": 1301, + "id": 1312, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1302, + "id": 1313, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17320,7 +17476,7 @@ } }, { - "id": 1303, + "id": 1314, "name": "language", "kind": 32768, "kindString": "Parameter", @@ -17344,13 +17500,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1300 + 1311 ] } ] }, { - "id": 1294, + "id": 1305, "name": "kendoParseIntValueConverter", "kind": 128, "kindString": "Class", @@ -17359,7 +17515,7 @@ }, "children": [ { - "id": 1295, + "id": 1306, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17368,14 +17524,14 @@ }, "signatures": [ { - "id": 1296, + "id": 1307, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1297, + "id": 1308, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17386,7 +17542,7 @@ } }, { - "id": 1298, + "id": 1309, "name": "language", "kind": 32768, "kindString": "Parameter", @@ -17410,13 +17566,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1295 + 1306 ] } ] }, { - "id": 1308, + "id": 1319, "name": "kendoStringifyValueConverter", "kind": 128, "kindString": "Class", @@ -17425,7 +17581,7 @@ }, "children": [ { - "id": 1309, + "id": 1320, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17434,14 +17590,14 @@ }, "signatures": [ { - "id": 1310, + "id": 1321, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1311, + "id": 1322, "name": "obj", "kind": 32768, "kindString": "Parameter", @@ -17465,13 +17621,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1309 + 1320 ] } ] }, { - "id": 1282, + "id": 1293, "name": "kendoToStringValueConverter", "kind": 128, "kindString": "Class", @@ -17480,7 +17636,7 @@ }, "children": [ { - "id": 1283, + "id": 1294, "name": "toView", "kind": 2048, "kindString": "Method", @@ -17489,14 +17645,14 @@ }, "signatures": [ { - "id": 1284, + "id": 1295, "name": "toView", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1285, + "id": 1296, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17507,7 +17663,7 @@ } }, { - "id": 1286, + "id": 1297, "name": "format", "kind": 32768, "kindString": "Parameter", @@ -17518,7 +17674,7 @@ } }, { - "id": 1287, + "id": 1298, "name": "language", "kind": 32768, "kindString": "Parameter", @@ -17542,13 +17698,13 @@ "title": "Methods", "kind": 2048, "children": [ - 1283 + 1294 ] } ] }, { - "id": 1336, + "id": 1347, "name": "bindables", "kind": 32, "kindString": "Variable", @@ -17561,7 +17717,7 @@ } }, { - "id": 1337, + "id": 1348, "name": "constants", "kind": 32, "kindString": "Variable", @@ -17574,7 +17730,7 @@ } }, { - "id": 1332, + "id": 1343, "name": "configure", "kind": 64, "kindString": "Function", @@ -17583,14 +17739,14 @@ }, "signatures": [ { - "id": 1333, + "id": 1344, "name": "configure", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1334, + "id": 1345, "name": "aurelia", "kind": 32768, "kindString": "Parameter", @@ -17601,7 +17757,7 @@ } }, { - "id": 1335, + "id": 1346, "name": "configCallback", "kind": 32768, "kindString": "Parameter", @@ -17620,7 +17776,7 @@ ] }, { - "id": 1338, + "id": 1349, "name": "generateBindables", "kind": 64, "kindString": "Function", @@ -17629,7 +17785,7 @@ }, "signatures": [ { - "id": 1339, + "id": 1350, "name": "generateBindables", "kind": 4096, "kindString": "Call signature", @@ -17639,7 +17795,7 @@ }, "parameters": [ { - "id": 1340, + "id": 1351, "name": "controlName", "kind": 32768, "kindString": "Parameter", @@ -17653,7 +17809,7 @@ } }, { - "id": 1341, + "id": 1352, "name": "extraProperties", "kind": 32768, "kindString": "Parameter", @@ -17685,94 +17841,95 @@ 172, 187, 208, - 727, + 728, 268, 288, 308, - 489, + 490, 330, - 504, - 524, - 544, - 559, - 607, - 592, - 577, - 630, - 650, + 505, + 525, + 563, + 545, + 608, + 593, + 578, + 631, + 651, + 667, 666, - 665, - 734, + 742, + 735, 3, - 685, - 752, - 769, - 789, - 810, - 825, - 854, - 848, - 874, + 686, + 763, + 780, + 800, + 821, + 836, + 865, + 859, + 885, 348, - 942, - 894, - 909, - 925, - 943, - 958, - 706, - 973, - 993, - 1008, - 1025, - 1042, - 1062, + 920, + 905, + 921, + 937, + 954, + 969, + 707, + 984, + 1004, + 1019, + 1036, + 1053, + 1073, 223, - 1077, - 1092, + 1088, + 1103, 238, - 1107, - 1127, + 1118, + 1138, 399, 357, 388, - 1142, - 1178, - 1169, - 1163, - 1220, - 1195, - 1202, + 1153, + 1189, + 1180, + 1174, + 1206, + 1221, + 1228, 253, - 1235, - 1250, + 1246, + 1261, 406, - 1267, + 1278, 441, - 1317, - 1312, - 1304, - 1288, + 1328, + 1323, + 1315, 1299, - 1294, - 1308, - 1282 + 1310, + 1305, + 1319, + 1293 ] }, { "title": "Variables", "kind": 32, "children": [ - 1336, - 1337 + 1347, + 1348 ] }, { "title": "Functions", "kind": 64, "children": [ - 1332, - 1338 + 1343, + 1349 ] } ] diff --git a/package.json b/package.json index 3a49043e..85238273 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-kendoui-bridge", - "version": "0.6.4", + "version": "0.7.0", "registry": "github", "description": "A set of Telerik KendoUI wrappers for Aurelia allowing developers to easily use KendoUI components in their Aurelia application.", "keywords": [