From cb291f97cb9024a87bddf5ba411fe8c403d9da83 Mon Sep 17 00:00:00 2001 From: EisenbergEffect Date: Sun, 1 Oct 2017 21:00:26 -0700 Subject: [PATCH] chore(all): prepare release 1.5.0 --- bower.json | 2 +- dist/amd/aurelia-templating.js | 135 ++++++++++++---------- dist/aurelia-templating.d.ts | 7 +- dist/aurelia-templating.js | 51 +++++--- dist/commonjs/aurelia-templating.js | 135 ++++++++++++---------- dist/es2015/aurelia-templating.js | 37 +++--- dist/native-modules/aurelia-templating.js | 135 ++++++++++++---------- dist/system/aurelia-templating.js | 133 +++++++++++---------- doc/CHANGELOG.md | 21 ++++ doc/api.json | 2 +- package.json | 2 +- 11 files changed, 383 insertions(+), 277 deletions(-) diff --git a/bower.json b/bower.json index 521f9f6d..dca71fb3 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "1.4.2", + "version": "1.5.0", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js index e0dec779..10a9554b 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -65,14 +65,14 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; }(); + var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18; + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18; - var animationEvent = exports.animationEvent = { @@ -321,14 +321,22 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) { + var _this3 = this; + var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; if (handler && typeof handler === 'function') { - var _handler = function _handler(event) { - handler(event); - _handler.dispose(); - }; - return this.subscribe(eventName, _handler, bubbles); + var _ret = function () { + var _handler = function _handler(event) { + handler(event); + _handler.dispose(); + }; + return { + v: _this3.subscribe(eventName, _handler, bubbles) + }; + }(); + + if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; } return undefined; @@ -1755,7 +1763,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.removeMany = function removeMany(viewsToRemove, returnToCache, skipAnimation) { - var _this3 = this; + var _this4 = this; var children = this.children; var ii = viewsToRemove.length; @@ -1768,7 +1776,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return; } - var animation = _this3.animateView(child, 'leave'); + var animation = _this4.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1779,7 +1787,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }); var removeAction = function removeAction() { - if (_this3.isAttached) { + if (_this4.isAttached) { for (i = 0; i < ii; ++i) { viewsToRemove[i].detached(); } @@ -1809,16 +1817,16 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.removeAt = function removeAt(index, returnToCache, skipAnimation) { - var _this4 = this; + var _this5 = this; var view = this.children[index]; var removeAction = function removeAction() { - index = _this4.children.indexOf(view); + index = _this5.children.indexOf(view); view.removeNodes(); - _this4.children.splice(index, 1); + _this5.children.splice(index, 1); - if (_this4.isAttached) { + if (_this5.isAttached) { view.detached(); } @@ -1842,7 +1850,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.removeAll = function removeAll(returnToCache, skipAnimation) { - var _this5 = this; + var _this6 = this; var children = this.children; var ii = children.length; @@ -1855,7 +1863,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return; } - var animation = _this5.animateView(child, 'leave'); + var animation = _this6.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1866,7 +1874,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }); var removeAction = function removeAction() { - if (_this5.isAttached) { + if (_this6.isAttached) { for (i = 0; i < ii; ++i) { children[i].detached(); } @@ -1882,7 +1890,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } } - _this5.children = []; + _this6.children = []; }; if (rmPromises.length > 0) { @@ -1929,7 +1937,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.projectTo = function projectTo(slots) { - var _this6 = this; + var _this7 = this; this.projectToSlots = slots; this.add = this._projectionAdd; @@ -1940,7 +1948,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this.removeMany = this._projectionRemoveMany; this.removeAll = this._projectionRemoveAll; this.children.forEach(function (view) { - return ShadowDOM.distributeView(view, slots, _this6); + return ShadowDOM.distributeView(view, slots, _this7); }); }; @@ -2004,10 +2012,10 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype._projectionRemoveMany = function _projectionRemoveMany(viewsToRemove, returnToCache) { - var _this7 = this; + var _this8 = this; viewsToRemove.forEach(function (view) { - return _this7.remove(view, returnToCache); + return _this8.remove(view, returnToCache); }); }; @@ -2697,6 +2705,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var attr = void 0; var attrName = void 0; var attrValue = void 0; + var originalAttrName = void 0; var instruction = void 0; var info = void 0; var property = void 0; @@ -2710,6 +2719,9 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -2723,7 +2735,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -2780,7 +2792,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this._configureProperties(instruction, resources); if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2798,7 +2810,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -3120,12 +3132,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var ProxyViewFactory = function () { function ProxyViewFactory(promise) { - var _this8 = this; + var _this9 = this; promise.then(function (x) { - return _this8.viewFactory = x; + return _this9.viewFactory = x; }); } @@ -3179,14 +3191,16 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewEngine.prototype.loadViewFactory = function loadViewFactory(urlOrRegistryEntry, compileInstruction, loadContext, target) { - var _this9 = this; + var _this10 = this; loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(function (registryEntry) { + var url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -3197,16 +3211,16 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); - registryEntry.onReady = _this9.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { + registryEntry.onReady = _this10.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { registryEntry.resources = resources; if (registryEntry.template === null) { return registryEntry.factory = null; } - var viewFactory = _this9.viewCompiler.compile(registryEntry.template, resources, compileInstruction); + var viewFactory = _this10.viewCompiler.compile(registryEntry.template, resources, compileInstruction); return registryEntry.factory = viewFactory; }); @@ -3255,30 +3269,30 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewEngine.prototype.importViewModelResource = function importViewModelResource(moduleImport, moduleMember) { - var _this10 = this; + var _this11 = this; return this.loader.loadModule(moduleImport).then(function (viewModelModule) { var normalizedId = _aureliaMetadata.Origin.get(viewModelModule).moduleId; - var resourceModule = _this10.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); + var resourceModule = _this11.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); if (!resourceModule.mainResource) { throw new Error('No view model found in module "' + moduleImport + '".'); } - resourceModule.initialize(_this10.container); + resourceModule.initialize(_this11.container); return resourceModule.mainResource; }); }; ViewEngine.prototype.importViewResources = function importViewResources(moduleIds, names, resources, compileInstruction, loadContext) { - var _this11 = this; + var _this12 = this; loadContext = loadContext || new ResourceLoadContext(); compileInstruction = compileInstruction || ViewCompileInstruction.normal; moduleIds = moduleIds.map(function (x) { - return _this11._applyLoaderPlugin(x); + return _this12._applyLoaderPlugin(x); }); return this.loader.loadAllModules(moduleIds).then(function (imports) { @@ -3288,8 +3302,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var normalizedId = void 0; var current = void 0; var associatedModule = void 0; - var container = _this11.container; - var moduleAnalyzer = _this11.moduleAnalyzer; + var container = _this12.container; + var moduleAnalyzer = _this12.moduleAnalyzer; var allAnalysis = new Array(imports.length); for (i = 0, ii = imports.length; i < ii; ++i) { @@ -3930,14 +3944,14 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; HtmlBehaviorResource.prototype.register = function register(registry, name) { - var _this12 = this; + var _this13 = this; if (this.attributeName !== null) { registry.registerAttribute(name || this.attributeName, this, this.attributeName); if (Array.isArray(this.aliases)) { this.aliases.forEach(function (alias) { - registry.registerAttribute(alias, _this12, _this12.attributeName); + registry.registerAttribute(alias, _this13, _this13.attributeName); }); } } @@ -3948,7 +3962,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; HtmlBehaviorResource.prototype.load = function load(container, target, loadContext, viewStrategy, transientView) { - var _this13 = this; + var _this14 = this; var options = void 0; @@ -3961,8 +3975,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } return viewStrategy.loadViewFactory(container.get(ViewEngine), options, loadContext, target).then(function (viewFactory) { - if (!transientView || !_this13.viewFactory) { - _this13.viewFactory = viewFactory; + if (!transientView || !_this14.viewFactory) { + _this14.viewFactory = viewFactory; } return viewFactory; @@ -4155,10 +4169,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; HtmlBehaviorResource.prototype._copyInheritedProperties = function _copyInheritedProperties(container, target) { - var _this14 = this; + var _this15 = this; + + var behavior = void 0; + var derived = target; - var behavior = void 0, - derived = target; while (true) { var proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; @@ -4175,19 +4190,19 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var _loop = function _loop(_i8, _ii8) { var prop = behavior.properties[_i8]; - if (_this14.properties.some(function (p) { + if (_this15.properties.some(function (p) { return p.name === prop.name; })) { return 'continue'; } - new BindableProperty(prop).registerWith(derived, _this14); + new BindableProperty(prop).registerWith(derived, _this15); }; for (var _i8 = 0, _ii8 = behavior.properties.length; _i8 < _ii8; ++_i8) { - var _ret = _loop(_i8, _ii8); + var _ret2 = _loop(_i8, _ii8); - if (_ret === 'continue') continue; + if (_ret2 === 'continue') continue; } }; @@ -4517,27 +4532,27 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; CompositionEngine.prototype._createControllerAndSwap = function _createControllerAndSwap(context) { - var _this15 = this; + var _this16 = this; return this.createController(context).then(function (controller) { controller.automate(context.overrideContext, context.owningView); if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this15._swap(context, controller.view); + return _this16._swap(context, controller.view); }).then(function () { return controller; }); } - return _this15._swap(context, controller.view).then(function () { + return _this16._swap(context, controller.view).then(function () { return controller; }); }); }; CompositionEngine.prototype.createController = function createController(context) { - var _this16 = this; + var _this17 = this; var childContainer = void 0; var viewModel = void 0; @@ -4550,7 +4565,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli viewModelResource = context.viewModelResource; m = viewModelResource.metadata; - var viewStrategy = _this16.viewLocator.getViewStrategy(context.view || viewModel); + var viewStrategy = _this17.viewLocator.getViewStrategy(context.view || viewModel); if (context.viewResources) { viewStrategy.makeRelativeTo(context.viewResources.viewUrl); @@ -4590,7 +4605,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; CompositionEngine.prototype.compose = function compose(context) { - var _this17 = this; + var _this18 = this; context.childContainer = context.childContainer || context.container.createChild(); context.view = this.viewLocator.getViewStrategy(context.view); @@ -4617,13 +4632,13 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this17._swap(context, result); + return _this18._swap(context, result); }).then(function () { return result; }); } - return _this17._swap(context, result).then(function () { + return _this18._swap(context, result).then(function () { return result; }); }); diff --git a/dist/aurelia-templating.d.ts b/dist/aurelia-templating.d.ts index e1a86e0c..be55c86e 100644 --- a/dist/aurelia-templating.d.ts +++ b/dist/aurelia-templating.d.ts @@ -820,7 +820,7 @@ export declare class TemplateRegistryViewStrategy { } /** -* A view strategy that allows the component authore to inline the html for the view. +* A view strategy that allows the component author to inline the html for the view. */ export declare class InlineViewStrategy { @@ -1104,6 +1104,11 @@ export declare class View { */ overrideContext: Object; + /** + * The Controller instance that owns this View. + */ + controller: Controller; + /** * Creates a View instance. * @param container The container from which the view was created. diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js index f290ef5b..969057c9 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -899,7 +899,7 @@ export class TemplateRegistryViewStrategy { } /** -* A view strategy that allows the component authore to inline the html for the view. +* A view strategy that allows the component author to inline the html for the view. */ @viewStrategy() export class InlineViewStrategy { @@ -1832,6 +1832,11 @@ export class View { */ overrideContext: Object; + /** + * The Controller instance that owns this View. + */ + controller: Controller; + /** * Creates a View instance. * @param container The container from which the view was created. @@ -3394,6 +3399,7 @@ export class ViewCompiler { let attr; let attrName; let attrValue; + let originalAttrName; let instruction; let info; let property; @@ -3407,6 +3413,9 @@ export class ViewCompiler { } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -3420,7 +3429,7 @@ export class ViewCompiler { for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -3481,7 +3490,7 @@ export class ViewCompiler { this._configureProperties(instruction, resources); if (type.liftsContent) { //template controller - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { //attached behavior @@ -3499,7 +3508,7 @@ export class ViewCompiler { instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { //template controller - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { //attached behavior @@ -3967,9 +3976,11 @@ export class ViewEngine { loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(registryEntry => { + const url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -3981,7 +3992,7 @@ export class ViewEngine { return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); registryEntry.onReady = this.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(resources => { registryEntry.resources = resources; @@ -4461,11 +4472,11 @@ function getObserver(instance, name) { let lookup = instance.__observers__; if (lookup === undefined) { - // We need to lookup the actual behavior for this instance, - // as it might be a derived class (and behavior) rather than + // We need to lookup the actual behavior for this instance, + // as it might be a derived class (and behavior) rather than // the class (and behavior) that declared the property calling getObserver(). - // This means we can't capture the behavior in property get/set/getObserver and pass it here. - // Note that it's probably for the best, as passing the behavior is an overhead + // This means we can't capture the behavior in property get/set/getObserver and pass it here. + // Note that it's probably for the best, as passing the behavior is an overhead // that is only useful in the very first call of the first property of the instance. let ctor = Object.getPrototypeOf(instance).constructor; // Playing safe here, user could have written to instance.constructor. let behavior = metadata.get(metadata.resource, ctor); @@ -4845,8 +4856,8 @@ export class HtmlBehaviorResource { for (i = 0, ii = properties.length; i < ii; ++i) { properties[i].defineOn(target, this); } - // Because how inherited properties would interact with the default 'value' property - // in a custom attribute is not well defined yet, we only inherit properties on + // Because how inherited properties would interact with the default 'value' property + // in a custom attribute is not well defined yet, we only inherit properties on // custom elements, where it's not a problem. this._copyInheritedProperties(container, target); } @@ -5114,12 +5125,14 @@ export class HtmlBehaviorResource { } _copyInheritedProperties(container: Container, target: Function) { - // This methods enables inherited @bindable properties. - // We look for the first base class with metadata, make sure it's initialized - // and copy its properties. + // This methods enables inherited @bindable properties. + // We look for the first base class with metadata, make sure it's initialized + // and copy its properties. // We don't need to walk further than the first parent with metadata because // it had also inherited properties during its own initialization. - let behavior, derived = target; + let behavior; + let derived = target; + while (true) { let proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; @@ -5131,7 +5144,7 @@ export class HtmlBehaviorResource { break; } } - behavior.initialize(container, target); + behavior.initialize(container, target); for (let i = 0, ii = behavior.properties.length; i < ii; ++i) { let prop = behavior.properties[i]; // Check that the property metadata was not overriden or re-defined in this class @@ -5141,7 +5154,7 @@ export class HtmlBehaviorResource { // We don't need to call .defineOn() for those properties because it was done // on the parent prototype during initialization. new BindableProperty(prop).registerWith(derived, this); - } + } } } diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index fa971b32..8b220dd6 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -7,10 +7,10 @@ exports.TemplatingEngine = exports.ElementConfigResource = exports.CompositionEn var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18; +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + exports._hyphenate = _hyphenate; exports._isAllWhitespace = _isAllWhitespace; exports.viewEngineHooks = viewEngineHooks; @@ -302,14 +302,22 @@ var ElementEvents = exports.ElementEvents = function () { }; ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) { + var _this3 = this; + var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; if (handler && typeof handler === 'function') { - var _handler = function _handler(event) { - handler(event); - _handler.dispose(); - }; - return this.subscribe(eventName, _handler, bubbles); + var _ret = function () { + var _handler = function _handler(event) { + handler(event); + _handler.dispose(); + }; + return { + v: _this3.subscribe(eventName, _handler, bubbles) + }; + }(); + + if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; } return undefined; @@ -1736,7 +1744,7 @@ var ViewSlot = exports.ViewSlot = function () { }; ViewSlot.prototype.removeMany = function removeMany(viewsToRemove, returnToCache, skipAnimation) { - var _this3 = this; + var _this4 = this; var children = this.children; var ii = viewsToRemove.length; @@ -1749,7 +1757,7 @@ var ViewSlot = exports.ViewSlot = function () { return; } - var animation = _this3.animateView(child, 'leave'); + var animation = _this4.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1760,7 +1768,7 @@ var ViewSlot = exports.ViewSlot = function () { }); var removeAction = function removeAction() { - if (_this3.isAttached) { + if (_this4.isAttached) { for (i = 0; i < ii; ++i) { viewsToRemove[i].detached(); } @@ -1790,16 +1798,16 @@ var ViewSlot = exports.ViewSlot = function () { }; ViewSlot.prototype.removeAt = function removeAt(index, returnToCache, skipAnimation) { - var _this4 = this; + var _this5 = this; var view = this.children[index]; var removeAction = function removeAction() { - index = _this4.children.indexOf(view); + index = _this5.children.indexOf(view); view.removeNodes(); - _this4.children.splice(index, 1); + _this5.children.splice(index, 1); - if (_this4.isAttached) { + if (_this5.isAttached) { view.detached(); } @@ -1823,7 +1831,7 @@ var ViewSlot = exports.ViewSlot = function () { }; ViewSlot.prototype.removeAll = function removeAll(returnToCache, skipAnimation) { - var _this5 = this; + var _this6 = this; var children = this.children; var ii = children.length; @@ -1836,7 +1844,7 @@ var ViewSlot = exports.ViewSlot = function () { return; } - var animation = _this5.animateView(child, 'leave'); + var animation = _this6.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1847,7 +1855,7 @@ var ViewSlot = exports.ViewSlot = function () { }); var removeAction = function removeAction() { - if (_this5.isAttached) { + if (_this6.isAttached) { for (i = 0; i < ii; ++i) { children[i].detached(); } @@ -1863,7 +1871,7 @@ var ViewSlot = exports.ViewSlot = function () { } } - _this5.children = []; + _this6.children = []; }; if (rmPromises.length > 0) { @@ -1910,7 +1918,7 @@ var ViewSlot = exports.ViewSlot = function () { }; ViewSlot.prototype.projectTo = function projectTo(slots) { - var _this6 = this; + var _this7 = this; this.projectToSlots = slots; this.add = this._projectionAdd; @@ -1921,7 +1929,7 @@ var ViewSlot = exports.ViewSlot = function () { this.removeMany = this._projectionRemoveMany; this.removeAll = this._projectionRemoveAll; this.children.forEach(function (view) { - return ShadowDOM.distributeView(view, slots, _this6); + return ShadowDOM.distributeView(view, slots, _this7); }); }; @@ -1985,10 +1993,10 @@ var ViewSlot = exports.ViewSlot = function () { }; ViewSlot.prototype._projectionRemoveMany = function _projectionRemoveMany(viewsToRemove, returnToCache) { - var _this7 = this; + var _this8 = this; viewsToRemove.forEach(function (view) { - return _this7.remove(view, returnToCache); + return _this8.remove(view, returnToCache); }); }; @@ -2678,6 +2686,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti var attr = void 0; var attrName = void 0; var attrValue = void 0; + var originalAttrName = void 0; var instruction = void 0; var info = void 0; var property = void 0; @@ -2691,6 +2700,9 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -2704,7 +2716,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -2761,7 +2773,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti this._configureProperties(instruction, resources); if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2779,7 +2791,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -3101,12 +3113,12 @@ function ensureRegistryEntry(loader, urlOrRegistryEntry) { var ProxyViewFactory = function () { function ProxyViewFactory(promise) { - var _this8 = this; + var _this9 = this; promise.then(function (x) { - return _this8.viewFactory = x; + return _this9.viewFactory = x; }); } @@ -3160,14 +3172,16 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i }; ViewEngine.prototype.loadViewFactory = function loadViewFactory(urlOrRegistryEntry, compileInstruction, loadContext, target) { - var _this9 = this; + var _this10 = this; loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(function (registryEntry) { + var url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -3178,16 +3192,16 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); - registryEntry.onReady = _this9.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { + registryEntry.onReady = _this10.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { registryEntry.resources = resources; if (registryEntry.template === null) { return registryEntry.factory = null; } - var viewFactory = _this9.viewCompiler.compile(registryEntry.template, resources, compileInstruction); + var viewFactory = _this10.viewCompiler.compile(registryEntry.template, resources, compileInstruction); return registryEntry.factory = viewFactory; }); @@ -3236,30 +3250,30 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i }; ViewEngine.prototype.importViewModelResource = function importViewModelResource(moduleImport, moduleMember) { - var _this10 = this; + var _this11 = this; return this.loader.loadModule(moduleImport).then(function (viewModelModule) { var normalizedId = _aureliaMetadata.Origin.get(viewModelModule).moduleId; - var resourceModule = _this10.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); + var resourceModule = _this11.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); if (!resourceModule.mainResource) { throw new Error('No view model found in module "' + moduleImport + '".'); } - resourceModule.initialize(_this10.container); + resourceModule.initialize(_this11.container); return resourceModule.mainResource; }); }; ViewEngine.prototype.importViewResources = function importViewResources(moduleIds, names, resources, compileInstruction, loadContext) { - var _this11 = this; + var _this12 = this; loadContext = loadContext || new ResourceLoadContext(); compileInstruction = compileInstruction || ViewCompileInstruction.normal; moduleIds = moduleIds.map(function (x) { - return _this11._applyLoaderPlugin(x); + return _this12._applyLoaderPlugin(x); }); return this.loader.loadAllModules(moduleIds).then(function (imports) { @@ -3269,8 +3283,8 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i var normalizedId = void 0; var current = void 0; var associatedModule = void 0; - var container = _this11.container; - var moduleAnalyzer = _this11.moduleAnalyzer; + var container = _this12.container; + var moduleAnalyzer = _this12.moduleAnalyzer; var allAnalysis = new Array(imports.length); for (i = 0, ii = imports.length; i < ii; ++i) { @@ -3911,14 +3925,14 @@ var HtmlBehaviorResource = exports.HtmlBehaviorResource = function () { }; HtmlBehaviorResource.prototype.register = function register(registry, name) { - var _this12 = this; + var _this13 = this; if (this.attributeName !== null) { registry.registerAttribute(name || this.attributeName, this, this.attributeName); if (Array.isArray(this.aliases)) { this.aliases.forEach(function (alias) { - registry.registerAttribute(alias, _this12, _this12.attributeName); + registry.registerAttribute(alias, _this13, _this13.attributeName); }); } } @@ -3929,7 +3943,7 @@ var HtmlBehaviorResource = exports.HtmlBehaviorResource = function () { }; HtmlBehaviorResource.prototype.load = function load(container, target, loadContext, viewStrategy, transientView) { - var _this13 = this; + var _this14 = this; var options = void 0; @@ -3942,8 +3956,8 @@ var HtmlBehaviorResource = exports.HtmlBehaviorResource = function () { } return viewStrategy.loadViewFactory(container.get(ViewEngine), options, loadContext, target).then(function (viewFactory) { - if (!transientView || !_this13.viewFactory) { - _this13.viewFactory = viewFactory; + if (!transientView || !_this14.viewFactory) { + _this14.viewFactory = viewFactory; } return viewFactory; @@ -4136,10 +4150,11 @@ var HtmlBehaviorResource = exports.HtmlBehaviorResource = function () { }; HtmlBehaviorResource.prototype._copyInheritedProperties = function _copyInheritedProperties(container, target) { - var _this14 = this; + var _this15 = this; + + var behavior = void 0; + var derived = target; - var behavior = void 0, - derived = target; while (true) { var proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; @@ -4156,19 +4171,19 @@ var HtmlBehaviorResource = exports.HtmlBehaviorResource = function () { var _loop = function _loop(_i8, _ii8) { var prop = behavior.properties[_i8]; - if (_this14.properties.some(function (p) { + if (_this15.properties.some(function (p) { return p.name === prop.name; })) { return 'continue'; } - new BindableProperty(prop).registerWith(derived, _this14); + new BindableProperty(prop).registerWith(derived, _this15); }; for (var _i8 = 0, _ii8 = behavior.properties.length; _i8 < _ii8; ++_i8) { - var _ret = _loop(_i8, _ii8); + var _ret2 = _loop(_i8, _ii8); - if (_ret === 'continue') continue; + if (_ret2 === 'continue') continue; } }; @@ -4498,27 +4513,27 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend }; CompositionEngine.prototype._createControllerAndSwap = function _createControllerAndSwap(context) { - var _this15 = this; + var _this16 = this; return this.createController(context).then(function (controller) { controller.automate(context.overrideContext, context.owningView); if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this15._swap(context, controller.view); + return _this16._swap(context, controller.view); }).then(function () { return controller; }); } - return _this15._swap(context, controller.view).then(function () { + return _this16._swap(context, controller.view).then(function () { return controller; }); }); }; CompositionEngine.prototype.createController = function createController(context) { - var _this16 = this; + var _this17 = this; var childContainer = void 0; var viewModel = void 0; @@ -4531,7 +4546,7 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend viewModelResource = context.viewModelResource; m = viewModelResource.metadata; - var viewStrategy = _this16.viewLocator.getViewStrategy(context.view || viewModel); + var viewStrategy = _this17.viewLocator.getViewStrategy(context.view || viewModel); if (context.viewResources) { viewStrategy.makeRelativeTo(context.viewResources.viewUrl); @@ -4571,7 +4586,7 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend }; CompositionEngine.prototype.compose = function compose(context) { - var _this17 = this; + var _this18 = this; context.childContainer = context.childContainer || context.container.createChild(); context.view = this.viewLocator.getViewStrategy(context.view); @@ -4598,13 +4613,13 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this17._swap(context, result); + return _this18._swap(context, result); }).then(function () { return result; }); } - return _this17._swap(context, result).then(function () { + return _this18._swap(context, result).then(function () { return result; }); }); diff --git a/dist/es2015/aurelia-templating.js b/dist/es2015/aurelia-templating.js index f22b316b..1ccc71af 100644 --- a/dist/es2015/aurelia-templating.js +++ b/dist/es2015/aurelia-templating.js @@ -612,7 +612,7 @@ export let ViewLocator = (_temp2 = _class7 = class ViewLocator { }, _class7.viewStrategyMetadataKey = 'aurelia:view-strategy', _temp2); function mi(name) { - throw new Error(`BindingLanguage must implement ${name}().`); + throw new Error(`BindingLanguage must implement ${ name }().`); } export let BindingLanguage = class BindingLanguage { @@ -1042,7 +1042,7 @@ function register(lookup, name, resource, type) { let existing = lookup[name]; if (existing) { if (existing !== resource) { - throw new Error(`Attempted to register ${type} when one with the same name already exists. Name: ${name}.`); + throw new Error(`Attempted to register ${ type } when one with the same name already exists. Name: ${ name }.`); } return; @@ -2462,6 +2462,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 let attr; let attrName; let attrValue; + let originalAttrName; let instruction; let info; let property; @@ -2475,6 +2476,9 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -2488,7 +2492,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -2545,7 +2549,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 this._configureProperties(instruction, resources); if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2563,7 +2567,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2920,9 +2924,11 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(registryEntry => { + const url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -2933,7 +2939,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); registryEntry.onReady = this.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(resources => { registryEntry.resources = resources; @@ -2964,7 +2970,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA importIds = dependencies.map(x => x.src); names = dependencies.map(x => x.name); - logger.debug(`importing resources for ${registryEntry.address}`, importIds); + logger.debug(`importing resources for ${ registryEntry.address }`, importIds); if (target) { let viewModelRequires = metadata.get(ViewEngine.viewModelRequireMetadataKey, target); @@ -2979,7 +2985,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA names.push(req.as); } } - logger.debug(`importing ViewModel resources for ${compileInstruction.associatedModuleId}`, importIds.slice(templateImportCount)); + logger.debug(`importing ViewModel resources for ${ compileInstruction.associatedModuleId }`, importIds.slice(templateImportCount)); } } @@ -2992,7 +2998,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA let resourceModule = this.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); if (!resourceModule.mainResource) { - throw new Error(`No view model found in module "${moduleImport}".`); + throw new Error(`No view model found in module "${ moduleImport }".`); } resourceModule.initialize(this.container); @@ -3408,7 +3414,7 @@ export let BindableProperty = class BindableProperty { } else if ('propertyChanged' in viewModel) { selfSubscriber = (newValue, oldValue) => viewModel.propertyChanged(name, newValue, oldValue); } else if (changeHandlerName !== null) { - throw new Error(`Change handler ${changeHandlerName} was specified but not declared on the class.`); + throw new Error(`Change handler ${ changeHandlerName } was specified but not declared on the class.`); } if (defaultValue !== undefined) { @@ -3850,8 +3856,9 @@ export let HtmlBehaviorResource = class HtmlBehaviorResource { } _copyInheritedProperties(container, target) { - let behavior, - derived = target; + let behavior; + let derived = target; + while (true) { let proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; @@ -4310,7 +4317,7 @@ export let ElementConfigResource = class ElementConfigResource { function validateBehaviorName(name, type) { if (/[A-Z]/.test(name)) { let newName = _hyphenate(name); - LogManager.getLogger('templating').warn(`'${name}' is not a valid ${type} name and has been converted to '${newName}'. Upper-case letters are not allowed because the DOM is not case-sensitive.`); + LogManager.getLogger('templating').warn(`'${ name }' is not a valid ${ type } name and has been converted to '${ newName }'. Upper-case letters are not allowed because the DOM is not case-sensitive.`); return newName; } return name; diff --git a/dist/native-modules/aurelia-templating.js b/dist/native-modules/aurelia-templating.js index 6e668262..62f454e3 100644 --- a/dist/native-modules/aurelia-templating.js +++ b/dist/native-modules/aurelia-templating.js @@ -1,9 +1,9 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18; +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + import * as LogManager from 'aurelia-logging'; @@ -261,14 +261,22 @@ export var ElementEvents = function () { }; ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) { + var _this3 = this; + var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; if (handler && typeof handler === 'function') { - var _handler = function _handler(event) { - handler(event); - _handler.dispose(); - }; - return this.subscribe(eventName, _handler, bubbles); + var _ret = function () { + var _handler = function _handler(event) { + handler(event); + _handler.dispose(); + }; + return { + v: _this3.subscribe(eventName, _handler, bubbles) + }; + }(); + + if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; } return undefined; @@ -1699,7 +1707,7 @@ export var ViewSlot = function () { }; ViewSlot.prototype.removeMany = function removeMany(viewsToRemove, returnToCache, skipAnimation) { - var _this3 = this; + var _this4 = this; var children = this.children; var ii = viewsToRemove.length; @@ -1712,7 +1720,7 @@ export var ViewSlot = function () { return; } - var animation = _this3.animateView(child, 'leave'); + var animation = _this4.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1723,7 +1731,7 @@ export var ViewSlot = function () { }); var removeAction = function removeAction() { - if (_this3.isAttached) { + if (_this4.isAttached) { for (i = 0; i < ii; ++i) { viewsToRemove[i].detached(); } @@ -1753,16 +1761,16 @@ export var ViewSlot = function () { }; ViewSlot.prototype.removeAt = function removeAt(index, returnToCache, skipAnimation) { - var _this4 = this; + var _this5 = this; var view = this.children[index]; var removeAction = function removeAction() { - index = _this4.children.indexOf(view); + index = _this5.children.indexOf(view); view.removeNodes(); - _this4.children.splice(index, 1); + _this5.children.splice(index, 1); - if (_this4.isAttached) { + if (_this5.isAttached) { view.detached(); } @@ -1786,7 +1794,7 @@ export var ViewSlot = function () { }; ViewSlot.prototype.removeAll = function removeAll(returnToCache, skipAnimation) { - var _this5 = this; + var _this6 = this; var children = this.children; var ii = children.length; @@ -1799,7 +1807,7 @@ export var ViewSlot = function () { return; } - var animation = _this5.animateView(child, 'leave'); + var animation = _this6.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1810,7 +1818,7 @@ export var ViewSlot = function () { }); var removeAction = function removeAction() { - if (_this5.isAttached) { + if (_this6.isAttached) { for (i = 0; i < ii; ++i) { children[i].detached(); } @@ -1826,7 +1834,7 @@ export var ViewSlot = function () { } } - _this5.children = []; + _this6.children = []; }; if (rmPromises.length > 0) { @@ -1873,7 +1881,7 @@ export var ViewSlot = function () { }; ViewSlot.prototype.projectTo = function projectTo(slots) { - var _this6 = this; + var _this7 = this; this.projectToSlots = slots; this.add = this._projectionAdd; @@ -1884,7 +1892,7 @@ export var ViewSlot = function () { this.removeMany = this._projectionRemoveMany; this.removeAll = this._projectionRemoveAll; this.children.forEach(function (view) { - return ShadowDOM.distributeView(view, slots, _this6); + return ShadowDOM.distributeView(view, slots, _this7); }); }; @@ -1948,10 +1956,10 @@ export var ViewSlot = function () { }; ViewSlot.prototype._projectionRemoveMany = function _projectionRemoveMany(viewsToRemove, returnToCache) { - var _this7 = this; + var _this8 = this; viewsToRemove.forEach(function (view) { - return _this7.remove(view, returnToCache); + return _this8.remove(view, returnToCache); }); }; @@ -2641,6 +2649,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 var attr = void 0; var attrName = void 0; var attrValue = void 0; + var originalAttrName = void 0; var instruction = void 0; var info = void 0; var property = void 0; @@ -2654,6 +2663,9 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -2667,7 +2679,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -2724,7 +2736,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 this._configureProperties(instruction, resources); if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2742,7 +2754,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -3064,12 +3076,12 @@ function ensureRegistryEntry(loader, urlOrRegistryEntry) { var ProxyViewFactory = function () { function ProxyViewFactory(promise) { - var _this8 = this; + var _this9 = this; promise.then(function (x) { - return _this8.viewFactory = x; + return _this9.viewFactory = x; }); } @@ -3123,14 +3135,16 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA }; ViewEngine.prototype.loadViewFactory = function loadViewFactory(urlOrRegistryEntry, compileInstruction, loadContext, target) { - var _this9 = this; + var _this10 = this; loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(function (registryEntry) { + var url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -3141,16 +3155,16 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); - registryEntry.onReady = _this9.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { + registryEntry.onReady = _this10.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { registryEntry.resources = resources; if (registryEntry.template === null) { return registryEntry.factory = null; } - var viewFactory = _this9.viewCompiler.compile(registryEntry.template, resources, compileInstruction); + var viewFactory = _this10.viewCompiler.compile(registryEntry.template, resources, compileInstruction); return registryEntry.factory = viewFactory; }); @@ -3199,30 +3213,30 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA }; ViewEngine.prototype.importViewModelResource = function importViewModelResource(moduleImport, moduleMember) { - var _this10 = this; + var _this11 = this; return this.loader.loadModule(moduleImport).then(function (viewModelModule) { var normalizedId = Origin.get(viewModelModule).moduleId; - var resourceModule = _this10.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); + var resourceModule = _this11.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); if (!resourceModule.mainResource) { throw new Error('No view model found in module "' + moduleImport + '".'); } - resourceModule.initialize(_this10.container); + resourceModule.initialize(_this11.container); return resourceModule.mainResource; }); }; ViewEngine.prototype.importViewResources = function importViewResources(moduleIds, names, resources, compileInstruction, loadContext) { - var _this11 = this; + var _this12 = this; loadContext = loadContext || new ResourceLoadContext(); compileInstruction = compileInstruction || ViewCompileInstruction.normal; moduleIds = moduleIds.map(function (x) { - return _this11._applyLoaderPlugin(x); + return _this12._applyLoaderPlugin(x); }); return this.loader.loadAllModules(moduleIds).then(function (imports) { @@ -3232,8 +3246,8 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA var normalizedId = void 0; var current = void 0; var associatedModule = void 0; - var container = _this11.container; - var moduleAnalyzer = _this11.moduleAnalyzer; + var container = _this12.container; + var moduleAnalyzer = _this12.moduleAnalyzer; var allAnalysis = new Array(imports.length); for (i = 0, ii = imports.length; i < ii; ++i) { @@ -3873,14 +3887,14 @@ export var HtmlBehaviorResource = function () { }; HtmlBehaviorResource.prototype.register = function register(registry, name) { - var _this12 = this; + var _this13 = this; if (this.attributeName !== null) { registry.registerAttribute(name || this.attributeName, this, this.attributeName); if (Array.isArray(this.aliases)) { this.aliases.forEach(function (alias) { - registry.registerAttribute(alias, _this12, _this12.attributeName); + registry.registerAttribute(alias, _this13, _this13.attributeName); }); } } @@ -3891,7 +3905,7 @@ export var HtmlBehaviorResource = function () { }; HtmlBehaviorResource.prototype.load = function load(container, target, loadContext, viewStrategy, transientView) { - var _this13 = this; + var _this14 = this; var options = void 0; @@ -3904,8 +3918,8 @@ export var HtmlBehaviorResource = function () { } return viewStrategy.loadViewFactory(container.get(ViewEngine), options, loadContext, target).then(function (viewFactory) { - if (!transientView || !_this13.viewFactory) { - _this13.viewFactory = viewFactory; + if (!transientView || !_this14.viewFactory) { + _this14.viewFactory = viewFactory; } return viewFactory; @@ -4098,10 +4112,11 @@ export var HtmlBehaviorResource = function () { }; HtmlBehaviorResource.prototype._copyInheritedProperties = function _copyInheritedProperties(container, target) { - var _this14 = this; + var _this15 = this; + + var behavior = void 0; + var derived = target; - var behavior = void 0, - derived = target; while (true) { var proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; @@ -4118,19 +4133,19 @@ export var HtmlBehaviorResource = function () { var _loop = function _loop(_i8, _ii8) { var prop = behavior.properties[_i8]; - if (_this14.properties.some(function (p) { + if (_this15.properties.some(function (p) { return p.name === prop.name; })) { return 'continue'; } - new BindableProperty(prop).registerWith(derived, _this14); + new BindableProperty(prop).registerWith(derived, _this15); }; for (var _i8 = 0, _ii8 = behavior.properties.length; _i8 < _ii8; ++_i8) { - var _ret = _loop(_i8, _ii8); + var _ret2 = _loop(_i8, _ii8); - if (_ret === 'continue') continue; + if (_ret2 === 'continue') continue; } }; @@ -4460,27 +4475,27 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 }; CompositionEngine.prototype._createControllerAndSwap = function _createControllerAndSwap(context) { - var _this15 = this; + var _this16 = this; return this.createController(context).then(function (controller) { controller.automate(context.overrideContext, context.owningView); if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this15._swap(context, controller.view); + return _this16._swap(context, controller.view); }).then(function () { return controller; }); } - return _this15._swap(context, controller.view).then(function () { + return _this16._swap(context, controller.view).then(function () { return controller; }); }); }; CompositionEngine.prototype.createController = function createController(context) { - var _this16 = this; + var _this17 = this; var childContainer = void 0; var viewModel = void 0; @@ -4493,7 +4508,7 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 viewModelResource = context.viewModelResource; m = viewModelResource.metadata; - var viewStrategy = _this16.viewLocator.getViewStrategy(context.view || viewModel); + var viewStrategy = _this17.viewLocator.getViewStrategy(context.view || viewModel); if (context.viewResources) { viewStrategy.makeRelativeTo(context.viewResources.viewUrl); @@ -4533,7 +4548,7 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 }; CompositionEngine.prototype.compose = function compose(context) { - var _this17 = this; + var _this18 = this; context.childContainer = context.childContainer || context.container.createChild(); context.view = this.viewLocator.getViewStrategy(context.view); @@ -4560,13 +4575,13 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this17._swap(context, result); + return _this18._swap(context, result); }).then(function () { return result; }); } - return _this17._swap(context, result).then(function () { + return _this18._swap(context, result).then(function () { return result; }); }); diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index 77d06f93..fcd5bfe4 100644 --- a/dist/system/aurelia-templating.js +++ b/dist/system/aurelia-templating.js @@ -3,7 +3,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-path', 'aurelia-loader', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-task-queue'], function (_export, _context) { "use strict"; - var LogManager, metadata, Origin, protocol, DOM, PLATFORM, FEATURE, relativeToFile, TemplateRegistryEntry, Loader, inject, Container, resolver, Binding, createOverrideContext, ValueConverterResource, BindingBehaviorResource, subscriberCollection, bindingMode, ObserverLocator, EventManager, TaskQueue, _createClass, _typeof, _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18, animationEvent, Animator, CompositionTransactionNotifier, CompositionTransactionOwnershipToken, CompositionTransaction, capitalMatcher, ViewEngineHooksResource, ElementEvents, ResourceLoadContext, ViewCompileInstruction, BehaviorInstruction, TargetInstruction, viewStrategy, RelativeViewStrategy, ConventionalViewStrategy, NoViewStrategy, TemplateRegistryViewStrategy, InlineViewStrategy, ViewLocator, BindingLanguage, noNodes, SlotCustomAttribute, PassThroughSlot, ShadowSlot, ShadowDOM, ViewResources, View, ViewSlot, ProviderResolver, providerResolverInstance, BoundViewFactory, ViewFactory, nextInjectorId, lastAUTargetID, ViewCompiler, ResourceModule, ResourceDescription, ModuleAnalyzer, logger, ProxyViewFactory, ViewEngine, Controller, BehaviorPropertyObserver, BindableProperty, lastProviderId, HtmlBehaviorResource, ChildObserver, noMutations, ChildObserverBinder, SwapStrategies, CompositionEngine, ElementConfigResource, defaultShadowDOMOptions, TemplatingEngine; + var LogManager, metadata, Origin, protocol, DOM, PLATFORM, FEATURE, relativeToFile, TemplateRegistryEntry, Loader, inject, Container, resolver, Binding, createOverrideContext, ValueConverterResource, BindingBehaviorResource, subscriberCollection, bindingMode, ObserverLocator, EventManager, TaskQueue, _createClass, _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18, _typeof, animationEvent, Animator, CompositionTransactionNotifier, CompositionTransactionOwnershipToken, CompositionTransaction, capitalMatcher, ViewEngineHooksResource, ElementEvents, ResourceLoadContext, ViewCompileInstruction, BehaviorInstruction, TargetInstruction, viewStrategy, RelativeViewStrategy, ConventionalViewStrategy, NoViewStrategy, TemplateRegistryViewStrategy, InlineViewStrategy, ViewLocator, BindingLanguage, noNodes, SlotCustomAttribute, PassThroughSlot, ShadowSlot, ShadowDOM, ViewResources, View, ViewSlot, ProviderResolver, providerResolverInstance, BoundViewFactory, ViewFactory, nextInjectorId, lastAUTargetID, ViewCompiler, ResourceModule, ResourceDescription, ModuleAnalyzer, logger, ProxyViewFactory, ViewEngine, Controller, BehaviorPropertyObserver, BindableProperty, lastProviderId, HtmlBehaviorResource, ChildObserver, noMutations, ChildObserverBinder, SwapStrategies, CompositionEngine, ElementConfigResource, defaultShadowDOMOptions, TemplatingEngine; @@ -1007,14 +1007,22 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) { + var _this3 = this; + var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; if (handler && typeof handler === 'function') { - var _handler = function _handler(event) { - handler(event); - _handler.dispose(); - }; - return this.subscribe(eventName, _handler, bubbles); + var _ret = function () { + var _handler = function _handler(event) { + handler(event); + _handler.dispose(); + }; + return { + v: _this3.subscribe(eventName, _handler, bubbles) + }; + }(); + + if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; } return undefined; @@ -2444,7 +2452,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewSlot.prototype.removeMany = function removeMany(viewsToRemove, returnToCache, skipAnimation) { - var _this3 = this; + var _this4 = this; var children = this.children; var ii = viewsToRemove.length; @@ -2457,7 +2465,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return; } - var animation = _this3.animateView(child, 'leave'); + var animation = _this4.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -2468,7 +2476,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }); var removeAction = function removeAction() { - if (_this3.isAttached) { + if (_this4.isAttached) { for (i = 0; i < ii; ++i) { viewsToRemove[i].detached(); } @@ -2498,16 +2506,16 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewSlot.prototype.removeAt = function removeAt(index, returnToCache, skipAnimation) { - var _this4 = this; + var _this5 = this; var view = this.children[index]; var removeAction = function removeAction() { - index = _this4.children.indexOf(view); + index = _this5.children.indexOf(view); view.removeNodes(); - _this4.children.splice(index, 1); + _this5.children.splice(index, 1); - if (_this4.isAttached) { + if (_this5.isAttached) { view.detached(); } @@ -2531,7 +2539,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewSlot.prototype.removeAll = function removeAll(returnToCache, skipAnimation) { - var _this5 = this; + var _this6 = this; var children = this.children; var ii = children.length; @@ -2544,7 +2552,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return; } - var animation = _this5.animateView(child, 'leave'); + var animation = _this6.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -2555,7 +2563,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }); var removeAction = function removeAction() { - if (_this5.isAttached) { + if (_this6.isAttached) { for (i = 0; i < ii; ++i) { children[i].detached(); } @@ -2571,7 +2579,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- } } - _this5.children = []; + _this6.children = []; }; if (rmPromises.length > 0) { @@ -2618,7 +2626,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewSlot.prototype.projectTo = function projectTo(slots) { - var _this6 = this; + var _this7 = this; this.projectToSlots = slots; this.add = this._projectionAdd; @@ -2629,7 +2637,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- this.removeMany = this._projectionRemoveMany; this.removeAll = this._projectionRemoveAll; this.children.forEach(function (view) { - return ShadowDOM.distributeView(view, slots, _this6); + return ShadowDOM.distributeView(view, slots, _this7); }); }; @@ -2693,10 +2701,10 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewSlot.prototype._projectionRemoveMany = function _projectionRemoveMany(viewsToRemove, returnToCache) { - var _this7 = this; + var _this8 = this; viewsToRemove.forEach(function (view) { - return _this7.remove(view, returnToCache); + return _this8.remove(view, returnToCache); }); }; @@ -3108,6 +3116,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- var attr = void 0; var attrName = void 0; var attrValue = void 0; + var originalAttrName = void 0; var instruction = void 0; var info = void 0; var property = void 0; @@ -3121,6 +3130,9 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -3134,7 +3146,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -3191,7 +3203,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- this._configureProperties(instruction, resources); if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -3209,7 +3221,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -3531,12 +3543,12 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- ProxyViewFactory = function () { function ProxyViewFactory(promise) { - var _this8 = this; + var _this9 = this; promise.then(function (x) { - return _this8.viewFactory = x; + return _this9.viewFactory = x; }); } @@ -3590,14 +3602,16 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewEngine.prototype.loadViewFactory = function loadViewFactory(urlOrRegistryEntry, compileInstruction, loadContext, target) { - var _this9 = this; + var _this10 = this; loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(function (registryEntry) { + var url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -3608,16 +3622,16 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); - registryEntry.onReady = _this9.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { + registryEntry.onReady = _this10.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { registryEntry.resources = resources; if (registryEntry.template === null) { return registryEntry.factory = null; } - var viewFactory = _this9.viewCompiler.compile(registryEntry.template, resources, compileInstruction); + var viewFactory = _this10.viewCompiler.compile(registryEntry.template, resources, compileInstruction); return registryEntry.factory = viewFactory; }); @@ -3666,30 +3680,30 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; ViewEngine.prototype.importViewModelResource = function importViewModelResource(moduleImport, moduleMember) { - var _this10 = this; + var _this11 = this; return this.loader.loadModule(moduleImport).then(function (viewModelModule) { var normalizedId = Origin.get(viewModelModule).moduleId; - var resourceModule = _this10.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); + var resourceModule = _this11.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); if (!resourceModule.mainResource) { throw new Error('No view model found in module "' + moduleImport + '".'); } - resourceModule.initialize(_this10.container); + resourceModule.initialize(_this11.container); return resourceModule.mainResource; }); }; ViewEngine.prototype.importViewResources = function importViewResources(moduleIds, names, resources, compileInstruction, loadContext) { - var _this11 = this; + var _this12 = this; loadContext = loadContext || new ResourceLoadContext(); compileInstruction = compileInstruction || ViewCompileInstruction.normal; moduleIds = moduleIds.map(function (x) { - return _this11._applyLoaderPlugin(x); + return _this12._applyLoaderPlugin(x); }); return this.loader.loadAllModules(moduleIds).then(function (imports) { @@ -3699,8 +3713,8 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- var normalizedId = void 0; var current = void 0; var associatedModule = void 0; - var container = _this11.container; - var moduleAnalyzer = _this11.moduleAnalyzer; + var container = _this12.container; + var moduleAnalyzer = _this12.moduleAnalyzer; var allAnalysis = new Array(imports.length); for (i = 0, ii = imports.length; i < ii; ++i) { @@ -4322,14 +4336,14 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; HtmlBehaviorResource.prototype.register = function register(registry, name) { - var _this12 = this; + var _this13 = this; if (this.attributeName !== null) { registry.registerAttribute(name || this.attributeName, this, this.attributeName); if (Array.isArray(this.aliases)) { this.aliases.forEach(function (alias) { - registry.registerAttribute(alias, _this12, _this12.attributeName); + registry.registerAttribute(alias, _this13, _this13.attributeName); }); } } @@ -4340,7 +4354,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; HtmlBehaviorResource.prototype.load = function load(container, target, loadContext, viewStrategy, transientView) { - var _this13 = this; + var _this14 = this; var options = void 0; @@ -4353,8 +4367,8 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- } return viewStrategy.loadViewFactory(container.get(ViewEngine), options, loadContext, target).then(function (viewFactory) { - if (!transientView || !_this13.viewFactory) { - _this13.viewFactory = viewFactory; + if (!transientView || !_this14.viewFactory) { + _this14.viewFactory = viewFactory; } return viewFactory; @@ -4547,10 +4561,11 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; HtmlBehaviorResource.prototype._copyInheritedProperties = function _copyInheritedProperties(container, target) { - var _this14 = this; + var _this15 = this; + + var behavior = void 0; + var derived = target; - var behavior = void 0, - derived = target; while (true) { var proto = Object.getPrototypeOf(target.prototype); target = proto && proto.constructor; @@ -4567,19 +4582,19 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- var _loop = function _loop(_i8, _ii8) { var prop = behavior.properties[_i8]; - if (_this14.properties.some(function (p) { + if (_this15.properties.some(function (p) { return p.name === prop.name; })) { return 'continue'; } - new BindableProperty(prop).registerWith(derived, _this14); + new BindableProperty(prop).registerWith(derived, _this15); }; for (var _i8 = 0, _ii8 = behavior.properties.length; _i8 < _ii8; ++_i8) { - var _ret = _loop(_i8, _ii8); + var _ret2 = _loop(_i8, _ii8); - if (_ret === 'continue') continue; + if (_ret2 === 'continue') continue; } }; @@ -4818,27 +4833,27 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; CompositionEngine.prototype._createControllerAndSwap = function _createControllerAndSwap(context) { - var _this15 = this; + var _this16 = this; return this.createController(context).then(function (controller) { controller.automate(context.overrideContext, context.owningView); if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this15._swap(context, controller.view); + return _this16._swap(context, controller.view); }).then(function () { return controller; }); } - return _this15._swap(context, controller.view).then(function () { + return _this16._swap(context, controller.view).then(function () { return controller; }); }); }; CompositionEngine.prototype.createController = function createController(context) { - var _this16 = this; + var _this17 = this; var childContainer = void 0; var viewModel = void 0; @@ -4851,7 +4866,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- viewModelResource = context.viewModelResource; m = viewModelResource.metadata; - var viewStrategy = _this16.viewLocator.getViewStrategy(context.view || viewModel); + var viewStrategy = _this17.viewLocator.getViewStrategy(context.view || viewModel); if (context.viewResources) { viewStrategy.makeRelativeTo(context.viewResources.viewUrl); @@ -4891,7 +4906,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; CompositionEngine.prototype.compose = function compose(context) { - var _this17 = this; + var _this18 = this; context.childContainer = context.childContainer || context.container.createChild(); context.view = this.viewLocator.getViewStrategy(context.view); @@ -4918,13 +4933,13 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this17._swap(context, result); + return _this18._swap(context, result); }).then(function () { return result; }); } - return _this17._swap(context, result).then(function () { + return _this18._swap(context, result).then(function () { return result; }); }); diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index bf8545ba..80284ee8 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,24 @@ + +# [1.5.0](https://github.com/aurelia/templating/compare/1.4.2...v1.5.0) (2017-10-02) + + +### Bug Fixes + +* **primaryProperty:** infinite recursion when used with template controller ([5b5ed56](https://github.com/aurelia/templating/commit/5b5ed56)) +* **view-engine:** use .address in case of RegistryEntry ([ab1064c](https://github.com/aurelia/templating/commit/ab1064c)) + + +### Features + +* **html-behavior:** Allow inheritance of bindable properties for custom elements ([1209aa6](https://github.com/aurelia/templating/commit/1209aa6)) + + +### Performance Improvements + +* **view-engine:** simplify entry url acquisition ([f57cff9](https://github.com/aurelia/templating/commit/f57cff9)) + + + ## [1.4.1](https://github.com/aurelia/templating/compare/1.4.0...v1.4.1) (2017-04-05) diff --git a/doc/api.json b/doc/api.json index 5cfccf7b..81f7a0dc 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"name":"aurelia-templating","children":[{"id":100,"name":"Animator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract class representing a mechanism for animating the DOM during various DOM state transitions."},"children":[{"id":111,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":112,"name":"addClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":113,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":114,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":381,"character":10}]},{"id":115,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":116,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":117,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"union","types":[{"type":"reference","name":"HTMLElement"},{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"HTMLElement"}]}]}},{"id":118,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use. For css animators this represents the className to be added and removed right after the animation is done."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":390,"character":9}]},{"id":101,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":102,"name":"enter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute an 'enter' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":103,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":358,"character":7}]},{"id":104,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":105,"name":"leave","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a 'leave' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":106,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":365,"character":7}]},{"id":122,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":124,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"instrinct","name":"string"}},{"id":125,"name":"properties","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object with properties for the effect\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":405,"character":16}]},{"id":107,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":108,"name":"removeClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":109,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":110,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":373,"character":13}]},{"id":119,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":120,"name":"runSequence","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Run a sequence of animations one after the other.\nfor example: animator.runSequence(\"fadeIn\",\"callout\")","returns":"Resolved when all animations are done\n"},"parameters":[{"id":121,"name":"animations","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"instrinct","name":"any"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":398,"character":13}]},{"id":126,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":127,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":128,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":411,"character":18}]}],"groups":[{"title":"Methods","kind":2048,"children":[111,115,101,104,122,107,119,126]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":351,"character":29}]},{"id":212,"name":"BehaviorInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Indicates how a custom attribute or element should be instantiated in a view."},"children":[{"id":247,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"signatures":[{"id":248,"name":"new BehaviorInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":634,"character":98}]},{"id":221,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":585,"character":19}],"type":{"type":"instrinct","name":"boolean"}},{"id":225,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":589,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":223,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":587,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":219,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":583,"character":16}],"type":{"type":"instrinct","name":"any"}},{"id":214,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":578,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":222,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":586,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":226,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":590,"character":23}],"type":{"type":"instrinct","name":"boolean"}},{"id":213,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":577,"character":21}],"type":{"type":"instrinct","name":"boolean"}},{"id":217,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":581,"character":18}],"type":{"type":"instrinct","name":"string"}},{"id":215,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":579,"character":18}],"type":{"type":"instrinct","name":"any"}},{"id":218,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":582,"character":23}],"type":{"type":"instrinct","name":"boolean"}},{"id":224,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":588,"character":6}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":216,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":580,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":677}},{"id":220,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":584,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":227,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A default behavior used in scenarios where explicit configuration isn't available."},"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":15}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":238,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":239,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":240,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":241,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":625,"character":18}]},{"id":242,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":243,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":244,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":245,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":246,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","name":"ViewFactory","id":677}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":634,"character":16}]},{"id":234,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":235,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":236,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":237,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":617,"character":16}]},{"id":228,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":229,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":601,"character":16}]},{"id":230,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":231,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":232,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":233,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":609,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[247]},{"title":"Properties","kind":1024,"children":[221,225,223,219,214,222,226,213,217,215,218,224,216,220,227]},{"title":"Methods","kind":2048,"children":[238,242,234,228,230]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":40}]},{"id":813,"name":"BehaviorPropertyObserver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior."},"children":[{"id":814,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":815,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":816,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":817,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":818,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"instrinct","name":"string"}},{"id":819,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":820,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":813}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1626,"character":47}]},{"id":826,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":827,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1652,"character":6}]},{"id":821,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":822,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1641,"character":10}]},{"id":823,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":824,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":825,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new value to set.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1647,"character":10}]},{"id":828,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":829,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":830,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"instrinct","name":"any"}},{"id":831,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function or object with a \"call\" method to be invoked for delivery of changes.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1659,"character":11}]},{"id":832,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":833,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":834,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"instrinct","name":"any"}},{"id":835,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callable that was originally subscribed with.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1666,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[814]},{"title":"Methods","kind":2048,"children":[826,821,823,828,832]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1626,"character":45}]},{"id":836,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":837,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":838,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":839,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property or a cofiguration object.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"BindableProperty","id":836}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1672,"character":39}]},{"id":849,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":850,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":851,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":813}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1700,"character":16}]},{"id":845,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":846,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":847,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":848,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1693,"character":10}]},{"id":840,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":841,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":842,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":843,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":844,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The property descriptor for this property.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1686,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[837]},{"title":"Methods","kind":2048,"children":[849,845,840]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1672,"character":37}]},{"id":360,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":367,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":368,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":369,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":370,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":371,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":372,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":903,"character":28}]},{"id":361,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":362,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":363,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":364,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":365,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":366,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":893,"character":18}]},{"id":373,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":374,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":375,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":376,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the text to parse."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":911,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[367,361,373]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":883,"character":36}]},{"id":659,"name":"BoundViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances, bound to a location within another view hierarchy."},"children":[{"id":660,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":661,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":662,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":663,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":677}},{"id":664,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BoundViewFactory","id":659}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1286,"character":39}]},{"id":667,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1305,"character":11}],"type":{"type":"instrinct","name":"any"}},{"id":665,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":666,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1300,"character":8}]},{"id":672,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":673,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1318,"character":15}]},{"id":674,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":675,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":676,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1324,"character":19}]},{"id":668,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":669,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":670,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"instrinct","name":"number"},{"type":"instrinct","name":"string"}]}},{"id":671,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1312,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[660]},{"title":"Properties","kind":1024,"children":[667]},{"title":"Methods","kind":2048,"children":[665,672,674,668]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1286,"character":37}]},{"id":890,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":891,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":892,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":893,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":894,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":349}}],"type":{"type":"reference","name":"CompositionEngine","id":890}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1792,"character":40}]},{"id":901,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":902,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":903,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":563},{"type":"reference","name":"Controller","id":787}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1819,"character":9}]},{"id":895,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":896,"name":"createController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":897,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":787}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1805,"character":18}]},{"id":898,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":899,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":900,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":80}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1812,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[891]},{"title":"Methods","kind":2048,"children":[901,895,898]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1792,"character":38}]},{"id":143,"name":"CompositionTransaction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables an initiator of a view composition to track any internal async rendering processes for completion."},"children":[{"id":144,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":145,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":143}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":447,"character":45}]},{"id":148,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":149,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","name":"CompositionTransactionNotifier","id":129}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":464,"character":8}]},{"id":146,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":147,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":135}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":458,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[144]},{"title":"Methods","kind":2048,"children":[148,146]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":447,"character":43}]},{"id":129,"name":"CompositionTransactionNotifier","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A mechanism by which an enlisted async render operation can notify the owning transaction when its work is done."},"children":[{"id":130,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":131,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":132,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":129}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":417,"character":53}]},{"id":133,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":134,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":423,"character":6}]}],"groups":[{"title":"Constructors","kind":512,"children":[130]},{"title":"Methods","kind":2048,"children":[133]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":417,"character":51}]},{"id":135,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":136,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":137,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":138,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":135}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":429,"character":59}]},{"id":141,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":142,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":441,"character":9}]},{"id":139,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":140,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the transaction owner to wait for the completion of all child compositions.","returns":"A promise that resolves when all child compositions are done.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":436,"character":28}]}],"groups":[{"title":"Constructors","kind":512,"children":[136]},{"title":"Methods","kind":2048,"children":[141,139]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":429,"character":57}]},{"id":787,"name":"Controller","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions."},"children":[{"id":791,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":792,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":793,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":794,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":795,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":796,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Controller","id":787}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1576,"character":13}]},{"id":788,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1565,"character":10}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":790,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view associated with the component being controlled by this controller.\nNote: Not all components will have a view, so the value may be null."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1576,"character":6}],"type":{"type":"reference","name":"View","id":563}},{"id":789,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1570,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":809,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":810,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1615,"character":10}]},{"id":800,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":801,"name":"automate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.\nThis should be considered a semi-private API and is subject to change without notice, even across minor or patch releases."},"parameters":[{"id":802,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":803,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1599,"character":10}]},{"id":804,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":805,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":806,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1605,"character":6}]},{"id":797,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":798,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":799,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1591,"character":9}]},{"id":811,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":812,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1620,"character":10}]},{"id":807,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":808,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1610,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[791]},{"title":"Properties","kind":1024,"children":[788,790,789]},{"title":"Methods","kind":2048,"children":[809,800,804,797,811,807]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1560,"character":31}]},{"id":304,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":305,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":306,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":307,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":349}},{"id":308,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ConventionalViewStrategy","id":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":755,"character":47}]},{"id":309,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":310,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":311,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":312,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":313,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":314,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":772,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[305]},{"title":"Methods","kind":2048,"children":[309]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":755,"character":45}]},{"id":904,"name":"ElementConfigResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that configures the EventManager with information\nabout how events relate to properties for the purpose of two-way data-binding\nto Web Components."},"children":[{"id":905,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":906,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":907,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":908,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1835,"character":12}]},{"id":913,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":914,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":915,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":916,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1852,"character":6}]},{"id":909,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":910,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":911,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":912,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1844,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[905,913,909]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1827,"character":42}]},{"id":168,"name":"ElementEvents","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Dispatches subscribets to and publishes events in the DOM.","tags":[{"tag":"param","text":"\n","param":"element"}]},"children":[{"id":169,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":170,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":171,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"ElementEvents","id":168}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":483,"character":36}]},{"id":188,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":189,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":190,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":517,"character":9}]},{"id":191,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":192,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":522,"character":12}]},{"id":172,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":173,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":174,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":175,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":176,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}},{"id":177,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":493,"character":9}]},{"id":178,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":180,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":181,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":182,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":502,"character":11}]},{"id":183,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":184,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an Event Listener on the context element, that will be disposed on the first trigger.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":185,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"String"}},{"id":186,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":187,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":511,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[169]},{"title":"Methods","kind":2048,"children":[188,191,172,178,183]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":483,"character":34}]},{"id":852,"name":"HtmlBehaviorResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that implements custom element or custom\nattribute functionality."},"children":[{"id":853,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":854,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1707,"character":43}]},{"id":859,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":860,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":861,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1725,"character":17}]},{"id":877,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":878,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs into the compiler and enables custom processing of the node on which this behavior is located.","returns":"The current node.\n"},"parameters":[{"id":879,"name":"compiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The compiler that is currently compiling the view that this behavior exists within."},"type":{"type":"reference","name":"ViewCompiler","id":698}},{"id":880,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources for the view that this behavior exists within."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":881,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":882,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":883,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node of the current node."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1765,"character":9}]},{"id":884,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":885,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of this behavior.","returns":"The Controller of this behavior.\n"},"parameters":[{"id":886,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":887,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction for this behavior that was constructed during compilation."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":888,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":889,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The bindings that are associated with the view in which this behavior exists."},"type":{"type":"reference","isArray":true,"name":"Binding"}}],"type":{"type":"reference","name":"Controller","id":787}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1775,"character":8}]},{"id":862,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":863,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":864,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":865,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1733,"character":12}]},{"id":870,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":871,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":872,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":873,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":874,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context object provided by the view engine."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":875,"name":"viewStrategy","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A view strategy to overload the default strategy defined by the resource."},"type":{"type":"reference","name":"ViewStrategy","id":10}},{"id":876,"name":"transientView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicated whether the view strategy is transient or\npermanently tied to this component.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HtmlBehaviorResource","id":852}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1754,"character":6}]},{"id":866,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":867,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":868,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":869,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1742,"character":10}]},{"id":855,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":856,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":857,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"instrinct","name":"string"}},{"id":858,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An already existing resource that may need a convention name applied.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1719,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[853]},{"title":"Methods","kind":2048,"children":[859,877,884,862,870,866,855]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1707,"character":41}]},{"id":337,"name":"InlineViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that allows the component authore to inline the html for the view."},"children":[{"id":338,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":339,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":340,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The markup for the view. Be sure to include the wrapping template tag."},"type":{"type":"instrinct","name":"string"}},{"id":341,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":342,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"InlineViewStrategy","id":337}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":825,"character":41}]},{"id":343,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":344,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":345,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":346,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":347,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":348,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":843,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[338]},{"title":"Methods","kind":2048,"children":[343]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":825,"character":39}]},{"id":740,"name":"ModuleAnalyzer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Analyzes a module in order to discover the view resources that it exports."},"children":[{"id":741,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":742,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":740}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1467,"character":37}]},{"id":746,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":747,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":748,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"instrinct","name":"string"}},{"id":749,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"instrinct","name":"any"}},{"id":750,"name":"mainResourceKey","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the main resource."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":708}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1488,"character":9}]},{"id":743,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":744,"name":"getAnalysis","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the ResourceModule analysis for a previously analyzed module.","returns":"The ResouceModule if found, undefined otherwise.\n"},"parameters":[{"id":745,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to lookup."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":708}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1479,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[741]},{"title":"Methods","kind":2048,"children":[746,743]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1467,"character":35}]},{"id":315,"name":"NoViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that indicates that the component has no view that the templating engine needs to manage.\nTypically used when the component author wishes to take over fine-grained rendering control."},"children":[{"id":316,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":317,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":318,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":319,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"NoViewStrategy","id":315}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":779,"character":37}]},{"id":320,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":321,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":322,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":323,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":324,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":325,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":796,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[316]},{"title":"Methods","kind":2048,"children":[320]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":779,"character":35}]},{"id":385,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":386,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":387,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":388,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":389,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":390,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":391,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":385}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":917,"character":38}]},{"id":392,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":919,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":402,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":403,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":404,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":405,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":406,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":407,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":922,"character":9}]},{"id":425,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":426,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":928,"character":10}]},{"id":422,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":423,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":424,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":927,"character":6}]},{"id":419,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":420,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":421,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":926,"character":9}]},{"id":427,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":428,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":929,"character":10}]},{"id":399,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":400,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":401,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":921,"character":15}]},{"id":415,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":416,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":417,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":418,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":925,"character":13}]},{"id":412,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":413,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":414,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":924,"character":11}]},{"id":408,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":409,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":410,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":411,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":923,"character":12}]},{"id":393,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":394,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":395,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":396,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":397,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":398,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":920,"character":23}]},{"id":429,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":430,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":930,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[386]},{"title":"Properties","kind":1024,"children":[392]},{"title":"Methods","kind":2048,"children":[402,425,422,419,427,399,415,412,408,393,429]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":917,"character":36}]},{"id":291,"name":"RelativeViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that loads a view relative to its associated view-model."},"children":[{"id":292,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":293,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":294,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The relative path to the view.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RelativeViewStrategy","id":291}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":727,"character":43}]},{"id":295,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":296,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":297,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":298,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":299,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":300,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":743,"character":17}]},{"id":301,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":302,"name":"makeRelativeTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the view loaded by this strategy relative to the provided file path."},"parameters":[{"id":303,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to load the view relative to.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":749,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[292]},{"title":"Methods","kind":2048,"children":[295,301]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":727,"character":41}]},{"id":723,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":724,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":725,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":726,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"instrinct","name":"string"}},{"id":727,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"instrinct","name":"any"}},{"id":728,"name":"resourceTypeMeta","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The metadata located on the resource.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"ResourceDescription","id":723}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1432,"character":42}]},{"id":729,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":730,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":731,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1446,"character":12}]},{"id":736,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":737,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resource.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":738,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":739,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]},{"type":"instrinct","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1461,"character":6}]},{"id":732,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":733,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":734,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":735,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the resource.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1453,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[724]},{"title":"Methods","kind":2048,"children":[729,736,732]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1432,"character":40}]},{"id":193,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":195,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":196,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":529,"character":23}]},{"id":194,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":529,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":197,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":198,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":199,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the dependency.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":540,"character":15}]},{"id":200,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":201,"name":"hasDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks if the current context includes a load of the specified url.","returns":"True if the url is being loaded in the context; false otherwise.\n"},"parameters":[{"id":202,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[195]},{"title":"Properties","kind":1024,"children":[194]},{"title":"Methods","kind":2048,"children":[197,200]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":528,"character":40}]},{"id":708,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":709,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":710,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":711,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The id of the module that contains view resources.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":708}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1399,"character":37}]},{"id":712,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":713,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":714,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1411,"character":12}]},{"id":719,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":720,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resources within this module.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":721,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":722,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1426,"character":6}]},{"id":715,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":716,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":717,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":718,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the default resource.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1418,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[709]},{"title":"Methods","kind":2048,"children":[712,719,715]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1399,"character":35}]},{"id":477,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":478,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":948,"character":23}],"type":{"type":"instrinct","name":"any"}},{"id":498,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":499,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":500,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":501,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":502,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":503,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":504,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":505,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":953,"character":24}]},{"id":482,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":483,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":484,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":485,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":486,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":487,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":488,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":950,"character":23}]},{"id":479,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":480,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":481,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":949,"character":20}]},{"id":494,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":495,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":496,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":497,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":952,"character":24}]},{"id":489,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":490,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":491,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":492,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":493,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":951,"character":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[478]},{"title":"Methods","kind":2048,"children":[498,482,479,494,489]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":947,"character":30}]},{"id":431,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":432,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":433,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":434,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":435,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":436,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":431}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":932,"character":33}]},{"id":437,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":934,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":438,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":439,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":440,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":441,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":442,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":443,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":444,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":935,"character":9}]},{"id":471,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":472,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":943,"character":10}]},{"id":468,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":469,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":470,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":942,"character":6}]},{"id":465,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":466,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":467,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":941,"character":9}]},{"id":473,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":474,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":944,"character":10}]},{"id":455,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":456,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":457,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":458,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":939,"character":13}]},{"id":452,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":453,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":454,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":938,"character":11}]},{"id":449,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":450,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":451,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":937,"character":11}]},{"id":445,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":446,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":447,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":448,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":936,"character":12}]},{"id":459,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":460,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":461,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":462,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":463,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":464,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":940,"character":23}]},{"id":475,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":476,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":945,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[432]},{"title":"Properties","kind":1024,"children":[437]},{"title":"Methods","kind":2048,"children":[438,471,468,465,473,455,452,449,445,459,475]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":932,"character":31}]},{"id":377,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":378,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":379,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":380,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":377}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":42}]},{"id":381,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":382,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":383,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":384,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":915,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[378]},{"title":"Methods","kind":2048,"children":[381]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":40}]},{"id":249,"name":"TargetInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Provides all the instructions for how a target element should be enhanced inside of a view."},"children":[{"id":289,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TargetInstruction."},"signatures":[{"id":290,"name":"new TargetInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TargetInstruction."},"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":160}]},{"id":260,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":656,"character":19}],"type":{"type":"instrinct","name":"boolean"}},{"id":257,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":653,"character":22}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":212}]}},{"id":255,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":651,"character":19}],"type":{"type":"instrinct","name":"any"}},{"id":261,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":657,"character":20}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":256,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":13}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":250,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":646,"character":12}],"type":{"type":"instrinct","name":"number"}},{"id":262,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":658,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":251,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":647,"character":18}],"type":{"type":"instrinct","name":"number"}},{"id":258,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":654,"character":11}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":252,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":648,"character":12}],"type":{"type":"instrinct","name":"boolean"}},{"id":254,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":650,"character":21}],"type":{"type":"instrinct","name":"any"}},{"id":253,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":649,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":263,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":659,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":259,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":655,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":677}},{"id":264,"name":"noExpressions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"An empty array used to represent a target with no binding expressions."},"sources":[{"fileName":"aurelia-templating.d.ts","line":664,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":268,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":269,"name":"contentExpression","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a binding expression in the content of an element.","returns":"The created instruction.\n"},"parameters":[{"id":270,"name":"expression","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The binding expression."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":26}]},{"id":271,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":272,"name":"lifting","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory.","returns":"The created instruction.\n"},"parameters":[{"id":273,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":274,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":686,"character":16}]},{"id":275,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":276,"name":"normal","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":277,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":278,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":279,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":280,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":212}]}},{"id":281,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":282,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":698,"character":15}]},{"id":265,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":266,"name":"shadowSlot","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a shadow dom slot.","returns":"The created instruction.\n"},"parameters":[{"id":267,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":671,"character":19}]},{"id":283,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":284,"name":"surrogate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents the surrogate behaviors and bindings for an element.","returns":"The created instruction.\n"},"parameters":[{"id":285,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":286,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":212}]}},{"id":287,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":288,"name":"values","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes to transplant."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[289]},{"title":"Properties","kind":1024,"children":[260,257,255,261,256,250,262,251,258,252,254,253,263,259,264]},{"title":"Methods","kind":2048,"children":[268,271,275,265,283]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":645,"character":38}]},{"id":326,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":327,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":328,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":329,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"instrinct","name":"string"}},{"id":330,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The template registry entry used in loading the view factory.\n"},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"TemplateRegistryViewStrategy","id":326}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":802,"character":51}]},{"id":331,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":332,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":333,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":334,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":335,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":336,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":819,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[327]},{"title":"Methods","kind":2048,"children":[331]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":802,"character":49}]},{"id":917,"name":"TemplatingEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A facade of the templating engine capabilties which provides a more user friendly API for common use cases."},"children":[{"id":918,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":919,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":920,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":921,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":740}},{"id":922,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":698}},{"id":923,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":890}}],"type":{"type":"reference","name":"TemplatingEngine","id":917}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1974,"character":39}]},{"id":927,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":928,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes components and views.","returns":"A promise for the resulting Controller or View. Consumers of this API\nare responsible for enforcing the Controller/View lifecycle.\n"},"parameters":[{"id":929,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":563},{"type":"reference","name":"Controller","id":787}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1997,"character":9}]},{"id":924,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":925,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":926,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":100}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1989,"character":19}]},{"id":930,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":931,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enhances existing DOM with behaviors and bindings.","returns":"A View representing the enhanced UI. Consumers of this API\nare responsible for enforcing the View lifecycle.\n"},"parameters":[{"id":932,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element to enhance or a set of instructions for the enhancement process."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"EnhanceInstruction","id":94}]}}],"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2005,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[918]},{"title":"Methods","kind":2048,"children":[927,924,930]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1974,"character":37}]},{"id":563,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":569,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":570,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":571,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":572,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":677}},{"id":573,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":574,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"reference","isArray":true,"name":"Controller","id":787}},{"id":575,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"reference","isArray":true,"name":"Binding"}},{"id":576,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"reference","isArray":true,"name":"ViewNode","id":47}},{"id":577,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1105,"character":26}]},{"id":567,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The primary binding context that this view is data-bound to."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":564,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Dependency Injection Container that was used to create this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1085,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":566,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Contains the DOM Nodes which represent this View. If the view was created via the \"enhance\" API, this will be an Element, otherwise it will be a DocumentFragment. If not created via \"enhance\" then the fragment will only contain nodes when the View is detached from the DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1095,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":568,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The override context which contains properties capable of overriding those found on the binding context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1105,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":565,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The ViewFactory that built this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1090,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":677}},{"id":587,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":588,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":589,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1139,"character":12}]},{"id":595,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":596,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":597,"name":"parent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The parent element to append this view's nodes to.\n"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1156,"character":15}]},{"id":600,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":601,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1166,"character":10}]},{"id":582,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":583,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":584,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":585,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}},{"id":586,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1133,"character":6}]},{"id":580,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":581,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the created callback for this view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1126,"character":9}]},{"id":602,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":603,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1171,"character":10}]},{"id":592,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":593,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":594,"name":"refNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to insert this view's nodes before.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1150,"character":19}]},{"id":598,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":599,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1161,"character":13}]},{"id":578,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":579,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1121,"character":15}]},{"id":590,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":591,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1144,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[569]},{"title":"Properties","kind":1024,"children":[567,564,566,568,565]},{"title":"Methods","kind":2048,"children":[587,595,600,582,580,602,592,598,578,590]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1080,"character":25}]},{"id":203,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":208,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":209,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":210,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"instrinct","name":"boolean"}},{"id":211,"name":"compileSurrogate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation also include surrogate bindings and behaviors.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":560,"character":40}]},{"id":206,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":555,"character":20}],"type":{"type":"instrinct","name":"any"}},{"id":205,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":554,"character":18}],"type":{"type":"instrinct","name":"boolean"}},{"id":204,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":553,"character":17}],"type":{"type":"instrinct","name":"boolean"}},{"id":207,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":560,"character":15}],"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"groups":[{"title":"Constructors","kind":512,"children":[208]},{"title":"Properties","kind":1024,"children":[206,205,204,207]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":552,"character":43}]},{"id":698,"name":"ViewCompiler","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views."},"children":[{"id":699,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":700,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":701,"name":"bindingLanguage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The default data binding language and syntax used during view compilation."},"type":{"type":"reference","name":"BindingLanguage","id":360}},{"id":702,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The global resources used during compilation when none are provided for compilation.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"reference","name":"ViewCompiler","id":698}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1377,"character":35}]},{"id":703,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views.","returns":"The compiled ViewFactory.\n"},"parameters":[{"id":705,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template, fragment or string to compile."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"DocumentFragment"},{"type":"instrinct","name":"string"}]}},{"id":706,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":707,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A set of instructions that customize how compilation occurs."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"type":{"type":"reference","name":"ViewFactory","id":677}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1393,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[699]},{"title":"Methods","kind":2048,"children":[703]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1377,"character":33}]},{"id":751,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":753,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":754,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":755,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":756,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":757,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":698}},{"id":758,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":740}},{"id":759,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"reference","name":"ViewEngine","id":751}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1499,"character":42}]},{"id":752,"name":"viewModelRequireMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing requires declared in a ViewModel."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1499,"character":36}],"type":{"type":"instrinct","name":"any"}},{"id":760,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":761,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":762,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"instrinct","name":"string"}},{"id":763,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin implementation that handles the resource type.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1516,"character":19}]},{"id":776,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":777,"name":"importViewModelResource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view model as a resource.","returns":"A promise for the ResourceDescription.\n"},"parameters":[{"id":778,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"instrinct","name":"string"}},{"id":779,"name":"moduleMember","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The export from the module to generate the resource for."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ResourceDescription","id":723}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1544,"character":25}]},{"id":780,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":781,"name":"importViewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Imports the specified resources with the specified names into the view resources object.","returns":"A promise for the ViewResources.\n"},"parameters":[{"id":782,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"instrinct","isArray":true,"name":"string"}},{"id":783,"name":"names","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The names associated with resource modules to import."},"type":{"type":"instrinct","isArray":true,"name":"string"}},{"id":784,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":785,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compilation instruction associated with the resource imports."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":786,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":506}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1554,"character":21}]},{"id":770,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":771,"name":"loadTemplateResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads all the resources specified by the registry entry.","returns":"A promise of ViewResources for the registry entry.\n"},"parameters":[{"id":772,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":773,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":774,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":775,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":506}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1536,"character":23}]},{"id":764,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":765,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads and compiles a ViewFactory from a url or template registry entry.","returns":"A promise for the compiled view factory.\n"},"parameters":[{"id":766,"name":"urlOrRegistryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A url or template registry entry to generate the view factory for."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"TemplateRegistryEntry"}]}},{"id":767,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Instructions detailing how the factory should be compiled."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":768,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this factory load is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":769,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1526,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[753]},{"title":"Properties","kind":1024,"children":[752]},{"title":"Methods","kind":2048,"children":[760,776,780,770,764]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1494,"character":31}]},{"id":150,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":151,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":152,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":150}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":466,"character":46}]},{"id":153,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":154,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":155,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":156,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":468,"character":12}]},{"id":161,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":162,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":163,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":164,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":470,"character":6}]},{"id":157,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":158,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":159,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":160,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":469,"character":10}]},{"id":165,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":166,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":167,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":471,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[151]},{"title":"Methods","kind":2048,"children":[153,161,157,165]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":466,"character":44}]},{"id":677,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":679,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":680,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":681,"name":"template","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The document fragment that serves as a template for the view to be created."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":682,"name":"instructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions to be applied ot the template during the creation of a view."},"type":{"type":"reference","name":"Object"}},{"id":683,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"reference","name":"ViewFactory","id":677}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1335,"character":17}]},{"id":678,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1335,"character":11}],"type":{"type":"instrinct","name":"any"}},{"id":693,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":694,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"parameters":[{"id":695,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":696,"name":"createInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction used to customize view creation."},"type":{"type":"reference","name":"ViewCreateInstruction","id":7}},{"id":697,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The custom element that hosts the view."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1371,"character":8}]},{"id":688,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":689,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1356,"character":15}]},{"id":690,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":691,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":692,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1362,"character":19}]},{"id":684,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":685,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":686,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"instrinct","name":"number"},{"type":"instrinct","name":"string"}]}},{"id":687,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1350,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[679]},{"title":"Properties","kind":1024,"children":[678]},{"title":"Methods","kind":2048,"children":[693,688,690,684]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1330,"character":32}]},{"id":349,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":350,"name":"viewStrategyMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing/finding view strategies associated with an class/object."},"sources":[{"fileName":"aurelia-templating.d.ts","line":854,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":357,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":358,"name":"convertOriginToViewUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Conventionally converts a view model origin to a view url.\nUsed by the ConventionalViewStrategy.","returns":"The view url.\n"},"parameters":[{"id":359,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to convert."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":877,"character":24}]},{"id":354,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":355,"name":"createFallbackViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a fallback View Strategy. Used when unable to locate a configured strategy.\nThe default implementation returns and instance of ConventionalViewStrategy.","returns":"The fallback ViewStrategy.\n"},"parameters":[{"id":356,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to return the strategy for."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ViewStrategy","id":10}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":869,"character":28}]},{"id":351,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":352,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the view strategy for the value.","returns":"The located ViewStrategy instance.\n"},"parameters":[{"id":353,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value to locate the view strategy for."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ViewStrategy","id":10}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":861,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[350]},{"title":"Methods","kind":2048,"children":[357,354,351]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":849,"character":32}]},{"id":506,"name":"ViewResources","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a collection of resources used during the compilation of a view."},"children":[{"id":508,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":509,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":510,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parent resources. This resources can override them, but if a resource is not found, it will be looked up in the parent."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":511,"name":"viewUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The url of the view to which these resources apply.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ViewResources","id":506}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":967,"character":23}]},{"id":507,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"sources":[{"fileName":"aurelia-templating.d.ts","line":967,"character":17}],"type":{"type":"instrinct","name":"any"}},{"id":539,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":540,"name":"getAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML attribute behavior.","returns":"The HtmlBehaviorResource for the attribute or null.\n"},"parameters":[{"id":541,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute to lookup."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1036,"character":14}]},{"id":553,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":554,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":555,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1064,"character":20}]},{"id":515,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":516,"name":"getBindingLanguage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the binding language associated with these resources, or return the provided fallback implementation.","returns":"The binding language.\n"},"parameters":[{"id":517,"name":"bindingLanguageFallback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The fallback binding language implementation to use if no binding language is configured locally."},"type":{"type":"reference","name":"BindingLanguage","id":360}}],"type":{"type":"reference","name":"BindingLanguage","id":360}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":20}]},{"id":528,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":529,"name":"getElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML element behavior.","returns":"The HtmlBehaviorResource for the tag name or null.\n"},"parameters":[{"id":530,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag name to search for."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1014,"character":12}]},{"id":560,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":561,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":562,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1078,"character":10}]},{"id":546,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":547,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":548,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1050,"character":19}]},{"id":531,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":532,"name":"mapAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the known attribute name based on the local attribute name.","returns":"The known name.\n"},"parameters":[{"id":533,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The local attribute name to lookup."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1021,"character":14}]},{"id":518,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":519,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":520,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":993,"character":15}]},{"id":534,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":535,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":536,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":537,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":538,"name":"knownAttribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The well-known name of the attribute (in lieu of the local name).\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1029,"character":19}]},{"id":549,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":551,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"instrinct","name":"string"}},{"id":552,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1057,"character":25}]},{"id":524,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":525,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":526,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"instrinct","name":"string"}},{"id":527,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1007,"character":17}]},{"id":556,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":557,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":558,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}},{"id":559,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1071,"character":15}]},{"id":542,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":543,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":544,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"instrinct","name":"string"}},{"id":545,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1043,"character":24}]},{"id":512,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":513,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":514,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":17}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":980,"character":25}]},{"id":521,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":522,"name":"relativeToView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a path relative to the associated view's origin.","returns":"The calcualted path.\n"},"parameters":[{"id":523,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1000,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[508]},{"title":"Properties","kind":1024,"children":[507]},{"title":"Methods","kind":2048,"children":[539,553,515,528,560,546,531,518,534,549,524,556,542,512,521]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":962,"character":34}]},{"id":604,"name":"ViewSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a slot or location within the DOM to which views can be added and removed.\nManages the view lifecycle for its children."},"children":[{"id":605,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":606,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":607,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM node which will server as the anchor or container for insertion."},"type":{"type":"reference","name":"Node"}},{"id":608,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"instrinct","name":"boolean"}},{"id":609,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The animator that will controll enter/leave transitions for this slot.\n"},"type":{"type":"reference","name":"Animator","id":100}}],"type":{"type":"reference","name":"ViewSlot","id":604}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1178,"character":31}]},{"id":622,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":623,"name":"add","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a view to the slot.","returns":"May return a promise if the view addition triggered an animation.\n"},"parameters":[{"id":624,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1219,"character":5}]},{"id":610,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"name":"animateView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":" Runs the animator against the first animatable element found within the view's fragment\n @param view The view to use when searching for the element.\n @param direction The animation direction enter|leave.\n @returns An animation complete Promise or undefined if no animation was run."},"parameters":[{"id":612,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}},{"id":613,"name":"direction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1194,"character":13}]},{"id":652,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":653,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1274,"character":10}]},{"id":616,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":617,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":618,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":619,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1207,"character":6}]},{"id":654,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":655,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1279,"character":10}]},{"id":625,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":626,"name":"insert","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts a view into the slot.","returns":"May return a promise if the view insertion triggered an animation.\n"},"parameters":[{"id":627,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"instrinct","name":"number"}},{"id":628,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1227,"character":8}]},{"id":629,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":630,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":631,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"instrinct","name":"any"}},{"id":632,"name":"targetIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index to insert the view at.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1234,"character":6}]},{"id":656,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":657,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":658,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1280,"character":11}]},{"id":633,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":634,"name":"remove","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":635,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":563}},{"id":636,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":637,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":563}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1243,"character":8}]},{"id":648,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":649,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all views from the slot.","returns":"May return a promise if the view removals triggered an animation.\n"},"parameters":[{"id":650,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":651,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1269,"character":11}]},{"id":643,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":644,"name":"removeAt","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view an a specified index from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":645,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"instrinct","name":"number"}},{"id":646,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":647,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":563},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":563}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1261,"character":10}]},{"id":638,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":639,"name":"removeMany","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes many views from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":640,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"reference","isArray":true,"name":"View","id":563}},{"id":641,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the views be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":642,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":563}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1252,"character":12}]},{"id":614,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":615,"name":"transformChildNodesIntoView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Takes the child nodes of an existing element that has been converted into a ViewSlot\nand makes those nodes into a View within the slot."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1200,"character":29}]},{"id":620,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":621,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1212,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[605]},{"title":"Methods","kind":2048,"children":[622,610,652,616,654,625,629,656,633,648,643,638,614,620]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1178,"character":29}]},{"id":68,"name":"ComponentAttached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the attached convention."},"children":[{"id":69,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":70,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when the component is attached to the DOM (in document)."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":195,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[69]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":190,"character":42}]},{"id":63,"name":"ComponentBind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the bind convention."},"children":[{"id":64,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":65,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when databinding is activated on the view and view-model.\nThe \"binding context\" to which the component is being bound will be passed first.\nAn \"override context\" will be passed second. The override context contains information used to traverse\nthe parent hierarchy and can also be used to add any contextual properties that the component wants to add."},"parameters":[{"id":66,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":67,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":181,"character":6}]}],"groups":[{"title":"Methods","kind":2048,"children":[64]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":173,"character":38}]},{"id":58,"name":"ComponentCreated","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the created convention."},"children":[{"id":59,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":60,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the constructor has been called.\nAt this point in time, the view has also been created and both the view-model and the view\nare connected to their controller. The hook will recieve the instance of the \"owningView\".\nThis is the view that the component is declared inside of. If the component itself has a view,\nthis will be passed second."},"parameters":[{"id":61,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}},{"id":62,"name":"myView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":164,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[59]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":155,"character":41}]},{"id":71,"name":"ComponentDetached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the detached convention."},"children":[{"id":72,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":73,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic if/when the component is removed from the the DOM."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":209,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[72]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":204,"character":42}]},{"id":74,"name":"ComponentUnbind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the unbind convention."},"children":[{"id":75,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":76,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the component is detached and unbound."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":223,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[75]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":218,"character":40}]},{"id":80,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":83,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"sources":[{"fileName":"aurelia-templating.d.ts","line":258,"character":16}],"type":{"type":"instrinct","name":"any"}},{"id":82,"name":"childContainer","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The child Container for the component creation. One will be created from the parent if not provided."},"sources":[{"fileName":"aurelia-templating.d.ts","line":253,"character":16}],"type":{"type":"reference","name":"Container"}},{"id":81,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":248,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":93,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The element that will parent the dynamic component.\nIt will be registered in the child container of this composition."},"sources":[{"fileName":"aurelia-templating.d.ts","line":309,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":86,"name":"model","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Data to be passed to the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":273,"character":7}],"type":{"type":"instrinct","name":"any"}},{"id":84,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":263,"character":17}],"type":{"type":"instrinct","name":"any"}},{"id":89,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"sources":[{"fileName":"aurelia-templating.d.ts","line":288,"character":12}],"type":{"type":"reference","name":"View","id":563}},{"id":92,"name":"skipActivation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the composition system skip calling the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":303,"character":16}],"type":{"type":"instrinct","name":"boolean"}},{"id":90,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view url or view strategy to override the default view location convention."},"sources":[{"fileName":"aurelia-templating.d.ts","line":293,"character":6}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"ViewStrategy","id":10}]}},{"id":85,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":268,"character":11}],"type":{"type":"instrinct","name":"any"}},{"id":87,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":278,"character":19}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":852}},{"id":88,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":283,"character":15}],"type":{"type":"reference","name":"ViewResources","id":506}},{"id":91,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"sources":[{"fileName":"aurelia-templating.d.ts","line":298,"character":10}],"type":{"type":"reference","name":"ViewSlot","id":604}}],"groups":[{"title":"Properties","kind":1024,"children":[83,82,81,93,86,84,89,92,90,85,87,88,91]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":243,"character":43}]},{"id":77,"name":"DynamicComponentGetViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the getViewStrategy convention for dynamic components (used with the compose element or the router)."},"children":[{"id":78,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":79,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to provide custom view strategy when this component is used with the compose element or the router."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"ViewStrategy","id":10}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":237,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[78]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":232,"character":56}]},{"id":94,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":98,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":335,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":95,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":320,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":96,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":325,"character":9}],"type":{"type":"reference","name":"Element"}},{"id":99,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":340,"character":17}],"type":{"type":"instrinct","name":"any"}},{"id":97,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":330,"character":11}],"type":{"type":"reference","name":"ViewResources","id":506}}],"groups":[{"title":"Properties","kind":1024,"children":[98,95,96,99,97]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":315,"character":43}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":39,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":5,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":40,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":38,"character":11}],"type":{"type":"instrinct","name":"string"}},{"id":6,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":41,"character":9}],"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,3,6]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":37,"character":37}]},{"id":7,"name":"ViewCreateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be created."},"children":[{"id":8,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that the view is being created by enhancing existing DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":52,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":9,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Specifies a key/value lookup of part replacements for the view being created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":57,"character":18}],"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[8,9]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":47,"character":46}]},{"id":17,"name":"ViewEngineHooks","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"View engine hooks that enable a view resource to provide custom processing during the compilation or creation of a view."},"children":[{"id":24,"name":"afterCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a template is compiled.","tags":[{"tag":"param","text":"The view factory that was produced from the compilation process.\n","param":"viewFactory"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":93,"character":14}],"type":{"type":"reflection","declaration":{"id":25,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":26,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":27,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":677}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":93,"character":16}]}}},{"id":35,"name":"afterCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a view is created.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":108,"character":13}],"type":{"type":"reflection","declaration":{"id":36,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":37,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":38,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":108,"character":15}]}}},{"id":39,"name":"beforeBind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after the bindingContext and overrideContext are configured on the view but before the view is bound.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":114,"character":12}],"type":{"type":"reflection","declaration":{"id":40,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":41,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":42,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":114,"character":14}]}}},{"id":18,"name":"beforeCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a template is compiled.","tags":[{"tag":"param","text":"The DocumentFragment to compile.","param":"content"},{"tag":"param","text":"The resources to compile the view against.","param":"resources"},{"tag":"param","text":"The compilation instruction associated with the compilation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":87,"character":15}],"type":{"type":"reflection","declaration":{"id":19,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":20,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":21,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":22,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":23,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":87,"character":17}]}}},{"id":28,"name":"beforeCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a view is created.","tags":[{"tag":"param","text":"The view factory that will be used to create the view.","param":"viewFactory"},{"tag":"param","text":"The DI container used during view creation.","param":"container"},{"tag":"param","text":"The cloned document fragment representing the view.","param":"content"},{"tag":"param","text":"The view creation instruction associated with this creation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":102,"character":14}],"type":{"type":"reflection","declaration":{"id":29,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":30,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":31,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":677}},{"id":32,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":33,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":34,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":7}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":102,"character":16}]}}},{"id":43,"name":"beforeUnbind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before the view is unbind. The bindingContext and overrideContext are still available on the view.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":14}],"type":{"type":"reflection","declaration":{"id":44,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":45,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":46,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":16}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[24,35,39,18,28,43]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":79,"character":40}]},{"id":47,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":52,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":53,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":139,"character":10}]},{"id":48,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":49,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":50,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":51,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":134,"character":6}]},{"id":54,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":55,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":144,"character":10}]},{"id":56,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":57,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":149,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[52,48,54,56]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":127,"character":33}]},{"id":10,"name":"ViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Implemented by classes that describe how a view factory should be loaded."},"children":[{"id":11,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":13,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":751}},{"id":14,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":15,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":16,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":677}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":73,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[11]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":63,"character":37}]},{"id":944,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1787,"character":35}],"type":{"type":"instrinct","name":"any"}},{"id":933,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"List the events that an Animator should raise."},"sources":[{"fileName":"aurelia-templating.d.ts","line":346,"character":35}],"type":{"type":"instrinct","name":"any"}},{"id":937,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"sources":[{"fileName":"aurelia-templating.d.ts","line":722,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":948,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":949,"name":"behavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a custom HtmlBehaviorResource instance or an object that overrides various implementation details of the default HtmlBehaviorResource."},"parameters":[{"id":950,"name":"override","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The customized HtmlBehaviorResource or an object to override the default with.\n"},"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":852},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1865,"character":32}]},{"id":962,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":963,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":964,"name":"nameOrConfigOrTarget","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the property, or a configuration object.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}},{"id":965,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":966,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1892,"character":32}]},{"id":941,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":942,"name":"child","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an immediate content child element that matches the provided selector."},"parameters":[{"id":943,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1786,"character":29}]},{"id":938,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":939,"name":"children","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an array of immediate content child elements that matches the provided selector."},"parameters":[{"id":940,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1781,"character":32}]},{"id":979,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":980,"name":"containerless","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should be rendered without its\nelement container."},"parameters":[{"id":981,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1926,"character":37}]},{"id":954,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":955,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":956,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"instrinct","name":"string"}},{"id":957,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound with .bind."},"type":{"type":"instrinct","name":"number"}},{"id":958,"name":"aliases","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The array of aliases to associate to the custom attribute.\n"},"type":{"type":"instrinct","isArray":true,"name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1879,"character":39}]},{"id":951,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":952,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":953,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1871,"character":37}]},{"id":967,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":968,"name":"dynamicOptions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that the decorated custom attribute has options that\nare dynamic, based on their presence in HTML and not statically known."},"parameters":[{"id":969,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1898,"character":38}]},{"id":997,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":998,"name":"elementConfig","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class provides element configuration\nto the EventManager for one or more Web Components."},"parameters":[{"id":999,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1958,"character":37}]},{"id":988,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":989,"name":"inlineView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a view template, directly inline, for the component. Be\nsure to wrap the markup in a template element."},"parameters":[{"id":990,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"instrinct","name":"string"}},{"id":991,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A list of dependencies that the template has."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":992,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A base url from which the dependencies will be loaded.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1947,"character":34}]},{"id":993,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":994,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":995,"name":"targetOrDependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Array","typeArguments":[{"type":"instrinct","name":"any"}]}]}},{"id":996,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1952,"character":30}]},{"id":973,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":974,"name":"processAttributes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the attributes on an element before the framework inspects them."},"parameters":[{"id":975,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a function which can provide custom processing of the content.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1910,"character":41}]},{"id":976,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":977,"name":"processContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the content that is places inside the\ncustom element by its consumer."},"parameters":[{"id":978,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Function"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1920,"character":38}]},{"id":945,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":946,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":947,"name":"instance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1859,"character":32}]},{"id":959,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":960,"name":"templateController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Applied to custom attributes. Indicates that whatever element the\nattribute is placed on should be converted into a template and that this\nattribute controls the instantiation of the template."},"parameters":[{"id":961,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1886,"character":42}]},{"id":970,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":971,"name":"useShadowDOM","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should render its view in Shadow\nDOM. This decorator may change slightly when Aurelia updates to Shadow DOM v1."},"parameters":[{"id":972,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1904,"character":36}]},{"id":985,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":986,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":987,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to the view.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1938,"character":31}]},{"id":982,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":983,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":984,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1932,"character":39}]},{"id":934,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":935,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":936,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":473,"character":39}]},{"id":1000,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1001,"name":"viewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides the ability to add resources to the related View\nSame as: "},"parameters":[{"id":1002,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"Either: strings with moduleIds, Objects with 'src' and optionally 'as' properties or one of the classes of the module to be included.\n"},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1965,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[100,212,813,836,360,659,890,143,129,135,787,304,904,168,852,337,740,315,385,291,723,193,708,477,431,377,249,326,917,563,203,698,751,150,677,349,506,604]},{"title":"Interfaces","kind":256,"children":[68,63,58,71,74,80,77,94,2,7,17,47,10]},{"title":"Variables","kind":32,"children":[944,933,937]},{"title":"Functions","kind":64,"children":[948,962,941,938,979,954,951,967,997,988,993,973,976,945,959,970,985,982,934,1000]}]} \ No newline at end of file +{"name":"aurelia-templating","children":[{"id":100,"name":"Animator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract class representing a mechanism for animating the DOM during various DOM state transitions."},"children":[{"id":111,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":112,"name":"addClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":113,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":114,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":381,"character":10}]},{"id":115,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":116,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":117,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"union","types":[{"type":"reference","name":"HTMLElement"},{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"HTMLElement"}]}]}},{"id":118,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use. For css animators this represents the className to be added and removed right after the animation is done."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":390,"character":9}]},{"id":101,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":102,"name":"enter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute an 'enter' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":103,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":358,"character":7}]},{"id":104,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":105,"name":"leave","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a 'leave' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":106,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":365,"character":7}]},{"id":122,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":124,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"instrinct","name":"string"}},{"id":125,"name":"properties","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object with properties for the effect\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":405,"character":16}]},{"id":107,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":108,"name":"removeClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":109,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":110,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":373,"character":13}]},{"id":119,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":120,"name":"runSequence","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Run a sequence of animations one after the other.\nfor example: animator.runSequence(\"fadeIn\",\"callout\")","returns":"Resolved when all animations are done\n"},"parameters":[{"id":121,"name":"animations","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"instrinct","name":"any"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":398,"character":13}]},{"id":126,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":127,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":128,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":411,"character":18}]}],"groups":[{"title":"Methods","kind":2048,"children":[111,115,101,104,122,107,119,126]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":351,"character":29}]},{"id":212,"name":"BehaviorInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Indicates how a custom attribute or element should be instantiated in a view."},"children":[{"id":247,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"signatures":[{"id":248,"name":"new BehaviorInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":634,"character":98}]},{"id":221,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":585,"character":19}],"type":{"type":"instrinct","name":"boolean"}},{"id":225,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":589,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":223,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":587,"character":12}],"type":{"type":"reference","name":"Object"}},{"id":219,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":583,"character":16}],"type":{"type":"instrinct","name":"any"}},{"id":214,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":578,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":222,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":586,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":226,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":590,"character":23}],"type":{"type":"instrinct","name":"boolean"}},{"id":213,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":577,"character":21}],"type":{"type":"instrinct","name":"boolean"}},{"id":217,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":581,"character":18}],"type":{"type":"instrinct","name":"string"}},{"id":215,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":579,"character":18}],"type":{"type":"instrinct","name":"any"}},{"id":218,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":582,"character":23}],"type":{"type":"instrinct","name":"boolean"}},{"id":224,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":588,"character":6}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":216,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":580,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":678}},{"id":220,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":584,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":227,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A default behavior used in scenarios where explicit configuration isn't available."},"sources":[{"fileName":"aurelia-templating.d.ts","line":595,"character":15}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":238,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":239,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":240,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":241,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":625,"character":18}]},{"id":242,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":243,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":244,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":245,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":246,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","name":"ViewFactory","id":678}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":634,"character":16}]},{"id":234,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":235,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":236,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":237,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":617,"character":16}]},{"id":228,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":229,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":601,"character":16}]},{"id":230,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":231,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":232,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":233,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":609,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[247]},{"title":"Properties","kind":1024,"children":[221,225,223,219,214,222,226,213,217,215,218,224,216,220,227]},{"title":"Methods","kind":2048,"children":[238,242,234,228,230]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":576,"character":40}]},{"id":814,"name":"BehaviorPropertyObserver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior."},"children":[{"id":815,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":816,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":817,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":818,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":819,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"instrinct","name":"string"}},{"id":820,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":821,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":814}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1631,"character":47}]},{"id":827,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":828,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1657,"character":6}]},{"id":822,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":823,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1646,"character":10}]},{"id":824,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":825,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":826,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new value to set.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1652,"character":10}]},{"id":829,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":830,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":831,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"instrinct","name":"any"}},{"id":832,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function or object with a \"call\" method to be invoked for delivery of changes.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1664,"character":11}]},{"id":833,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":834,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":835,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"instrinct","name":"any"}},{"id":836,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callable that was originally subscribed with.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1671,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[815]},{"title":"Methods","kind":2048,"children":[827,822,824,829,833]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1631,"character":45}]},{"id":837,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":838,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":839,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":840,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property or a cofiguration object.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"BindableProperty","id":837}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1677,"character":39}]},{"id":850,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":851,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":852,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":814}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1705,"character":16}]},{"id":846,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":847,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":848,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":849,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1698,"character":10}]},{"id":841,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":842,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":843,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":844,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":845,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The property descriptor for this property.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1691,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[838]},{"title":"Methods","kind":2048,"children":[850,846,841]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1677,"character":37}]},{"id":360,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":367,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":368,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":369,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":370,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":371,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":372,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":903,"character":28}]},{"id":361,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":362,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":363,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":364,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":365,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":366,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":893,"character":18}]},{"id":373,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":374,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":375,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":376,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the text to parse."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":911,"character":20}]}],"groups":[{"title":"Methods","kind":2048,"children":[367,361,373]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":883,"character":36}]},{"id":660,"name":"BoundViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances, bound to a location within another view hierarchy."},"children":[{"id":661,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":662,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":663,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":664,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":678}},{"id":665,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BoundViewFactory","id":660}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1291,"character":39}]},{"id":668,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1310,"character":11}],"type":{"type":"instrinct","name":"any"}},{"id":666,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":667,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1305,"character":8}]},{"id":673,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":674,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1323,"character":15}]},{"id":675,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":676,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":677,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1329,"character":19}]},{"id":669,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":670,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":671,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"instrinct","name":"number"},{"type":"instrinct","name":"string"}]}},{"id":672,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1317,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[661]},{"title":"Properties","kind":1024,"children":[668]},{"title":"Methods","kind":2048,"children":[666,673,675,669]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1291,"character":37}]},{"id":891,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":892,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":893,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":894,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":895,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":349}}],"type":{"type":"reference","name":"CompositionEngine","id":891}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1797,"character":40}]},{"id":902,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":903,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":904,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":563},{"type":"reference","name":"Controller","id":788}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1824,"character":9}]},{"id":896,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":897,"name":"createController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":898,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":788}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1810,"character":18}]},{"id":899,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":900,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":901,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":80}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1817,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[892]},{"title":"Methods","kind":2048,"children":[902,896,899]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1797,"character":38}]},{"id":143,"name":"CompositionTransaction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables an initiator of a view composition to track any internal async rendering processes for completion."},"children":[{"id":144,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":145,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":143}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":447,"character":45}]},{"id":148,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":149,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","name":"CompositionTransactionNotifier","id":129}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":464,"character":8}]},{"id":146,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":147,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":135}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":458,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[144]},{"title":"Methods","kind":2048,"children":[148,146]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":447,"character":43}]},{"id":129,"name":"CompositionTransactionNotifier","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A mechanism by which an enlisted async render operation can notify the owning transaction when its work is done."},"children":[{"id":130,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":131,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":132,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":129}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":417,"character":53}]},{"id":133,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":134,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":423,"character":6}]}],"groups":[{"title":"Constructors","kind":512,"children":[130]},{"title":"Methods","kind":2048,"children":[133]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":417,"character":51}]},{"id":135,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":136,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":137,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":138,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":135}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":429,"character":59}]},{"id":141,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":142,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":441,"character":9}]},{"id":139,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":140,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the transaction owner to wait for the completion of all child compositions.","returns":"A promise that resolves when all child compositions are done.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":436,"character":28}]}],"groups":[{"title":"Constructors","kind":512,"children":[136]},{"title":"Methods","kind":2048,"children":[141,139]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":429,"character":57}]},{"id":788,"name":"Controller","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions."},"children":[{"id":792,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":793,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":794,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":795,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":796,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":797,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Controller","id":788}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1581,"character":13}]},{"id":789,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1570,"character":10}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":791,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view associated with the component being controlled by this controller.\nNote: Not all components will have a view, so the value may be null."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1581,"character":6}],"type":{"type":"reference","name":"View","id":563}},{"id":790,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1575,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":810,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":811,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1620,"character":10}]},{"id":801,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":802,"name":"automate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.\nThis should be considered a semi-private API and is subject to change without notice, even across minor or patch releases."},"parameters":[{"id":803,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":804,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1604,"character":10}]},{"id":805,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":806,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":807,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1610,"character":6}]},{"id":798,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":799,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":800,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1596,"character":9}]},{"id":812,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":813,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1625,"character":10}]},{"id":808,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":809,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1615,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[792]},{"title":"Properties","kind":1024,"children":[789,791,790]},{"title":"Methods","kind":2048,"children":[810,801,805,798,812,808]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1565,"character":31}]},{"id":304,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":305,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":306,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":307,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":349}},{"id":308,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ConventionalViewStrategy","id":304}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":755,"character":47}]},{"id":309,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":310,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":311,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":312,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":313,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":314,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":772,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[305]},{"title":"Methods","kind":2048,"children":[309]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":755,"character":45}]},{"id":905,"name":"ElementConfigResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that configures the EventManager with information\nabout how events relate to properties for the purpose of two-way data-binding\nto Web Components."},"children":[{"id":906,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":907,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":908,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":909,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1840,"character":12}]},{"id":914,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":915,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":916,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":917,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1857,"character":6}]},{"id":910,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":911,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":912,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":913,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1849,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[906,914,910]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1832,"character":42}]},{"id":168,"name":"ElementEvents","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Dispatches subscribets to and publishes events in the DOM.","tags":[{"tag":"param","text":"\n","param":"element"}]},"children":[{"id":169,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":170,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":171,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"ElementEvents","id":168}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":483,"character":36}]},{"id":188,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":189,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":190,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":517,"character":9}]},{"id":191,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":192,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":522,"character":12}]},{"id":172,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":173,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":174,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":175,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":176,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}},{"id":177,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":493,"character":9}]},{"id":178,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":180,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":181,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":182,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":502,"character":11}]},{"id":183,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":184,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an Event Listener on the context element, that will be disposed on the first trigger.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":185,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"String"}},{"id":186,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":187,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":511,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[169]},{"title":"Methods","kind":2048,"children":[188,191,172,178,183]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":483,"character":34}]},{"id":853,"name":"HtmlBehaviorResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that implements custom element or custom\nattribute functionality."},"children":[{"id":854,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":855,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1712,"character":43}]},{"id":860,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":861,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":862,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1730,"character":17}]},{"id":878,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":879,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs into the compiler and enables custom processing of the node on which this behavior is located.","returns":"The current node.\n"},"parameters":[{"id":880,"name":"compiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The compiler that is currently compiling the view that this behavior exists within."},"type":{"type":"reference","name":"ViewCompiler","id":699}},{"id":881,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources for the view that this behavior exists within."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":882,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":883,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":884,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node of the current node."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1770,"character":9}]},{"id":885,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":886,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of this behavior.","returns":"The Controller of this behavior.\n"},"parameters":[{"id":887,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":888,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction for this behavior that was constructed during compilation."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":889,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":890,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The bindings that are associated with the view in which this behavior exists."},"type":{"type":"reference","isArray":true,"name":"Binding"}}],"type":{"type":"reference","name":"Controller","id":788}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1780,"character":8}]},{"id":863,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":864,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":865,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":866,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1738,"character":12}]},{"id":871,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":872,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":873,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":874,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":875,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context object provided by the view engine."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":876,"name":"viewStrategy","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A view strategy to overload the default strategy defined by the resource."},"type":{"type":"reference","name":"ViewStrategy","id":10}},{"id":877,"name":"transientView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicated whether the view strategy is transient or\npermanently tied to this component.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HtmlBehaviorResource","id":853}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1759,"character":6}]},{"id":867,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":868,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":869,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":870,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1747,"character":10}]},{"id":856,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":857,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":858,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"instrinct","name":"string"}},{"id":859,"name":"existing","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An already existing resource that may need a convention name applied.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1724,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[854]},{"title":"Methods","kind":2048,"children":[860,878,885,863,871,867,856]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1712,"character":41}]},{"id":337,"name":"InlineViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that allows the component author to inline the html for the view."},"children":[{"id":338,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":339,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":340,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The markup for the view. Be sure to include the wrapping template tag."},"type":{"type":"instrinct","name":"string"}},{"id":341,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":342,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"InlineViewStrategy","id":337}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":825,"character":41}]},{"id":343,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":344,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":345,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":346,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":347,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":348,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":843,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[338]},{"title":"Methods","kind":2048,"children":[343]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":825,"character":39}]},{"id":741,"name":"ModuleAnalyzer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Analyzes a module in order to discover the view resources that it exports."},"children":[{"id":742,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":743,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":741}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1472,"character":37}]},{"id":747,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":748,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":749,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"instrinct","name":"string"}},{"id":750,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"instrinct","name":"any"}},{"id":751,"name":"mainResourceKey","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the main resource."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":709}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1493,"character":9}]},{"id":744,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":745,"name":"getAnalysis","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the ResourceModule analysis for a previously analyzed module.","returns":"The ResouceModule if found, undefined otherwise.\n"},"parameters":[{"id":746,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to lookup."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":709}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1484,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[742]},{"title":"Methods","kind":2048,"children":[747,744]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1472,"character":35}]},{"id":315,"name":"NoViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that indicates that the component has no view that the templating engine needs to manage.\nTypically used when the component author wishes to take over fine-grained rendering control."},"children":[{"id":316,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"signatures":[{"id":317,"name":"new NoViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of NoViewStrategy."},"parameters":[{"id":318,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A list of view resource dependencies of this view."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":319,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The base url for the view dependencies.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"NoViewStrategy","id":315}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":779,"character":37}]},{"id":320,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":321,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":322,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":323,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":324,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":325,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":796,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[316]},{"title":"Methods","kind":2048,"children":[320]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":779,"character":35}]},{"id":385,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":386,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":387,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":388,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":389,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":390,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":391,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":385}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":917,"character":38}]},{"id":392,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":919,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":402,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":403,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":404,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":405,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":406,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":407,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":922,"character":9}]},{"id":425,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":426,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":928,"character":10}]},{"id":422,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":423,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":424,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":927,"character":6}]},{"id":419,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":420,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":421,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":926,"character":9}]},{"id":427,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":428,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":929,"character":10}]},{"id":399,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":400,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":401,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":921,"character":15}]},{"id":415,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":416,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":417,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":418,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":925,"character":13}]},{"id":412,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":413,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":414,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":924,"character":11}]},{"id":408,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":409,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":410,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":411,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":923,"character":12}]},{"id":393,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":394,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":395,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":396,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":397,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":398,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":920,"character":23}]},{"id":429,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":430,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":930,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[386]},{"title":"Properties","kind":1024,"children":[392]},{"title":"Methods","kind":2048,"children":[402,425,422,419,427,399,415,412,408,393,429]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":917,"character":36}]},{"id":291,"name":"RelativeViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy that loads a view relative to its associated view-model."},"children":[{"id":292,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":293,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":294,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The relative path to the view.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RelativeViewStrategy","id":291}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":727,"character":43}]},{"id":295,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":296,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":297,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":298,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":299,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":300,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":743,"character":17}]},{"id":301,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":302,"name":"makeRelativeTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the view loaded by this strategy relative to the provided file path."},"parameters":[{"id":303,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to load the view relative to.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":749,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[292]},{"title":"Methods","kind":2048,"children":[295,301]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":727,"character":41}]},{"id":724,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":725,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":726,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":727,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"instrinct","name":"string"}},{"id":728,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"instrinct","name":"any"}},{"id":729,"name":"resourceTypeMeta","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The metadata located on the resource.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"ResourceDescription","id":724}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1437,"character":42}]},{"id":730,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":731,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":732,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1451,"character":12}]},{"id":737,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":738,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resource.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":739,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":740,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]},{"type":"instrinct","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1466,"character":6}]},{"id":733,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":734,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":735,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":736,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the resource.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1458,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[725]},{"title":"Methods","kind":2048,"children":[730,737,733]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1437,"character":40}]},{"id":193,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":195,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":196,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":529,"character":23}]},{"id":194,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":529,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":197,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":198,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":199,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the dependency.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":540,"character":15}]},{"id":200,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":201,"name":"hasDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks if the current context includes a load of the specified url.","returns":"True if the url is being loaded in the context; false otherwise.\n"},"parameters":[{"id":202,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":546,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[195]},{"title":"Properties","kind":1024,"children":[194]},{"title":"Methods","kind":2048,"children":[197,200]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":528,"character":40}]},{"id":709,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":710,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":711,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":712,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The id of the module that contains view resources.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ResourceModule","id":709}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1404,"character":37}]},{"id":713,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":714,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":715,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container usable during resource initialization.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1416,"character":12}]},{"id":720,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":721,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads any dependencies of the resources within this module.","returns":"A promise that resolves when all loading is complete.\n"},"parameters":[{"id":722,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":723,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1431,"character":6}]},{"id":716,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":717,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":718,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":719,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name to use in registering the default resource.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1423,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[710]},{"title":"Methods","kind":2048,"children":[713,720,716]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1404,"character":35}]},{"id":477,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":478,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":948,"character":23}],"type":{"type":"instrinct","name":"any"}},{"id":498,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":499,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":500,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":501,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":502,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":503,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":504,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":505,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":953,"character":24}]},{"id":482,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":483,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":484,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":485,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":486,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":487,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":488,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":950,"character":23}]},{"id":479,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":480,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":481,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":949,"character":20}]},{"id":494,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":495,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":496,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":497,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":952,"character":24}]},{"id":489,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":490,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":491,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":492,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":493,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":951,"character":25}]}],"groups":[{"title":"Properties","kind":1024,"children":[478]},{"title":"Methods","kind":2048,"children":[498,482,479,494,489]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":947,"character":30}]},{"id":431,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":432,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":433,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":434,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":435,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":436,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":431}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":932,"character":33}]},{"id":437,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":934,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":438,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":439,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":440,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":441,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":442,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":443,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":444,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":935,"character":9}]},{"id":471,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":472,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":943,"character":10}]},{"id":468,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":469,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":470,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":942,"character":6}]},{"id":465,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":466,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":467,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":941,"character":9}]},{"id":473,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":474,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":944,"character":10}]},{"id":455,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":456,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":457,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":458,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":939,"character":13}]},{"id":452,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":453,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":454,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":938,"character":11}]},{"id":449,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":450,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":451,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":937,"character":11}]},{"id":445,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":446,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":447,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":448,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":936,"character":12}]},{"id":459,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":460,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":461,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":462,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":463,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":464,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":940,"character":23}]},{"id":475,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":476,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":945,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[432]},{"title":"Properties","kind":1024,"children":[437]},{"title":"Methods","kind":2048,"children":[438,471,468,465,473,455,452,449,445,459,475]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":932,"character":31}]},{"id":377,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":378,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":379,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":380,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":377}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":42}]},{"id":381,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":382,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":383,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":384,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":915,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[378]},{"title":"Methods","kind":2048,"children":[381]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":913,"character":40}]},{"id":249,"name":"TargetInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Provides all the instructions for how a target element should be enhanced inside of a view."},"children":[{"id":289,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TargetInstruction."},"signatures":[{"id":290,"name":"new TargetInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TargetInstruction."},"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":160}]},{"id":260,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":656,"character":19}],"type":{"type":"instrinct","name":"boolean"}},{"id":257,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":653,"character":22}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":212}]}},{"id":255,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":651,"character":19}],"type":{"type":"instrinct","name":"any"}},{"id":261,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":657,"character":20}],"type":{"type":"reference","name":"BehaviorInstruction","id":212}},{"id":256,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":652,"character":13}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":250,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":646,"character":12}],"type":{"type":"instrinct","name":"number"}},{"id":262,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":658,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":251,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":647,"character":18}],"type":{"type":"instrinct","name":"number"}},{"id":258,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":654,"character":11}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":252,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":648,"character":12}],"type":{"type":"instrinct","name":"boolean"}},{"id":254,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":650,"character":21}],"type":{"type":"instrinct","name":"any"}},{"id":253,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":649,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":263,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":659,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":259,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":655,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":678}},{"id":264,"name":"noExpressions","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"An empty array used to represent a target with no binding expressions."},"sources":[{"fileName":"aurelia-templating.d.ts","line":664,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":268,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":269,"name":"contentExpression","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a binding expression in the content of an element.","returns":"The created instruction.\n"},"parameters":[{"id":270,"name":"expression","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The binding expression."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":678,"character":26}]},{"id":271,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":272,"name":"lifting","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents content that was lifted out of the DOM and into a ViewFactory.","returns":"The created instruction.\n"},"parameters":[{"id":273,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":274,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":686,"character":16}]},{"id":275,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":276,"name":"normal","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents an element with behaviors and bindings.","returns":"The created instruction.\n"},"parameters":[{"id":277,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":278,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":279,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":280,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":212}]}},{"id":281,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":282,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":212}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":698,"character":15}]},{"id":265,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":266,"name":"shadowSlot","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents a shadow dom slot.","returns":"The created instruction.\n"},"parameters":[{"id":267,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":671,"character":19}]},{"id":283,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":284,"name":"surrogate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction that represents the surrogate behaviors and bindings for an element.","returns":"The created instruction.\n"},"parameters":[{"id":285,"name":"providers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The types which will provide behavior for this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":286,"name":"behaviorInstructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instructions for creating behaviors on this element."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":212}]}},{"id":287,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":288,"name":"values","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes to transplant."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"TargetInstruction","id":249}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":708,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[289]},{"title":"Properties","kind":1024,"children":[260,257,255,261,256,250,262,251,258,252,254,253,263,259,264]},{"title":"Methods","kind":2048,"children":[268,271,275,265,283]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":645,"character":38}]},{"id":326,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":327,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":328,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":329,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"instrinct","name":"string"}},{"id":330,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The template registry entry used in loading the view factory.\n"},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"TemplateRegistryViewStrategy","id":326}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":802,"character":51}]},{"id":331,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":332,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":333,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":334,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":335,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":336,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":819,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[327]},{"title":"Methods","kind":2048,"children":[331]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":802,"character":49}]},{"id":918,"name":"TemplatingEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A facade of the templating engine capabilties which provides a more user friendly API for common use cases."},"children":[{"id":919,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":920,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":921,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":922,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":741}},{"id":923,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":699}},{"id":924,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":891}}],"type":{"type":"reference","name":"TemplatingEngine","id":918}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1979,"character":39}]},{"id":928,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":929,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes components and views.","returns":"A promise for the resulting Controller or View. Consumers of this API\nare responsible for enforcing the Controller/View lifecycle.\n"},"parameters":[{"id":930,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":563},{"type":"reference","name":"Controller","id":788}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2002,"character":9}]},{"id":925,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":926,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":927,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":100}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1994,"character":19}]},{"id":931,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":932,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enhances existing DOM with behaviors and bindings.","returns":"A View representing the enhanced UI. Consumers of this API\nare responsible for enforcing the View lifecycle.\n"},"parameters":[{"id":933,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element to enhance or a set of instructions for the enhancement process."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"EnhanceInstruction","id":94}]}}],"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":2010,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[919]},{"title":"Methods","kind":2048,"children":[928,925,931]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1979,"character":37}]},{"id":563,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":570,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":571,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":572,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":573,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":678}},{"id":574,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":575,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"reference","isArray":true,"name":"Controller","id":788}},{"id":576,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"reference","isArray":true,"name":"Binding"}},{"id":577,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"reference","isArray":true,"name":"ViewNode","id":47}},{"id":578,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1110,"character":25}]},{"id":567,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The primary binding context that this view is data-bound to."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1100,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":564,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Dependency Injection Container that was used to create this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1085,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":569,"name":"controller","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Controller instance that owns this View."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1110,"character":12}],"type":{"type":"reference","name":"Controller","id":788}},{"id":566,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Contains the DOM Nodes which represent this View. If the view was created via the \"enhance\" API, this will be an Element, otherwise it will be a DocumentFragment. If not created via \"enhance\" then the fragment will only contain nodes when the View is detached from the DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1095,"character":10}],"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":568,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The override context which contains properties capable of overriding those found on the binding context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1105,"character":17}],"type":{"type":"reference","name":"Object"}},{"id":565,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The ViewFactory that built this View instance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1090,"character":13}],"type":{"type":"reference","name":"ViewFactory","id":678}},{"id":588,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":589,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":590,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1144,"character":12}]},{"id":596,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":597,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":598,"name":"parent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The parent element to append this view's nodes to.\n"},"type":{"type":"reference","name":"Element"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1161,"character":15}]},{"id":601,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":602,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1171,"character":10}]},{"id":583,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":584,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":585,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":586,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}},{"id":587,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1138,"character":6}]},{"id":581,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":582,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the created callback for this view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1131,"character":9}]},{"id":603,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":604,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1176,"character":10}]},{"id":593,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":594,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":595,"name":"refNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to insert this view's nodes before.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1155,"character":19}]},{"id":599,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":600,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1166,"character":13}]},{"id":579,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":580,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1126,"character":15}]},{"id":591,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":592,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1149,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[570]},{"title":"Properties","kind":1024,"children":[567,564,569,566,568,565]},{"title":"Methods","kind":2048,"children":[588,596,601,583,581,603,593,599,579,591]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1080,"character":25}]},{"id":203,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":208,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":209,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":210,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"instrinct","name":"boolean"}},{"id":211,"name":"compileSurrogate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation also include surrogate bindings and behaviors.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":560,"character":40}]},{"id":206,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":555,"character":20}],"type":{"type":"instrinct","name":"any"}},{"id":205,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":554,"character":18}],"type":{"type":"instrinct","name":"boolean"}},{"id":204,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":553,"character":17}],"type":{"type":"instrinct","name":"boolean"}},{"id":207,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":560,"character":15}],"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"groups":[{"title":"Constructors","kind":512,"children":[208]},{"title":"Properties","kind":1024,"children":[206,205,204,207]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":552,"character":43}]},{"id":699,"name":"ViewCompiler","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views."},"children":[{"id":700,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":701,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":702,"name":"bindingLanguage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The default data binding language and syntax used during view compilation."},"type":{"type":"reference","name":"BindingLanguage","id":360}},{"id":703,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The global resources used during compilation when none are provided for compilation.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"reference","name":"ViewCompiler","id":699}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1382,"character":35}]},{"id":704,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":705,"name":"compile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Compiles an html template, dom fragment or string into ViewFactory instances, capable of instantiating Views.","returns":"The compiled ViewFactory.\n"},"parameters":[{"id":706,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template, fragment or string to compile."},"type":{"type":"union","types":[{"type":"reference","name":"Element"},{"type":"reference","name":"DocumentFragment"},{"type":"instrinct","name":"string"}]}},{"id":707,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":708,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A set of instructions that customize how compilation occurs."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"type":{"type":"reference","name":"ViewFactory","id":678}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1398,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[700]},{"title":"Methods","kind":2048,"children":[704]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1382,"character":33}]},{"id":752,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":754,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":755,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":756,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":757,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":758,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":699}},{"id":759,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":741}},{"id":760,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"reference","name":"ViewEngine","id":752}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1504,"character":42}]},{"id":753,"name":"viewModelRequireMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing requires declared in a ViewModel."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1504,"character":36}],"type":{"type":"instrinct","name":"any"}},{"id":761,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":762,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":763,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"instrinct","name":"string"}},{"id":764,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin implementation that handles the resource type.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1521,"character":19}]},{"id":777,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":778,"name":"importViewModelResource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view model as a resource.","returns":"A promise for the ResourceDescription.\n"},"parameters":[{"id":779,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"instrinct","name":"string"}},{"id":780,"name":"moduleMember","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The export from the module to generate the resource for."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ResourceDescription","id":724}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1549,"character":25}]},{"id":781,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":782,"name":"importViewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Imports the specified resources with the specified names into the view resources object.","returns":"A promise for the ViewResources.\n"},"parameters":[{"id":783,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"instrinct","isArray":true,"name":"string"}},{"id":784,"name":"names","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The names associated with resource modules to import."},"type":{"type":"instrinct","isArray":true,"name":"string"}},{"id":785,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":786,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compilation instruction associated with the resource imports."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":787,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":193}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":506}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1559,"character":21}]},{"id":771,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":772,"name":"loadTemplateResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads all the resources specified by the registry entry.","returns":"A promise of ViewResources for the registry entry.\n"},"parameters":[{"id":773,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":774,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":775,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":776,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":506}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1541,"character":23}]},{"id":765,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":766,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads and compiles a ViewFactory from a url or template registry entry.","returns":"A promise for the compiled view factory.\n"},"parameters":[{"id":767,"name":"urlOrRegistryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A url or template registry entry to generate the view factory for."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"TemplateRegistryEntry"}]}},{"id":768,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Instructions detailing how the factory should be compiled."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":769,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The load context if this factory load is happening within the context of a larger load operation."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":770,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1531,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[754]},{"title":"Properties","kind":1024,"children":[753]},{"title":"Methods","kind":2048,"children":[761,777,781,771,765]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1499,"character":31}]},{"id":150,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":151,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":152,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":150}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":466,"character":46}]},{"id":153,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":154,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":155,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":156,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":468,"character":12}]},{"id":161,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":162,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":163,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":164,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":470,"character":6}]},{"id":157,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":158,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":159,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":160,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":469,"character":10}]},{"id":165,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":166,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":167,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":471,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[151]},{"title":"Methods","kind":2048,"children":[153,161,157,165]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":466,"character":44}]},{"id":678,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":680,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":681,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":682,"name":"template","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The document fragment that serves as a template for the view to be created."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":683,"name":"instructions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions to be applied ot the template during the creation of a view."},"type":{"type":"reference","name":"Object"}},{"id":684,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"reference","name":"ViewFactory","id":678}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1340,"character":17}]},{"id":679,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"sources":[{"fileName":"aurelia-templating.d.ts","line":1340,"character":11}],"type":{"type":"instrinct","name":"any"}},{"id":694,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":695,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"parameters":[{"id":696,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":697,"name":"createInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The instruction used to customize view creation."},"type":{"type":"reference","name":"ViewCreateInstruction","id":7}},{"id":698,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The custom element that hosts the view."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1376,"character":8}]},{"id":689,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":690,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":563}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1361,"character":15}]},{"id":691,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":692,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":693,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1367,"character":19}]},{"id":685,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":686,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":687,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"instrinct","name":"number"},{"type":"instrinct","name":"string"}]}},{"id":688,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1355,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[680]},{"title":"Properties","kind":1024,"children":[679]},{"title":"Methods","kind":2048,"children":[694,689,691,685]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1335,"character":32}]},{"id":349,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":350,"name":"viewStrategyMetadataKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The metadata key for storing/finding view strategies associated with an class/object."},"sources":[{"fileName":"aurelia-templating.d.ts","line":854,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":357,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":358,"name":"convertOriginToViewUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Conventionally converts a view model origin to a view url.\nUsed by the ConventionalViewStrategy.","returns":"The view url.\n"},"parameters":[{"id":359,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to convert."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":877,"character":24}]},{"id":354,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":355,"name":"createFallbackViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a fallback View Strategy. Used when unable to locate a configured strategy.\nThe default implementation returns and instance of ConventionalViewStrategy.","returns":"The fallback ViewStrategy.\n"},"parameters":[{"id":356,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The origin of the view model to return the strategy for."},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ViewStrategy","id":10}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":869,"character":28}]},{"id":351,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":352,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the view strategy for the value.","returns":"The located ViewStrategy instance.\n"},"parameters":[{"id":353,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value to locate the view strategy for."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ViewStrategy","id":10}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":861,"character":17}]}],"groups":[{"title":"Properties","kind":1024,"children":[350]},{"title":"Methods","kind":2048,"children":[357,354,351]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":849,"character":32}]},{"id":506,"name":"ViewResources","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a collection of resources used during the compilation of a view."},"children":[{"id":508,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":509,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":510,"name":"parent","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parent resources. This resources can override them, but if a resource is not found, it will be looked up in the parent."},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":511,"name":"viewUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The url of the view to which these resources apply.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"ViewResources","id":506}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":967,"character":23}]},{"id":507,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"sources":[{"fileName":"aurelia-templating.d.ts","line":967,"character":17}],"type":{"type":"instrinct","name":"any"}},{"id":539,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":540,"name":"getAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML attribute behavior.","returns":"The HtmlBehaviorResource for the attribute or null.\n"},"parameters":[{"id":541,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute to lookup."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1036,"character":14}]},{"id":553,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":554,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":555,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1064,"character":20}]},{"id":515,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":516,"name":"getBindingLanguage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the binding language associated with these resources, or return the provided fallback implementation.","returns":"The binding language.\n"},"parameters":[{"id":517,"name":"bindingLanguageFallback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The fallback binding language implementation to use if no binding language is configured locally."},"type":{"type":"reference","name":"BindingLanguage","id":360}}],"type":{"type":"reference","name":"BindingLanguage","id":360}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":987,"character":20}]},{"id":528,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":529,"name":"getElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an HTML element behavior.","returns":"The HtmlBehaviorResource for the tag name or null.\n"},"parameters":[{"id":530,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag name to search for."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1014,"character":12}]},{"id":560,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":561,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":562,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1078,"character":10}]},{"id":546,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":547,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":548,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1050,"character":19}]},{"id":531,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":532,"name":"mapAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the known attribute name based on the local attribute name.","returns":"The known name.\n"},"parameters":[{"id":533,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The local attribute name to lookup."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1021,"character":14}]},{"id":518,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":519,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":520,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":506}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":993,"character":15}]},{"id":534,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":535,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":536,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":537,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":538,"name":"knownAttribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The well-known name of the attribute (in lieu of the local name).\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1029,"character":19}]},{"id":549,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":551,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"instrinct","name":"string"}},{"id":552,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1057,"character":25}]},{"id":524,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":525,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":526,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"instrinct","name":"string"}},{"id":527,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1007,"character":17}]},{"id":556,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":557,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":558,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}},{"id":559,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1071,"character":15}]},{"id":542,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":543,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":544,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"instrinct","name":"string"}},{"id":545,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1043,"character":24}]},{"id":512,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":513,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":514,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":17}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":980,"character":25}]},{"id":521,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":522,"name":"relativeToView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a path relative to the associated view's origin.","returns":"The calcualted path.\n"},"parameters":[{"id":523,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1000,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[508]},{"title":"Properties","kind":1024,"children":[507]},{"title":"Methods","kind":2048,"children":[539,553,515,528,560,546,531,518,534,549,524,556,542,512,521]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":962,"character":34}]},{"id":605,"name":"ViewSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a slot or location within the DOM to which views can be added and removed.\nManages the view lifecycle for its children."},"children":[{"id":606,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":607,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":608,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM node which will server as the anchor or container for insertion."},"type":{"type":"reference","name":"Node"}},{"id":609,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"instrinct","name":"boolean"}},{"id":610,"name":"animator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The animator that will controll enter/leave transitions for this slot.\n"},"type":{"type":"reference","name":"Animator","id":100}}],"type":{"type":"reference","name":"ViewSlot","id":605}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1183,"character":31}]},{"id":623,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":624,"name":"add","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a view to the slot.","returns":"May return a promise if the view addition triggered an animation.\n"},"parameters":[{"id":625,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1224,"character":5}]},{"id":611,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":612,"name":"animateView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":" Runs the animator against the first animatable element found within the view's fragment\n @param view The view to use when searching for the element.\n @param direction The animation direction enter|leave.\n @returns An animation complete Promise or undefined if no animation was run."},"parameters":[{"id":613,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}},{"id":614,"name":"direction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1199,"character":13}]},{"id":653,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":654,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1279,"character":10}]},{"id":617,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":618,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":619,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":620,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1212,"character":6}]},{"id":655,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":656,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1284,"character":10}]},{"id":626,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":627,"name":"insert","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts a view into the slot.","returns":"May return a promise if the view insertion triggered an animation.\n"},"parameters":[{"id":628,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"instrinct","name":"number"}},{"id":629,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1232,"character":8}]},{"id":630,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":631,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":632,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"instrinct","name":"any"}},{"id":633,"name":"targetIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index to insert the view at.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1239,"character":6}]},{"id":657,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":658,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":659,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1285,"character":11}]},{"id":634,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":635,"name":"remove","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":636,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":563}},{"id":637,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":638,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":563}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1248,"character":8}]},{"id":649,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":650,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all views from the slot.","returns":"May return a promise if the view removals triggered an animation.\n"},"parameters":[{"id":651,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":652,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1274,"character":11}]},{"id":644,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":645,"name":"removeAt","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a view an a specified index from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":646,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"instrinct","name":"number"}},{"id":647,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the view be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":648,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"reference","name":"View","id":563},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":563}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1266,"character":10}]},{"id":639,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":640,"name":"removeMany","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes many views from the slot.","returns":"May return a promise if the view removal triggered an animation.\n"},"parameters":[{"id":641,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"reference","isArray":true,"name":"View","id":563}},{"id":642,"name":"returnToCache","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the views be returned to the view cache?"},"type":{"type":"instrinct","name":"boolean"}},{"id":643,"name":"skipAnimation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Should the removal animation be skipped?"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":563}]}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1257,"character":12}]},{"id":615,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":616,"name":"transformChildNodesIntoView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Takes the child nodes of an existing element that has been converted into a ViewSlot\nand makes those nodes into a View within the slot."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1205,"character":29}]},{"id":621,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":622,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1217,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[606]},{"title":"Methods","kind":2048,"children":[623,611,653,617,655,626,630,657,634,649,644,639,615,621]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1183,"character":29}]},{"id":68,"name":"ComponentAttached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the attached convention."},"children":[{"id":69,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":70,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when the component is attached to the DOM (in document)."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":195,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[69]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":190,"character":42}]},{"id":63,"name":"ComponentBind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the bind convention."},"children":[{"id":64,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":65,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when databinding is activated on the view and view-model.\nThe \"binding context\" to which the component is being bound will be passed first.\nAn \"override context\" will be passed second. The override context contains information used to traverse\nthe parent hierarchy and can also be used to add any contextual properties that the component wants to add."},"parameters":[{"id":66,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":67,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":181,"character":6}]}],"groups":[{"title":"Methods","kind":2048,"children":[64]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":173,"character":38}]},{"id":58,"name":"ComponentCreated","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the created convention."},"children":[{"id":59,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":60,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the constructor has been called.\nAt this point in time, the view has also been created and both the view-model and the view\nare connected to their controller. The hook will recieve the instance of the \"owningView\".\nThis is the view that the component is declared inside of. If the component itself has a view,\nthis will be passed second."},"parameters":[{"id":61,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}},{"id":62,"name":"myView","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":164,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[59]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":155,"character":41}]},{"id":71,"name":"ComponentDetached","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the detached convention."},"children":[{"id":72,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":73,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic if/when the component is removed from the the DOM."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":209,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[72]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":204,"character":42}]},{"id":74,"name":"ComponentUnbind","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the unbind convention."},"children":[{"id":75,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":76,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic after the component is detached and unbound."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":223,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[75]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":218,"character":40}]},{"id":80,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":83,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"sources":[{"fileName":"aurelia-templating.d.ts","line":258,"character":16}],"type":{"type":"instrinct","name":"any"}},{"id":82,"name":"childContainer","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The child Container for the component creation. One will be created from the parent if not provided."},"sources":[{"fileName":"aurelia-templating.d.ts","line":253,"character":16}],"type":{"type":"reference","name":"Container"}},{"id":81,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"sources":[{"fileName":"aurelia-templating.d.ts","line":248,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":93,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The element that will parent the dynamic component.\nIt will be registered in the child container of this composition."},"sources":[{"fileName":"aurelia-templating.d.ts","line":309,"character":6}],"type":{"type":"reference","name":"Element"}},{"id":86,"name":"model","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Data to be passed to the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":273,"character":7}],"type":{"type":"instrinct","name":"any"}},{"id":84,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":263,"character":17}],"type":{"type":"instrinct","name":"any"}},{"id":89,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"sources":[{"fileName":"aurelia-templating.d.ts","line":288,"character":12}],"type":{"type":"reference","name":"View","id":563}},{"id":92,"name":"skipActivation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Should the composition system skip calling the \"activate\" hook on the view model."},"sources":[{"fileName":"aurelia-templating.d.ts","line":303,"character":16}],"type":{"type":"instrinct","name":"boolean"}},{"id":90,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view url or view strategy to override the default view location convention."},"sources":[{"fileName":"aurelia-templating.d.ts","line":293,"character":6}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"ViewStrategy","id":10}]}},{"id":85,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":268,"character":11}],"type":{"type":"instrinct","name":"any"}},{"id":87,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"sources":[{"fileName":"aurelia-templating.d.ts","line":278,"character":19}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":853}},{"id":88,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":283,"character":15}],"type":{"type":"reference","name":"ViewResources","id":506}},{"id":91,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"sources":[{"fileName":"aurelia-templating.d.ts","line":298,"character":10}],"type":{"type":"reference","name":"ViewSlot","id":605}}],"groups":[{"title":"Properties","kind":1024,"children":[83,82,81,93,86,84,89,92,90,85,87,88,91]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":243,"character":43}]},{"id":77,"name":"DynamicComponentGetViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the getViewStrategy convention for dynamic components (used with the compose element or the router)."},"children":[{"id":78,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":79,"name":"getViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to provide custom view strategy when this component is used with the compose element or the router."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"ViewStrategy","id":10}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":237,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[78]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":232,"character":56}]},{"id":94,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":98,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":335,"character":16}],"type":{"type":"reference","name":"Object"}},{"id":95,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":320,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":96,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"sources":[{"fileName":"aurelia-templating.d.ts","line":325,"character":9}],"type":{"type":"reference","name":"Element"}},{"id":99,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"sources":[{"fileName":"aurelia-templating.d.ts","line":340,"character":17}],"type":{"type":"instrinct","name":"any"}},{"id":97,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"sources":[{"fileName":"aurelia-templating.d.ts","line":330,"character":11}],"type":{"type":"reference","name":"ViewResources","id":506}}],"groups":[{"title":"Properties","kind":1024,"children":[98,95,96,99,97]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":315,"character":43}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":39,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":5,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":40,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":38,"character":11}],"type":{"type":"instrinct","name":"string"}},{"id":6,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":41,"character":9}],"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,3,6]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":37,"character":37}]},{"id":7,"name":"ViewCreateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be created."},"children":[{"id":8,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that the view is being created by enhancing existing DOM."},"sources":[{"fileName":"aurelia-templating.d.ts","line":52,"character":9}],"type":{"type":"instrinct","name":"boolean"}},{"id":9,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Specifies a key/value lookup of part replacements for the view being created."},"sources":[{"fileName":"aurelia-templating.d.ts","line":57,"character":18}],"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[8,9]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":47,"character":46}]},{"id":17,"name":"ViewEngineHooks","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"View engine hooks that enable a view resource to provide custom processing during the compilation or creation of a view."},"children":[{"id":24,"name":"afterCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a template is compiled.","tags":[{"tag":"param","text":"The view factory that was produced from the compilation process.\n","param":"viewFactory"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":93,"character":14}],"type":{"type":"reflection","declaration":{"id":25,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":26,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":27,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":678}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":93,"character":16}]}}},{"id":35,"name":"afterCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after a view is created.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":108,"character":13}],"type":{"type":"reflection","declaration":{"id":36,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":37,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":38,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":108,"character":15}]}}},{"id":39,"name":"beforeBind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked after the bindingContext and overrideContext are configured on the view but before the view is bound.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":114,"character":12}],"type":{"type":"reflection","declaration":{"id":40,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":41,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":42,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":114,"character":14}]}}},{"id":18,"name":"beforeCompile","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a template is compiled.","tags":[{"tag":"param","text":"The DocumentFragment to compile.","param":"content"},{"tag":"param","text":"The resources to compile the view against.","param":"resources"},{"tag":"param","text":"The compilation instruction associated with the compilation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":87,"character":15}],"type":{"type":"reflection","declaration":{"id":19,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":20,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":21,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":22,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":506}},{"id":23,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":87,"character":17}]}}},{"id":28,"name":"beforeCreate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before a view is created.","tags":[{"tag":"param","text":"The view factory that will be used to create the view.","param":"viewFactory"},{"tag":"param","text":"The DI container used during view creation.","param":"container"},{"tag":"param","text":"The cloned document fragment representing the view.","param":"content"},{"tag":"param","text":"The view creation instruction associated with this creation process.\n","param":"instruction"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":102,"character":14}],"type":{"type":"reflection","declaration":{"id":29,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":30,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":31,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":678}},{"id":32,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":33,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":34,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":7}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":102,"character":16}]}}},{"id":43,"name":"beforeUnbind","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Invoked before the view is unbind. The bindingContext and overrideContext are still available on the view.","tags":[{"tag":"param","text":"The view that was created by the factory.\n","param":"view"}]},"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":14}],"type":{"type":"reflection","declaration":{"id":44,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":45,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":46,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":563}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":120,"character":16}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[24,35,39,18,28,43]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":79,"character":40}]},{"id":47,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":52,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":53,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":139,"character":10}]},{"id":48,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":49,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":50,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":51,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":134,"character":6}]},{"id":54,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":55,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":144,"character":10}]},{"id":56,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":57,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":149,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[52,48,54,56]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":127,"character":33}]},{"id":10,"name":"ViewStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Implemented by classes that describe how a view factory should be loaded."},"children":[{"id":11,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":13,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":752}},{"id":14,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":203}},{"id":15,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":193}},{"id":16,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":678}]}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":73,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[11]}],"sources":[{"fileName":"aurelia-templating.d.ts","line":63,"character":37}]},{"id":945,"name":"SwapStrategies","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"aurelia-templating.d.ts","line":1792,"character":35}],"type":{"type":"instrinct","name":"any"}},{"id":934,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"List the events that an Animator should raise."},"sources":[{"fileName":"aurelia-templating.d.ts","line":346,"character":35}],"type":{"type":"instrinct","name":"any"}},{"id":938,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"sources":[{"fileName":"aurelia-templating.d.ts","line":722,"character":33}],"type":{"type":"reference","name":"Function"}},{"id":949,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":950,"name":"behavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a custom HtmlBehaviorResource instance or an object that overrides various implementation details of the default HtmlBehaviorResource."},"parameters":[{"id":951,"name":"override","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The customized HtmlBehaviorResource or an object to override the default with.\n"},"type":{"type":"union","types":[{"type":"reference","name":"HtmlBehaviorResource","id":853},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1870,"character":32}]},{"id":963,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":964,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":965,"name":"nameOrConfigOrTarget","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the property, or a configuration object.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}},{"id":966,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":967,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1897,"character":32}]},{"id":942,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":943,"name":"child","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an immediate content child element that matches the provided selector."},"parameters":[{"id":944,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1791,"character":29}]},{"id":939,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":940,"name":"children","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a behavior property that references an array of immediate content child elements that matches the provided selector."},"parameters":[{"id":941,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1786,"character":32}]},{"id":980,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":981,"name":"containerless","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should be rendered without its\nelement container."},"parameters":[{"id":982,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1931,"character":37}]},{"id":955,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":956,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":957,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"instrinct","name":"string"}},{"id":958,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound with .bind."},"type":{"type":"instrinct","name":"number"}},{"id":959,"name":"aliases","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The array of aliases to associate to the custom attribute.\n"},"type":{"type":"instrinct","isArray":true,"name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1884,"character":39}]},{"id":952,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":953,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":954,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1876,"character":37}]},{"id":968,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":969,"name":"dynamicOptions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that the decorated custom attribute has options that\nare dynamic, based on their presence in HTML and not statically known."},"parameters":[{"id":970,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1903,"character":38}]},{"id":998,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":999,"name":"elementConfig","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class provides element configuration\nto the EventManager for one or more Web Components."},"parameters":[{"id":1000,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1963,"character":37}]},{"id":989,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":990,"name":"inlineView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a view template, directly inline, for the component. Be\nsure to wrap the markup in a template element."},"parameters":[{"id":991,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"instrinct","name":"string"}},{"id":992,"name":"dependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A list of dependencies that the template has."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"Object"}]}]}},{"id":993,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A base url from which the dependencies will be loaded.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1952,"character":34}]},{"id":994,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":995,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":996,"name":"targetOrDependencies","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"Array","typeArguments":[{"type":"instrinct","name":"any"}]}]}},{"id":997,"name":"dependencyBaseUrl","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1957,"character":30}]},{"id":974,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":975,"name":"processAttributes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the attributes on an element before the framework inspects them."},"parameters":[{"id":976,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a function which can provide custom processing of the content.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1915,"character":41}]},{"id":977,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":978,"name":"processContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Enables custom processing of the content that is places inside the\ncustom element by its consumer."},"parameters":[{"id":979,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Pass a boolean to direct the template compiler to not process\nthe content placed inside this element. Alternatively, pass a function which\ncan provide custom processing of the content. This function should then return\na boolean indicating whether the compiler should also process the content.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Function"}]}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1925,"character":38}]},{"id":946,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":947,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":948,"name":"instance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1864,"character":32}]},{"id":960,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":961,"name":"templateController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Applied to custom attributes. Indicates that whatever element the\nattribute is placed on should be converted into a template and that this\nattribute controls the instantiation of the template."},"parameters":[{"id":962,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1891,"character":42}]},{"id":971,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":972,"name":"useShadowDOM","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the custom element should render its view in Shadow\nDOM. This decorator may change slightly when Aurelia updates to Shadow DOM v1."},"parameters":[{"id":973,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1909,"character":36}]},{"id":986,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":987,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":988,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to the view.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1943,"character":31}]},{"id":983,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":984,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":985,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1937,"character":39}]},{"id":935,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":936,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":937,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":473,"character":39}]},{"id":1001,"name":"viewResources","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1002,"name":"viewResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides the ability to add resources to the related View\nSame as: "},"parameters":[{"id":1003,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"Either: strings with moduleIds, Objects with 'src' and optionally 'as' properties or one of the classes of the module to be included.\n"},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-templating.d.ts","line":1970,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[100,212,814,837,360,660,891,143,129,135,788,304,905,168,853,337,741,315,385,291,724,193,709,477,431,377,249,326,918,563,203,699,752,150,678,349,506,605]},{"title":"Interfaces","kind":256,"children":[68,63,58,71,74,80,77,94,2,7,17,47,10]},{"title":"Variables","kind":32,"children":[945,934,938]},{"title":"Functions","kind":64,"children":[949,963,942,939,980,955,952,968,998,989,994,974,977,946,960,971,986,983,935,1001]}]} \ No newline at end of file diff --git a/package.json b/package.json index c5172b49..09e8195c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "1.4.2", + "version": "1.5.0", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia",