diff --git a/bower.json b/bower.json index 80344679..55195ced 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "1.0.0-rc.1.0.0", + "version": "1.0.0-rc.1.0.1", "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 fe5b4450..621ad875 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -64,7 +64,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; }(); - var _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class14, _dec7, _class16, _dec8, _class17, _dec9, _class19, _dec10, _class20, _dec11, _class21; + var _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class15, _dec7, _class17, _dec8, _class18, _dec9, _class20, _dec10, _class21, _dec11, _class22; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; @@ -1499,7 +1499,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var end = this.lastChild; var next = void 0; - while (true) { + while (current) { next = current.nextSibling; fragment.appendChild(current); @@ -2002,7 +2002,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return ViewSlot; }(); - var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class14 = function () { + var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class15 = function () { function ProviderResolver() { } @@ -2013,7 +2013,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return ProviderResolver; - }()) || _class14; + }()) || _class15; var providerResolverInstance = new ProviderResolver(); @@ -2370,10 +2370,15 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli applySurrogateInstruction(container, element, this.surrogateInstruction, controllers, bindings, children); } + if (createInstruction.enhance && fragment.hasAttribute('au-target-id')) { + instructable = fragment; + instruction = instructions[instructable.getAttribute('au-target-id')]; + applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); + } + for (i = 0, ii = instructables.length; i < ii; ++i) { instructable = instructables[i]; instruction = instructions[instructable.getAttribute('au-target-id')]; - applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); } @@ -2466,7 +2471,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return auShadowSlot; } - var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class16 = function () { + var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class17 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -2826,7 +2831,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return ViewCompiler; - }()) || _class16); + }()) || _class17); var ResourceModule = exports.ResourceModule = function () { function ResourceModule(moduleId) { @@ -2839,6 +2844,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this.viewStrategy = null; this.isInitialized = false; this.onLoaded = null; + this.loadContext = null; } ResourceModule.prototype.initialize = function initialize(container) { @@ -2881,7 +2887,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli ResourceModule.prototype.load = function load(container, loadContext) { if (this.onLoaded !== null) { - return this.onLoaded; + return this.loadContext === loadContext ? Promise.resolve() : this.onLoaded; } var main = this.mainResource; @@ -2901,6 +2907,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } } + this.loadContext = loadContext; this.onLoaded = Promise.all(loads); return this.onLoaded; }; @@ -3100,7 +3107,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return ProxyViewFactory; }(); - var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class17 = function () { + var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class18 = function () { function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3258,7 +3265,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return ViewEngine; - }()) || _class17); + }()) || _class18); var Controller = exports.Controller = function () { function Controller(behavior, instruction, viewModel, elementEvents) { @@ -3430,7 +3437,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return Controller; }(); - var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class19 = function () { + var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class20 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3488,7 +3495,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return BehaviorPropertyObserver; - }()) || _class19); + }()) || _class20); function getObserver(behavior, instance, name) { @@ -4331,7 +4338,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return context.viewModel.activate(context.model) || Promise.resolve(); } - var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class20 = function () { + var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class21 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4478,7 +4485,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return CompositionEngine; - }()) || _class20); + }()) || _class21); var ElementConfigResource = exports.ElementConfigResource = function () { function ElementConfigResource() { @@ -4601,7 +4608,13 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli function processAttributes(processor) { return function (t) { var r = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, HtmlBehaviorResource, t); - r.processAttributes = processor; + r.processAttributes = function (compiler, resources, node, attributes, elementInstruction) { + try { + processor(compiler, resources, node, attributes, elementInstruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + } + }; }; } @@ -4612,7 +4625,14 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli function processContent(processor) { return function (t) { var r = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, HtmlBehaviorResource, t); - r.processContent = processor || doNotProcessContent; + r.processContent = processor ? function (compiler, resources, node, instruction) { + try { + return processor(compiler, resources, node, instruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + return false; + } + } : doNotProcessContent; }; } @@ -4655,7 +4675,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return target ? deco(target) : deco; } - var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class21 = function () { + var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class22 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -4695,5 +4715,5 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; return TemplatingEngine; - }()) || _class21); + }()) || _class22); }); \ No newline at end of file diff --git a/dist/aurelia-templating.d.ts b/dist/aurelia-templating.d.ts index 4799fb4a..07ef0b7e 100644 --- a/dist/aurelia-templating.d.ts +++ b/dist/aurelia-templating.d.ts @@ -974,6 +974,31 @@ export declare class ViewResources { } export declare class View { + /** + * The Dependency Injection Container that was used to create this View instance. + */ + container: Container; + + /** + * The ViewFactory that built this View instance. + */ + viewFactory: ViewFactory; + + /** + * 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. + */ + fragment: DocumentFragment | Element; + + /** + * The primary binding context that this view is data-bound to. + */ + bindingContext: Object; + + /** + * The override context which contains properties capable of overriding those found on the binding context. + */ + overrideContext: Object; + /** * 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 9744aa46..ec4b5112 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -1763,6 +1763,31 @@ interface ViewNode { } export class View { + /** + * The Dependency Injection Container that was used to create this View instance. + */ + container: Container; + + /** + * The ViewFactory that built this View instance. + */ + viewFactory: ViewFactory; + + /** + * 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. + */ + fragment: DocumentFragment | Element; + + /** + * The primary binding context that this view is data-bound to. + */ + bindingContext: Object; + + /** + * The override context which contains properties capable of overriding those found on the binding context. + */ + overrideContext: Object; + /** * Creates a View instance. * @param container The container from which the view was created. @@ -1951,7 +1976,7 @@ export class View { let end = this.lastChild; let next; - while (true) { + while (current) { next = current.nextSibling; fragment.appendChild(current); @@ -2928,10 +2953,15 @@ export class ViewFactory { applySurrogateInstruction(container, element, this.surrogateInstruction, controllers, bindings, children); } + if (createInstruction.enhance && fragment.hasAttribute('au-target-id')) { + instructable = fragment; + instruction = instructions[instructable.getAttribute('au-target-id')]; + applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); + } + for (i = 0, ii = instructables.length; i < ii; ++i) { instructable = instructables[i]; instruction = instructions[instructable.getAttribute('au-target-id')]; - applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); } @@ -3424,6 +3454,7 @@ export class ResourceModule { this.viewStrategy = null; this.isInitialized = false; this.onLoaded = null; + this.loadContext = null; } /** @@ -3481,7 +3512,8 @@ export class ResourceModule { */ load(container: Container, loadContext?: ResourceLoadContext): Promise { if (this.onLoaded !== null) { - return this.onLoaded; + //if it's trying to load the same thing again during the same load, this is a circular dep, so just resolve + return this.loadContext === loadContext ? Promise.resolve() : this.onLoaded; } let main = this.mainResource; @@ -3501,6 +3533,7 @@ export class ResourceModule { } } + this.loadContext = loadContext; this.onLoaded = Promise.all(loads); return this.onLoaded; } @@ -5537,7 +5570,13 @@ export function useShadowDOM(targetOrOptions?): any { export function processAttributes(processor: Function): any { return function(t) { let r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processAttributes = processor; + r.processAttributes = function(compiler, resources, node, attributes, elementInstruction) { + try { + processor(compiler, resources, node, attributes, elementInstruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + } + }; }; } @@ -5554,7 +5593,14 @@ function doNotProcessContent() { return false; } export function processContent(processor: boolean | Function): any { return function(t) { let r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processContent = processor || doNotProcessContent; + r.processContent = processor ? function(compiler, resources, node, instruction) { + try { + return processor(compiler, resources, node, instruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + return false; + } + } : doNotProcessContent; }; } diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index 5b438e77..3cbd6638 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -7,7 +7,7 @@ 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 _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class14, _dec7, _class16, _dec8, _class17, _dec9, _class19, _dec10, _class20, _dec11, _class21; +var _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class15, _dec7, _class17, _dec8, _class18, _dec9, _class20, _dec10, _class21, _dec11, _class22; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; @@ -1480,7 +1480,7 @@ var View = exports.View = function () { var end = this.lastChild; var next = void 0; - while (true) { + while (current) { next = current.nextSibling; fragment.appendChild(current); @@ -1983,7 +1983,7 @@ var ViewSlot = exports.ViewSlot = function () { return ViewSlot; }(); -var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class14 = function () { +var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class15 = function () { function ProviderResolver() { } @@ -1994,7 +1994,7 @@ var ProviderResolver = (0, _aureliaDependencyInjection.resolver)(_class14 = func }; return ProviderResolver; -}()) || _class14; +}()) || _class15; var providerResolverInstance = new ProviderResolver(); @@ -2351,10 +2351,15 @@ var ViewFactory = exports.ViewFactory = function () { applySurrogateInstruction(container, element, this.surrogateInstruction, controllers, bindings, children); } + if (createInstruction.enhance && fragment.hasAttribute('au-target-id')) { + instructable = fragment; + instruction = instructions[instructable.getAttribute('au-target-id')]; + applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); + } + for (i = 0, ii = instructables.length; i < ii; ++i) { instructable = instructables[i]; instruction = instructions[instructable.getAttribute('au-target-id')]; - applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); } @@ -2447,7 +2452,7 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } -var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class16 = function () { +var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class17 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -2807,7 +2812,7 @@ var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjecti }; return ViewCompiler; -}()) || _class16); +}()) || _class17); var ResourceModule = exports.ResourceModule = function () { function ResourceModule(moduleId) { @@ -2820,6 +2825,7 @@ var ResourceModule = exports.ResourceModule = function () { this.viewStrategy = null; this.isInitialized = false; this.onLoaded = null; + this.loadContext = null; } ResourceModule.prototype.initialize = function initialize(container) { @@ -2862,7 +2868,7 @@ var ResourceModule = exports.ResourceModule = function () { ResourceModule.prototype.load = function load(container, loadContext) { if (this.onLoaded !== null) { - return this.onLoaded; + return this.loadContext === loadContext ? Promise.resolve() : this.onLoaded; } var main = this.mainResource; @@ -2882,6 +2888,7 @@ var ResourceModule = exports.ResourceModule = function () { } } + this.loadContext = loadContext; this.onLoaded = Promise.all(loads); return this.onLoaded; }; @@ -3081,7 +3088,7 @@ var ProxyViewFactory = function () { return ProxyViewFactory; }(); -var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class17 = function () { +var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class18 = function () { function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3239,7 +3246,7 @@ var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.i }; return ViewEngine; -}()) || _class17); +}()) || _class18); var Controller = exports.Controller = function () { function Controller(behavior, instruction, viewModel, elementEvents) { @@ -3411,7 +3418,7 @@ var Controller = exports.Controller = function () { return Controller; }(); -var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class19 = function () { +var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class20 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3469,7 +3476,7 @@ var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _ }; return BehaviorPropertyObserver; -}()) || _class19); +}()) || _class20); function getObserver(behavior, instance, name) { @@ -4312,7 +4319,7 @@ function tryActivateViewModel(context) { return context.viewModel.activate(context.model) || Promise.resolve(); } -var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class20 = function () { +var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec10(_class21 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4459,7 +4466,7 @@ var CompositionEngine = exports.CompositionEngine = (_dec10 = (0, _aureliaDepend }; return CompositionEngine; -}()) || _class20); +}()) || _class21); var ElementConfigResource = exports.ElementConfigResource = function () { function ElementConfigResource() { @@ -4582,7 +4589,13 @@ function useShadowDOM(targetOrOptions) { function processAttributes(processor) { return function (t) { var r = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, HtmlBehaviorResource, t); - r.processAttributes = processor; + r.processAttributes = function (compiler, resources, node, attributes, elementInstruction) { + try { + processor(compiler, resources, node, attributes, elementInstruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + } + }; }; } @@ -4593,7 +4606,14 @@ function doNotProcessContent() { function processContent(processor) { return function (t) { var r = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, HtmlBehaviorResource, t); - r.processContent = processor || doNotProcessContent; + r.processContent = processor ? function (compiler, resources, node, instruction) { + try { + return processor(compiler, resources, node, instruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + return false; + } + } : doNotProcessContent; }; } @@ -4636,7 +4656,7 @@ function elementConfig(target) { return target ? deco(target) : deco; } -var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class21 = function () { +var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class22 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -4676,4 +4696,4 @@ var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependen }; return TemplatingEngine; -}()) || _class21); \ No newline at end of file +}()) || _class22); \ No newline at end of file diff --git a/dist/es2015/aurelia-templating.js b/dist/es2015/aurelia-templating.js index 1c573fb2..6ee93ef6 100644 --- a/dist/es2015/aurelia-templating.js +++ b/dist/es2015/aurelia-templating.js @@ -1,4 +1,4 @@ -var _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class14, _dec7, _class16, _dec8, _class17, _dec9, _class19, _dec10, _class20, _dec11, _class21; +var _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class15, _dec7, _class17, _dec8, _class18, _dec9, _class20, _dec10, _class21, _dec11, _class22; import * as LogManager from 'aurelia-logging'; import { metadata, Origin, protocol } from 'aurelia-metadata'; @@ -1308,7 +1308,7 @@ export let View = class View { let end = this.lastChild; let next; - while (true) { + while (current) { next = current.nextSibling; fragment.appendChild(current); @@ -1777,12 +1777,12 @@ export let ViewSlot = class ViewSlot { } }; -let ProviderResolver = resolver(_class14 = class ProviderResolver { +let ProviderResolver = resolver(_class15 = class ProviderResolver { get(container, key) { let id = key.__providerId__; return id in container ? container[id] : container[id] = container.invoke(key); } -}) || _class14; +}) || _class15; let providerResolverInstance = new ProviderResolver(); @@ -2130,10 +2130,15 @@ export let ViewFactory = class ViewFactory { applySurrogateInstruction(container, element, this.surrogateInstruction, controllers, bindings, children); } + if (createInstruction.enhance && fragment.hasAttribute('au-target-id')) { + instructable = fragment; + instruction = instructions[instructable.getAttribute('au-target-id')]; + applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); + } + for (i = 0, ii = instructables.length; i < ii; ++i) { instructable = instructables[i]; instruction = instructions[instructable.getAttribute('au-target-id')]; - applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); } @@ -2224,7 +2229,7 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } -export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class16 = class ViewCompiler { +export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class17 = class ViewCompiler { constructor(bindingLanguage, resources) { this.bindingLanguage = bindingLanguage; this.resources = resources; @@ -2580,7 +2585,7 @@ export let ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 return node.nextSibling; } -}) || _class16); +}) || _class17); export let ResourceModule = class ResourceModule { constructor(moduleId) { @@ -2591,6 +2596,7 @@ export let ResourceModule = class ResourceModule { this.viewStrategy = null; this.isInitialized = false; this.onLoaded = null; + this.loadContext = null; } initialize(container) { @@ -2633,7 +2639,7 @@ export let ResourceModule = class ResourceModule { load(container, loadContext) { if (this.onLoaded !== null) { - return this.onLoaded; + return this.loadContext === loadContext ? Promise.resolve() : this.onLoaded; } let main = this.mainResource; @@ -2653,6 +2659,7 @@ export let ResourceModule = class ResourceModule { } } + this.loadContext = loadContext; this.onLoaded = Promise.all(loads); return this.onLoaded; } @@ -2831,7 +2838,7 @@ let ProxyViewFactory = class ProxyViewFactory { } }; -export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class17 = class ViewEngine { +export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class18 = class ViewEngine { constructor(loader, container, viewCompiler, moduleAnalyzer, appResources) { this.loader = loader; this.container = container; @@ -2971,7 +2978,7 @@ export let ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA return id; } -}) || _class17); +}) || _class18); export let Controller = class Controller { constructor(behavior, instruction, viewModel, elementEvents) { @@ -3139,7 +3146,7 @@ export let Controller = class Controller { } }; -export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class19 = class BehaviorPropertyObserver { +export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class20 = class BehaviorPropertyObserver { constructor(taskQueue, obj, propertyName, selfSubscriber, initialValue) { this.taskQueue = taskQueue; this.obj = obj; @@ -3193,7 +3200,7 @@ export let BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_cl unsubscribe(context, callable) { this.removeSubscriber(context, callable); } -}) || _class19); +}) || _class20); function getObserver(behavior, instance, name) { let lookup = instance.__observers__; @@ -4011,7 +4018,7 @@ function tryActivateViewModel(context) { return context.viewModel.activate(context.model) || Promise.resolve(); } -export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class20 = class CompositionEngine { +export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class21 = class CompositionEngine { constructor(viewEngine, viewLocator) { this.viewEngine = viewEngine; this.viewLocator = viewLocator; @@ -4148,7 +4155,7 @@ export let CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 return Promise.resolve(null); } -}) || _class20); +}) || _class21); export let ElementConfigResource = class ElementConfigResource { initialize(container, target) {} @@ -4266,7 +4273,13 @@ export function useShadowDOM(targetOrOptions) { export function processAttributes(processor) { return function (t) { let r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processAttributes = processor; + r.processAttributes = function (compiler, resources, node, attributes, elementInstruction) { + try { + processor(compiler, resources, node, attributes, elementInstruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + } + }; }; } @@ -4277,7 +4290,14 @@ function doNotProcessContent() { export function processContent(processor) { return function (t) { let r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processContent = processor || doNotProcessContent; + r.processContent = processor ? function (compiler, resources, node, instruction) { + try { + return processor(compiler, resources, node, instruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + return false; + } + } : doNotProcessContent; }; } @@ -4320,7 +4340,7 @@ export function elementConfig(target) { return target ? deco(target) : deco; } -export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class21 = class TemplatingEngine { +export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class22 = class TemplatingEngine { constructor(container, moduleAnalyzer, viewCompiler, compositionEngine) { this._container = container; this._moduleAnalyzer = moduleAnalyzer; @@ -4356,4 +4376,4 @@ export let TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo return view; } -}) || _class21); \ No newline at end of file +}) || _class22); \ No newline at end of file diff --git a/dist/native-modules/aurelia-templating.js b/dist/native-modules/aurelia-templating.js index 88e7459f..3b4f72d9 100644 --- a/dist/native-modules/aurelia-templating.js +++ b/dist/native-modules/aurelia-templating.js @@ -1,6 +1,6 @@ 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 _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class14, _dec7, _class16, _dec8, _class17, _dec9, _class19, _dec10, _class20, _dec11, _class21; +var _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class15, _dec7, _class17, _dec8, _class18, _dec9, _class20, _dec10, _class21, _dec11, _class22; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; @@ -1444,7 +1444,7 @@ export var View = function () { var end = this.lastChild; var next = void 0; - while (true) { + while (current) { next = current.nextSibling; fragment.appendChild(current); @@ -1947,7 +1947,7 @@ export var ViewSlot = function () { return ViewSlot; }(); -var ProviderResolver = resolver(_class14 = function () { +var ProviderResolver = resolver(_class15 = function () { function ProviderResolver() { } @@ -1958,7 +1958,7 @@ var ProviderResolver = resolver(_class14 = function () { }; return ProviderResolver; -}()) || _class14; +}()) || _class15; var providerResolverInstance = new ProviderResolver(); @@ -2315,10 +2315,15 @@ export var ViewFactory = function () { applySurrogateInstruction(container, element, this.surrogateInstruction, controllers, bindings, children); } + if (createInstruction.enhance && fragment.hasAttribute('au-target-id')) { + instructable = fragment; + instruction = instructions[instructable.getAttribute('au-target-id')]; + applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); + } + for (i = 0, ii = instructables.length; i < ii; ++i) { instructable = instructables[i]; instruction = instructions[instructable.getAttribute('au-target-id')]; - applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); } @@ -2411,7 +2416,7 @@ function makeShadowSlot(compiler, resources, node, instructions, parentInjectorI return auShadowSlot; } -export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class16 = function () { +export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class17 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -2771,7 +2776,7 @@ export var ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7 }; return ViewCompiler; -}()) || _class16); +}()) || _class17); export var ResourceModule = function () { function ResourceModule(moduleId) { @@ -2784,6 +2789,7 @@ export var ResourceModule = function () { this.viewStrategy = null; this.isInitialized = false; this.onLoaded = null; + this.loadContext = null; } ResourceModule.prototype.initialize = function initialize(container) { @@ -2826,7 +2832,7 @@ export var ResourceModule = function () { ResourceModule.prototype.load = function load(container, loadContext) { if (this.onLoaded !== null) { - return this.onLoaded; + return this.loadContext === loadContext ? Promise.resolve() : this.onLoaded; } var main = this.mainResource; @@ -2846,6 +2852,7 @@ export var ResourceModule = function () { } } + this.loadContext = loadContext; this.onLoaded = Promise.all(loads); return this.onLoaded; }; @@ -3045,7 +3052,7 @@ var ProxyViewFactory = function () { return ProxyViewFactory; }(); -export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class17 = function () { +export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class18 = function () { function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3203,7 +3210,7 @@ export var ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleA }; return ViewEngine; -}()) || _class17); +}()) || _class18); export var Controller = function () { function Controller(behavior, instruction, viewModel, elementEvents) { @@ -3375,7 +3382,7 @@ export var Controller = function () { return Controller; }(); -export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class19 = function () { +export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class20 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3433,7 +3440,7 @@ export var BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_cl }; return BehaviorPropertyObserver; -}()) || _class19); +}()) || _class20); function getObserver(behavior, instance, name) { var lookup = instance.__observers__; @@ -4275,7 +4282,7 @@ function tryActivateViewModel(context) { return context.viewModel.activate(context.model) || Promise.resolve(); } -export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class20 = function () { +export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class21 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4422,7 +4429,7 @@ export var CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10 }; return CompositionEngine; -}()) || _class20); +}()) || _class21); export var ElementConfigResource = function () { function ElementConfigResource() { @@ -4546,7 +4553,13 @@ export function useShadowDOM(targetOrOptions) { export function processAttributes(processor) { return function (t) { var r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processAttributes = processor; + r.processAttributes = function (compiler, resources, node, attributes, elementInstruction) { + try { + processor(compiler, resources, node, attributes, elementInstruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + } + }; }; } @@ -4557,7 +4570,14 @@ function doNotProcessContent() { export function processContent(processor) { return function (t) { var r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processContent = processor || doNotProcessContent; + r.processContent = processor ? function (compiler, resources, node, instruction) { + try { + return processor(compiler, resources, node, instruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + return false; + } + } : doNotProcessContent; }; } @@ -4600,7 +4620,7 @@ export function elementConfig(target) { return target ? deco(target) : deco; } -export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class21 = function () { +export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class22 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -4640,4 +4660,4 @@ export var TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCo }; return TemplatingEngine; -}()) || _class21); \ No newline at end of file +}()) || _class22); \ No newline at end of file diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index bfdfea5f..61e85c45 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, _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class14, _dec7, _class16, _dec8, _class17, _dec9, _class19, _dec10, _class20, _dec11, _class21, _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, 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, _class4, _temp, _dec, _class5, _dec2, _class6, _dec3, _class7, _dec4, _class8, _dec5, _class9, _class10, _temp2, _dec6, _class11, _class12, _temp3, _class15, _dec7, _class17, _dec8, _class18, _dec9, _class20, _dec10, _class21, _dec11, _class22, _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, CompositionEngine, ElementConfigResource, defaultShadowDOMOptions, TemplatingEngine; @@ -1996,7 +1996,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- var end = this.lastChild; var next = void 0; - while (true) { + while (current) { next = current.nextSibling; fragment.appendChild(current); @@ -2485,7 +2485,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- _export('ViewSlot', ViewSlot); - ProviderResolver = resolver(_class14 = function () { + ProviderResolver = resolver(_class15 = function () { function ProviderResolver() { } @@ -2496,7 +2496,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return ProviderResolver; - }()) || _class14; + }()) || _class15; providerResolverInstance = new ProviderResolver(); _export('BoundViewFactory', BoundViewFactory = function () { @@ -2622,10 +2622,15 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- applySurrogateInstruction(container, element, this.surrogateInstruction, controllers, bindings, children); } + if (createInstruction.enhance && fragment.hasAttribute('au-target-id')) { + instructable = fragment; + instruction = instructions[instructable.getAttribute('au-target-id')]; + applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); + } + for (i = 0, ii = instructables.length; i < ii; ++i) { instructable = instructables[i]; instruction = instructions[instructable.getAttribute('au-target-id')]; - applyInstructions(containers, instructable, instruction, controllers, bindings, children, shadowSlots, partReplacements, resources); } @@ -2648,7 +2653,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- nextInjectorId = 0; lastAUTargetID = 0; - _export('ViewCompiler', ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class16 = function () { + _export('ViewCompiler', ViewCompiler = (_dec7 = inject(BindingLanguage, ViewResources), _dec7(_class17 = function () { function ViewCompiler(bindingLanguage, resources) { @@ -3008,7 +3013,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return ViewCompiler; - }()) || _class16)); + }()) || _class17)); _export('ViewCompiler', ViewCompiler); @@ -3023,6 +3028,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- this.viewStrategy = null; this.isInitialized = false; this.onLoaded = null; + this.loadContext = null; } ResourceModule.prototype.initialize = function initialize(container) { @@ -3065,7 +3071,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- ResourceModule.prototype.load = function load(container, loadContext) { if (this.onLoaded !== null) { - return this.onLoaded; + return this.loadContext === loadContext ? Promise.resolve() : this.onLoaded; } var main = this.mainResource; @@ -3085,6 +3091,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- } } + this.loadContext = loadContext; this.onLoaded = Promise.all(loads); return this.onLoaded; }; @@ -3282,7 +3289,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return ProxyViewFactory; }(); - _export('ViewEngine', ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class17 = function () { + _export('ViewEngine', ViewEngine = (_dec8 = inject(Loader, Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class18 = function () { function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3440,7 +3447,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return ViewEngine; - }()) || _class17)); + }()) || _class18)); _export('ViewEngine', ViewEngine); @@ -3616,7 +3623,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- _export('Controller', Controller); - _export('BehaviorPropertyObserver', BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class19 = function () { + _export('BehaviorPropertyObserver', BehaviorPropertyObserver = (_dec9 = subscriberCollection(), _dec9(_class20 = function () { function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) { @@ -3674,7 +3681,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return BehaviorPropertyObserver; - }()) || _class19)); + }()) || _class20)); _export('BehaviorPropertyObserver', BehaviorPropertyObserver); @@ -4420,7 +4427,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- return ChildObserverBinder; }(); - _export('CompositionEngine', CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class20 = function () { + _export('CompositionEngine', CompositionEngine = (_dec10 = inject(ViewEngine, ViewLocator), _dec10(_class21 = function () { function CompositionEngine(viewEngine, viewLocator) { @@ -4567,7 +4574,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return CompositionEngine; - }()) || _class20)); + }()) || _class21)); _export('CompositionEngine', CompositionEngine); @@ -4701,7 +4708,13 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- function processAttributes(processor) { return function (t) { var r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processAttributes = processor; + r.processAttributes = function (compiler, resources, node, attributes, elementInstruction) { + try { + processor(compiler, resources, node, attributes, elementInstruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + } + }; }; } _export('processAttributes', processAttributes); @@ -4709,7 +4722,14 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- function processContent(processor) { return function (t) { var r = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, t); - r.processContent = processor || doNotProcessContent; + r.processContent = processor ? function (compiler, resources, node, instruction) { + try { + return processor(compiler, resources, node, instruction); + } catch (error) { + LogManager.getLogger('templating').error(error); + return false; + } + } : doNotProcessContent; }; } @@ -4766,7 +4786,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- _export('elementConfig', elementConfig); - _export('TemplatingEngine', TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class21 = function () { + _export('TemplatingEngine', TemplatingEngine = (_dec11 = inject(Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class22 = function () { function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) { @@ -4806,7 +4826,7 @@ System.register(['aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia- }; return TemplatingEngine; - }()) || _class21)); + }()) || _class22)); _export('TemplatingEngine', TemplatingEngine); } diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 59df63cb..d11c243a 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,21 @@ + +# [1.0.0-rc.1.0.1](https://github.com/aurelia/templating/compare/1.0.0-rc.1.0.0...v1.0.0-rc.1.0.1) (2016-07-12) + + +### Bug Fixes + +* **double-uid:** ([#412](https://github.com/aurelia/templating/issues/412)) ([37d282d](https://github.com/aurelia/templating/commit/37d282d)) +* **module-analyzer:** address circular refs in non-globals ([78cd3d3](https://github.com/aurelia/templating/commit/78cd3d3)), closes [#350](https://github.com/aurelia/templating/issues/350) +* **view-factory:** handle instructions directly on enhanced element ([b6630a9](https://github.com/aurelia/templating/commit/b6630a9)), closes [#318](https://github.com/aurelia/templating/issues/318) + + +### Features + +* **decorators:** log exception in process attributes and process content ([a15773f](https://github.com/aurelia/templating/commit/a15773f)), closes [#330](https://github.com/aurelia/templating/issues/330) +* **view:** add more typing info ([1221383](https://github.com/aurelia/templating/commit/1221383)), closes [#370](https://github.com/aurelia/templating/issues/370) + + + # [1.0.0-rc.1.0.0](https://github.com/aurelia/templating/compare/1.0.0-beta.3.0.6...v1.0.0-rc.1.0.0) (2016-06-22) diff --git a/doc/api.json b/doc/api.json index 98fd3c40..7e8bdc48 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"name":"aurelia-templating","children":[{"id":76,"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":87,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":88,"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":89,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":90,"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"}]}}]},{"id":91,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":92,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":93,"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":94,"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"}]}}]},{"id":77,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":78,"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":79,"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"}]}}]},{"id":80,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":81,"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":82,"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"}]}}]},{"id":98,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":99,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":100,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"instrinct","name":"string"}},{"id":101,"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"}}]},{"id":83,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":84,"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":85,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":86,"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"}]}}]},{"id":95,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":96,"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":97,"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"}]}}]},{"id":102,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":103,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":104,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[87,91,77,80,98,83,95,102]}]},{"id":188,"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":223,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"signatures":[{"id":224,"name":"new BehaviorInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":197,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":201,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":199,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":195,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":190,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":198,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":202,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":189,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":193,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":191,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":194,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":200,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}},{"id":192,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"ViewFactory","id":639}},{"id":196,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":203,"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."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":214,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":215,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":216,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":217,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}}],"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":218,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":219,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":220,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":221,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":222,"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":639}}],"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":210,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":211,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":212,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":213,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}}],"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":204,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":205,"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":188}}]},{"id":206,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":207,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":208,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}},{"id":209,"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":188}}]}],"groups":[{"title":"Constructors","kind":512,"children":[223]},{"title":"Properties","kind":1024,"children":[197,201,199,195,190,198,202,189,193,191,194,200,192,196,203]},{"title":"Methods","kind":2048,"children":[214,218,210,204,206]}]},{"id":772,"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":773,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":774,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":775,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":776,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":777,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"instrinct","name":"string"}},{"id":778,"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":779,"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":772}}]},{"id":785,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":786,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"instrinct","name":"void"}}]},{"id":780,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":781,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"instrinct","name":"any"}}]},{"id":782,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":783,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":784,"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"}}]},{"id":787,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":788,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":789,"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":790,"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"}}]},{"id":791,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":792,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":793,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"instrinct","name":"any"}},{"id":794,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[773]},{"title":"Methods","kind":2048,"children":[785,780,782,787,791]}]},{"id":795,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":796,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":797,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":798,"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":795}}]},{"id":808,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":809,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":810,"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":772}}]},{"id":804,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":805,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":806,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":807,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}}],"type":{"type":"instrinct","name":"void"}}]},{"id":799,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":800,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":801,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":802,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}},{"id":803,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[796]},{"title":"Methods","kind":2048,"children":[808,804,799]}]},{"id":327,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":334,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":335,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":336,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":337,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":338,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":339,"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":188}}]},{"id":328,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":329,"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":330,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":331,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":332,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":333,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}]},{"id":340,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":341,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":342,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":343,"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"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[334,328,340]}]},{"id":621,"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":622,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":623,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":624,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":625,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":639}},{"id":626,"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":621}}]},{"id":629,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"type":{"type":"instrinct","name":"any"}},{"id":627,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":628,"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":530}}]},{"id":634,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":635,"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":530}}]},{"id":636,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":637,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":638,"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":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":630,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":631,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":632,"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":633,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[622]},{"title":"Properties","kind":1024,"children":[629]},{"title":"Methods","kind":2048,"children":[627,634,636,630]}]},{"id":849,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":850,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":851,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":852,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":713}},{"id":853,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":316}}],"type":{"type":"reference","name":"CompositionEngine","id":849}}]},{"id":860,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":861,"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":862,"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":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":530},{"type":"reference","name":"Controller","id":746}]}]}}]},{"id":854,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":855,"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":856,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":746}]}}]},{"id":857,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":858,"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":859,"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":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":57}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[850]},{"title":"Methods","kind":2048,"children":[860,854,857]}]},{"id":119,"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":120,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":121,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":119}}]},{"id":124,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":125,"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":105}}]},{"id":122,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"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":111}}]}],"groups":[{"title":"Constructors","kind":512,"children":[120]},{"title":"Methods","kind":2048,"children":[124,122]}]},{"id":105,"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":106,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":107,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":108,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":105}}]},{"id":109,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[106]},{"title":"Methods","kind":2048,"children":[109]}]},{"id":111,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":112,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":113,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":114,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":111}}]},{"id":117,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":118,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"instrinct","name":"void"}}]},{"id":115,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":116,"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"}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[112]},{"title":"Methods","kind":2048,"children":[117,115]}]},{"id":746,"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":750,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":751,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":752,"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":811}},{"id":753,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":754,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller.\n"},"type":{"type":"reference","name":"Object"}},{"id":755,"name":"elementEvents","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ElementEvents","id":144}}],"type":{"type":"reference","name":"Controller","id":746}}]},{"id":747,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}},{"id":749,"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."},"type":{"type":"reference","name":"View","id":530}},{"id":748,"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."},"type":{"type":"reference","name":"Object"}},{"id":768,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":769,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"instrinct","name":"void"}}]},{"id":759,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":760,"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":761,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":762,"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":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":763,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":764,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":765,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":756,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":757,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":758,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":770,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":771,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"instrinct","name":"void"}}]},{"id":766,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":767,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[750]},{"title":"Properties","kind":1024,"children":[747,749,748]},{"title":"Methods","kind":2048,"children":[768,759,763,756,770,766]}]},{"id":279,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":280,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":281,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":282,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":316}},{"id":283,"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":279}}]},{"id":284,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":285,"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":286,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":713}},{"id":287,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":288,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[280]},{"title":"Methods","kind":2048,"children":[284]}]},{"id":863,"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":864,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":865,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":866,"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":867,"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"}}]},{"id":872,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":873,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":874,"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":875,"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"}}]},{"id":868,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":869,"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":870,"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":473}},{"id":871,"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"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[864,872,868]}]},{"id":144,"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":145,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":146,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":147,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"ElementEvents","id":144}}]},{"id":164,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":165,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":166,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":167,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":168,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"instrinct","name":"any"}}]},{"id":148,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":149,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":150,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":151,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":152,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}},{"id":153,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":154,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":155,"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":156,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":157,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":158,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}]},{"id":159,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":160,"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":161,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"String"}},{"id":162,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":163,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}]}],"groups":[{"title":"Constructors","kind":512,"children":[145]},{"title":"Methods","kind":2048,"children":[164,167,148,154,159]}]},{"id":811,"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":812,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":813,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}}]},{"id":818,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":819,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":820,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":836,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":837,"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":838,"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":660}},{"id":839,"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":473}},{"id":840,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":841,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":842,"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"}}]},{"id":843,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":844,"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":845,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":846,"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":188}},{"id":847,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":848,"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":746}}]},{"id":821,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":822,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":823,"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":824,"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"}}]},{"id":829,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":830,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":831,"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":832,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":833,"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":169}},{"id":834,"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":835,"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":811}]}}]},{"id":825,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":826,"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":827,"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":473}},{"id":828,"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"}}]},{"id":814,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":815,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":816,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"instrinct","name":"string"}},{"id":817,"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":811}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}}]}],"groups":[{"title":"Constructors","kind":512,"children":[812]},{"title":"Methods","kind":2048,"children":[818,836,843,821,829,825,814]}]},{"id":305,"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":306,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":307,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":308,"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":309,"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":310,"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":305}}]},{"id":311,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":312,"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":313,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":713}},{"id":314,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":315,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[306]},{"title":"Methods","kind":2048,"children":[311]}]},{"id":702,"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":703,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":704,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":702}}]},{"id":708,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":709,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":710,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"instrinct","name":"string"}},{"id":711,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"instrinct","name":"any"}},{"id":712,"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":670}}]},{"id":705,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":706,"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":707,"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":670}}]}],"groups":[{"title":"Constructors","kind":512,"children":[703]},{"title":"Methods","kind":2048,"children":[708,705]}]},{"id":289,"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":290,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":291,"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":292,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":713}},{"id":293,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":294,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]}],"groups":[{"title":"Methods","kind":2048,"children":[290]}]},{"id":352,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":353,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":354,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":355,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":356,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":357,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":358,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":352}}]},{"id":359,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":369,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":370,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":371,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":372,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":373,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":374,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":392,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":393,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":389,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":390,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":391,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":386,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":387,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":388,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":394,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":395,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":366,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":367,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":368,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":382,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":383,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":384,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":385,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":379,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":380,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":381,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":375,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":376,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":377,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":378,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":360,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":361,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":362,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":363,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":364,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":365,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":396,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":397,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[353]},{"title":"Properties","kind":1024,"children":[359]},{"title":"Methods","kind":2048,"children":[369,392,389,386,394,366,382,379,375,360,396]}]},{"id":267,"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":268,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":269,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":270,"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":267}}]},{"id":271,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":272,"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":273,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":713}},{"id":274,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":275,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]},{"id":276,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":277,"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":278,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[268]},{"title":"Methods","kind":2048,"children":[271,276]}]},{"id":685,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":686,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":687,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":688,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"instrinct","name":"string"}},{"id":689,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"instrinct","name":"any"}},{"id":690,"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":685}}]},{"id":691,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":692,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":693,"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"}}]},{"id":698,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":699,"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":700,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":701,"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":169}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]},{"type":"instrinct","name":"void"}]}}]},{"id":694,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":695,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":696,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":697,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[686]},{"title":"Methods","kind":2048,"children":[691,698,694]}]},{"id":169,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":171,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":172,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":169}}]},{"id":170,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":173,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":174,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":175,"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"}}]},{"id":176,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":177,"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":178,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"boolean"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[171]},{"title":"Properties","kind":1024,"children":[170]},{"title":"Methods","kind":2048,"children":[173,176]}]},{"id":670,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":671,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":672,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":673,"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":670}}]},{"id":674,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":675,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":676,"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"}}]},{"id":681,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":682,"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":683,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":684,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]},{"id":677,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":678,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":679,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":680,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[671]},{"title":"Methods","kind":2048,"children":[674,681,677]}]},{"id":444,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":445,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":465,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":466,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":467,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":468,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":469,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":470,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":471,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":472,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":449,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":450,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":451,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":452,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":453,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":454,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":455,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":446,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":447,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":448,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":461,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":462,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":463,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":464,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":456,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":457,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":458,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":459,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":460,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Properties","kind":1024,"children":[445]},{"title":"Methods","kind":2048,"children":[465,449,446,461,456]}]},{"id":398,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":399,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":400,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":401,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":402,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":403,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":398}}]},{"id":404,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":405,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":406,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":407,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":408,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":409,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":410,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":411,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":438,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":439,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":435,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":436,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":437,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":432,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":433,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":434,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":440,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":441,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":422,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":423,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":424,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":425,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":419,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":420,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":421,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":416,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":417,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":418,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":412,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":413,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":414,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":415,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":426,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":427,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":428,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":429,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":430,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":431,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":442,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":443,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[399]},{"title":"Properties","kind":1024,"children":[404]},{"title":"Methods","kind":2048,"children":[405,438,435,432,440,422,419,416,412,426,442]}]},{"id":344,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":345,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":346,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":347,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":344}}]},{"id":348,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":349,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":350,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":351,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[345]},{"title":"Methods","kind":2048,"children":[348]}]},{"id":225,"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":265,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TargetInstruction."},"signatures":[{"id":266,"name":"new TargetInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TargetInstruction."},"type":{"type":"reference","name":"TargetInstruction","id":225}}]},{"id":236,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":233,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":188}]}},{"id":231,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":237,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":232,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":226,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"number"}},{"id":238,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":227,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"number"}},{"id":234,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":228,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":230,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":229,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":239,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":235,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"ViewFactory","id":639}},{"id":240,"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."},"type":{"type":"instrinct","name":"any"}},{"id":244,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":245,"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":246,"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":225}}]},{"id":247,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":248,"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":249,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":250,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}}],"type":{"type":"reference","name":"TargetInstruction","id":225}}]},{"id":251,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":252,"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":253,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":254,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":255,"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":256,"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":188}]}},{"id":257,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":258,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}}],"type":{"type":"reference","name":"TargetInstruction","id":225}}]},{"id":241,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":242,"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":243,"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":225}}]},{"id":259,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":260,"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":261,"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":262,"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":188}]}},{"id":263,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":264,"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":225}}]}],"groups":[{"title":"Constructors","kind":512,"children":[265]},{"title":"Properties","kind":1024,"children":[236,233,231,237,232,226,238,227,234,228,230,229,239,235,240]},{"title":"Methods","kind":2048,"children":[244,247,251,241,259]}]},{"id":295,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":296,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":297,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":298,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"instrinct","name":"string"}},{"id":299,"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":295}}]},{"id":300,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":301,"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":302,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":713}},{"id":303,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":304,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[296]},{"title":"Methods","kind":2048,"children":[300]}]},{"id":876,"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":877,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":878,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":879,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":880,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":702}},{"id":881,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":660}},{"id":882,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":849}}],"type":{"type":"reference","name":"TemplatingEngine","id":876}}]},{"id":886,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":887,"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":888,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":530},{"type":"reference","name":"Controller","id":746}]}]}}]},{"id":883,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":884,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":885,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":76}}],"type":{"type":"instrinct","name":"void"}}]},{"id":889,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":890,"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":891,"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":70}]}}],"type":{"type":"reference","name":"View","id":530}}]}],"groups":[{"title":"Constructors","kind":512,"children":[877]},{"title":"Methods","kind":2048,"children":[886,883,889]}]},{"id":530,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":531,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":532,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":533,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":534,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":639}},{"id":535,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":536,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"reference","isArray":true,"name":"Controller","id":746}},{"id":537,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"reference","isArray":true,"name":"Binding"}},{"id":538,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"reference","isArray":true,"name":"ViewNode","id":46}},{"id":539,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":530}}]},{"id":549,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":551,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":557,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":558,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":559,"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"}}]},{"id":562,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":563,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":544,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":545,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":546,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":547,"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":548,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":542,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":543,"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"}}]},{"id":564,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":565,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":554,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":555,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":556,"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"}}]},{"id":560,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":561,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"instrinct","name":"void"}}]},{"id":540,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":541,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"instrinct","name":"void"}}]},{"id":552,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":553,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[531]},{"title":"Methods","kind":2048,"children":[549,557,562,544,542,564,554,560,540,552]}]},{"id":179,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":184,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":185,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":186,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"instrinct","name":"boolean"}},{"id":187,"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":179}}]},{"id":182,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":181,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":180,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":183,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}}],"groups":[{"title":"Constructors","kind":512,"children":[184]},{"title":"Properties","kind":1024,"children":[182,181,180,183]}]},{"id":660,"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":661,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":662,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":663,"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":327}},{"id":664,"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":473}}],"type":{"type":"reference","name":"ViewCompiler","id":660}}]},{"id":665,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":666,"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":667,"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":668,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":669,"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":179}}],"type":{"type":"reference","name":"ViewFactory","id":639}}]}],"groups":[{"title":"Constructors","kind":512,"children":[661]},{"title":"Methods","kind":2048,"children":[665]}]},{"id":713,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":714,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":715,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":716,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":717,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":718,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":660}},{"id":719,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":702}},{"id":720,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":473}}],"type":{"type":"reference","name":"ViewEngine","id":713}}]},{"id":721,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":722,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":723,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"instrinct","name":"string"}},{"id":724,"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"}}]},{"id":735,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":736,"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":737,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"instrinct","name":"string"}},{"id":738,"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":685}]}}]},{"id":739,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":740,"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":741,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"instrinct","isArray":true,"name":"string"}},{"id":742,"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":743,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":744,"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":179}},{"id":745,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":473}]}}]},{"id":730,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":731,"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":732,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":733,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":734,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":473}]}}]},{"id":725,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":726,"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":727,"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":728,"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":179}},{"id":729,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[714]},{"title":"Methods","kind":2048,"children":[721,735,739,730,725]}]},{"id":126,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":127,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":128,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":126}}]},{"id":129,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":130,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":131,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":132,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":137,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":138,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":139,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":140,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":133,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":134,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":135,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":136,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":141,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":142,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":143,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[127]},{"title":"Methods","kind":2048,"children":[129,137,133,141]}]},{"id":639,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":641,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":642,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":643,"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":644,"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":645,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":473}}],"type":{"type":"reference","name":"ViewFactory","id":639}}]},{"id":640,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"type":{"type":"instrinct","name":"any"}},{"id":655,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":656,"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":657,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":658,"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":659,"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":530}}]},{"id":650,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":651,"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":530}}]},{"id":652,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":653,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":654,"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":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":646,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":647,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":648,"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":649,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[641]},{"title":"Properties","kind":1024,"children":[640]},{"title":"Methods","kind":2048,"children":[655,650,652,646]}]},{"id":316,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":317,"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."},"type":{"type":"instrinct","name":"any"}},{"id":324,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":325,"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":326,"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"}}]},{"id":321,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":322,"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":323,"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}}]},{"id":318,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":319,"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":320,"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}}]}],"groups":[{"title":"Properties","kind":1024,"children":[317]},{"title":"Methods","kind":2048,"children":[324,321,318]}]},{"id":473,"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":475,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":476,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":477,"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":473}},{"id":478,"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":473}}]},{"id":474,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"type":{"type":"instrinct","name":"any"}},{"id":506,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":507,"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":508,"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":811}}]},{"id":520,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":521,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":522,"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"}}]},{"id":482,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":483,"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":484,"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":327}}],"type":{"type":"reference","name":"BindingLanguage","id":327}}]},{"id":495,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":496,"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":497,"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":811}}]},{"id":527,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":528,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":529,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":513,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":514,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":515,"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"}}]},{"id":498,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":499,"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":500,"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"}}]},{"id":485,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":486,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":487,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":473}}],"type":{"type":"instrinct","name":"void"}}]},{"id":501,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":502,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":503,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":504,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}},{"id":505,"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"}}]},{"id":516,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":517,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":518,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"instrinct","name":"string"}},{"id":519,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":491,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":492,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":493,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"instrinct","name":"string"}},{"id":494,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}}],"type":{"type":"instrinct","name":"void"}}]},{"id":523,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":524,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":525,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}},{"id":526,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":509,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":510,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":511,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"instrinct","name":"string"}},{"id":512,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":479,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":480,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":481,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":16}}],"type":{"type":"instrinct","name":"void"}}]},{"id":488,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"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":490,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[475]},{"title":"Properties","kind":1024,"children":[474]},{"title":"Methods","kind":2048,"children":[506,520,482,495,527,513,498,485,501,516,491,523,509,479,488]}]},{"id":566,"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":567,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":568,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":569,"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":570,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"instrinct","name":"boolean"}},{"id":571,"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":76}}],"type":{"type":"reference","name":"ViewSlot","id":566}}]},{"id":584,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":585,"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":586,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}]},{"id":572,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":573,"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":574,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}},{"id":575,"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"}]}]}}]},{"id":614,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":615,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":578,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":579,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the slot and it's children."},"parameters":[{"id":580,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":581,"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"}}]},{"id":616,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":617,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":587,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":588,"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":589,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"instrinct","name":"number"}},{"id":590,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}]},{"id":591,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":592,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":593,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"instrinct","name":"any"}},{"id":594,"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"}}]},{"id":618,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":619,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":620,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":595,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":596,"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":597,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":530}},{"id":598,"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":599,"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":530}]}]}}]},{"id":610,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"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":612,"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":613,"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"}]}]}}]},{"id":605,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":606,"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":607,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"instrinct","name":"number"}},{"id":608,"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":609,"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":530},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":530}]}]}}]},{"id":600,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":601,"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":602,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"reference","isArray":true,"name":"View","id":530}},{"id":603,"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":604,"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":530}]}]}}]},{"id":576,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":577,"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"}}]},{"id":582,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":583,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[567]},{"title":"Methods","kind":2048,"children":[584,572,614,578,616,587,591,618,595,610,605,600,576,582]}]},{"id":57,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":60,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"type":{"type":"instrinct","name":"any"}},{"id":59,"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."},"type":{"type":"reference","name":"Container"}},{"id":58,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"type":{"type":"reference","name":"Container"}},{"id":63,"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."},"type":{"type":"instrinct","name":"any"}},{"id":61,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"type":{"type":"instrinct","name":"any"}},{"id":66,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"type":{"type":"reference","name":"View","id":530}},{"id":69,"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."},"type":{"type":"instrinct","name":"boolean"}},{"id":67,"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."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"ViewStrategy","id":10}]}},{"id":62,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"type":{"type":"instrinct","name":"any"}},{"id":64,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":811}},{"id":65,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":68,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"type":{"type":"reference","name":"ViewSlot","id":566}}],"groups":[{"title":"Properties","kind":1024,"children":[60,59,58,63,61,66,69,67,62,64,65,68]}]},{"id":70,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":74,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"type":{"type":"reference","name":"Object"}},{"id":71,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"type":{"type":"reference","name":"Container"}},{"id":72,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"type":{"type":"reference","name":"Element"}},{"id":75,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"type":{"type":"instrinct","name":"any"}},{"id":73,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"type":{"type":"reference","name":"ViewResources","id":473}}],"groups":[{"title":"Properties","kind":1024,"children":[74,71,72,75,73]}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":5,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":6,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,3,6]}]},{"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."},"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."},"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[8,9]}]},{"id":16,"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":23,"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"}]},"type":{"type":"reflection","declaration":{"id":24,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":25,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":26,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":639}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":34,"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"}]},"type":{"type":"reflection","declaration":{"id":35,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":36,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":37,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":38,"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"}]},"type":{"type":"reflection","declaration":{"id":39,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":40,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":41,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":17,"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"}]},"type":{"type":"reflection","declaration":{"id":18,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":19,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":20,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":21,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":22,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":27,"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"}]},"type":{"type":"reflection","declaration":{"id":28,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":29,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":30,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":639}},{"id":31,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":32,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":33,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":7}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":42,"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"}]},"type":{"type":"reflection","declaration":{"id":43,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":44,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":45,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[23,34,38,17,27,42]}]},{"id":46,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":51,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":47,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":48,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":49,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":50,"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"}}]},{"id":53,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":54,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":55,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":56,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[51,47,53,55]}]},{"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":713}},{"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":179}},{"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":639}]}}]}],"groups":[{"title":"Methods","kind":2048,"children":[11]}]},{"id":892,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"List the events that an Animator should raise."},"type":{"type":"instrinct","name":"any"}},{"id":896,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"type":{"type":"reference","name":"Function"}},{"id":906,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":907,"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":908,"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":811},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}]},{"id":919,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":920,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":921,"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":922,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":923,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":900,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":901,"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":902,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}]},{"id":897,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":898,"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":899,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}]},{"id":936,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":937,"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":938,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":912,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":913,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":914,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"instrinct","name":"string"}},{"id":915,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound wtih .bind.\n"},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":909,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":910,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":911,"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"}}]},{"id":924,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":925,"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":926,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":953,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":954,"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":955,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":945,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":946,"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":947,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"instrinct","name":"string"}},{"id":948,"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":949,"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"}}]},{"id":950,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":951,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":952,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":930,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":931,"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":932,"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"}}]},{"id":933,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":934,"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":935,"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"}}]},{"id":903,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":904,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":905,"name":"instance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":916,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":917,"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":918,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":927,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":928,"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":929,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":942,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":943,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":944,"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"}}]},{"id":939,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":940,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":941,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":893,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":894,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":895,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Classes","kind":128,"children":[76,188,772,795,327,621,849,119,105,111,746,279,863,144,811,305,702,289,352,267,685,169,670,444,398,344,225,295,876,530,179,660,713,126,639,316,473,566]},{"title":"Interfaces","kind":256,"children":[57,70,2,7,16,46,10]},{"title":"Variables","kind":32,"children":[892,896]},{"title":"Functions","kind":64,"children":[906,919,900,897,936,912,909,924,953,945,950,930,933,903,916,927,942,939,893]}]} \ No newline at end of file +{"name":"aurelia-templating","children":[{"id":76,"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":87,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":88,"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":89,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":90,"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"}]}}]},{"id":91,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":92,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":93,"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":94,"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"}]}}]},{"id":77,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":78,"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":79,"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"}]}}]},{"id":80,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":81,"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":82,"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"}]}}]},{"id":98,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":99,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":100,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"instrinct","name":"string"}},{"id":101,"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"}}]},{"id":83,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":84,"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":85,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":86,"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"}]}}]},{"id":95,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":96,"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":97,"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"}]}}]},{"id":102,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":103,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":104,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[87,91,77,80,98,83,95,102]}]},{"id":188,"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":223,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"signatures":[{"id":224,"name":"new BehaviorInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":197,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":201,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":199,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":195,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":190,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":198,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":202,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":189,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":193,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":191,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":194,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":200,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}},{"id":192,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"ViewFactory","id":644}},{"id":196,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":203,"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."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":214,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":215,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":216,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":217,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}}],"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":218,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":219,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":220,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":221,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":222,"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":644}}],"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":210,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":211,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":212,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":213,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}}],"type":{"type":"reference","name":"BehaviorInstruction","id":188}}]},{"id":204,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":205,"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":188}}]},{"id":206,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":207,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":208,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}},{"id":209,"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":188}}]}],"groups":[{"title":"Constructors","kind":512,"children":[223]},{"title":"Properties","kind":1024,"children":[197,201,199,195,190,198,202,189,193,191,194,200,192,196,203]},{"title":"Methods","kind":2048,"children":[214,218,210,204,206]}]},{"id":777,"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":778,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":779,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":780,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":781,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":782,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"instrinct","name":"string"}},{"id":783,"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":784,"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":777}}]},{"id":790,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":791,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"instrinct","name":"void"}}]},{"id":785,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":786,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"instrinct","name":"any"}}]},{"id":787,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":788,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":789,"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"}}]},{"id":792,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":793,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":794,"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":795,"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"}}]},{"id":796,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":797,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":798,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"instrinct","name":"any"}},{"id":799,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[778]},{"title":"Methods","kind":2048,"children":[790,785,787,792,796]}]},{"id":800,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":801,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":802,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":803,"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":800}}]},{"id":813,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":814,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":815,"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":777}}]},{"id":809,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":810,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":811,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":812,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}}],"type":{"type":"instrinct","name":"void"}}]},{"id":804,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":805,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":806,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":807,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}},{"id":808,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[801]},{"title":"Methods","kind":2048,"children":[813,809,804]}]},{"id":327,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":334,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":335,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":336,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":337,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":338,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":339,"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":188}}]},{"id":328,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":329,"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":330,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":331,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":332,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":333,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}]},{"id":340,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":341,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":342,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":343,"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"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[334,328,340]}]},{"id":626,"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":627,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":628,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":629,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":630,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":644}},{"id":631,"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":626}}]},{"id":634,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"type":{"type":"instrinct","name":"any"}},{"id":632,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":633,"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":530}}]},{"id":639,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":640,"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":530}}]},{"id":641,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":642,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":643,"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":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":635,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":636,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":637,"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":638,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[627]},{"title":"Properties","kind":1024,"children":[634]},{"title":"Methods","kind":2048,"children":[632,639,641,635]}]},{"id":854,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":855,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":856,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":857,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":718}},{"id":858,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":316}}],"type":{"type":"reference","name":"CompositionEngine","id":854}}]},{"id":865,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":866,"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":867,"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":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":530},{"type":"reference","name":"Controller","id":751}]}]}}]},{"id":859,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":860,"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":861,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":751}]}}]},{"id":862,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":863,"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":864,"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":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":57}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[855]},{"title":"Methods","kind":2048,"children":[865,859,862]}]},{"id":119,"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":120,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":121,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":119}}]},{"id":124,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":125,"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":105}}]},{"id":122,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"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":111}}]}],"groups":[{"title":"Constructors","kind":512,"children":[120]},{"title":"Methods","kind":2048,"children":[124,122]}]},{"id":105,"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":106,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":107,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":108,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":105}}]},{"id":109,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[106]},{"title":"Methods","kind":2048,"children":[109]}]},{"id":111,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":112,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":113,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":114,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":111}}]},{"id":117,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":118,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"instrinct","name":"void"}}]},{"id":115,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":116,"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"}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[112]},{"title":"Methods","kind":2048,"children":[117,115]}]},{"id":751,"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":755,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":756,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":757,"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":816}},{"id":758,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":759,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller.\n"},"type":{"type":"reference","name":"Object"}},{"id":760,"name":"elementEvents","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ElementEvents","id":144}}],"type":{"type":"reference","name":"Controller","id":751}}]},{"id":752,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}},{"id":754,"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."},"type":{"type":"reference","name":"View","id":530}},{"id":753,"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."},"type":{"type":"reference","name":"Object"}},{"id":773,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":774,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"instrinct","name":"void"}}]},{"id":764,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":765,"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":766,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":767,"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":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":768,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":769,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":770,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":761,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":762,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":763,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":775,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":776,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"instrinct","name":"void"}}]},{"id":771,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":772,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[755]},{"title":"Properties","kind":1024,"children":[752,754,753]},{"title":"Methods","kind":2048,"children":[773,764,768,761,775,771]}]},{"id":279,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":280,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":281,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":282,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":316}},{"id":283,"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":279}}]},{"id":284,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":285,"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":286,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":718}},{"id":287,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":288,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[280]},{"title":"Methods","kind":2048,"children":[284]}]},{"id":868,"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":869,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":870,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":871,"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":872,"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"}}]},{"id":877,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":878,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":879,"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":880,"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"}}]},{"id":873,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":874,"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":875,"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":473}},{"id":876,"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"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[869,877,873]}]},{"id":144,"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":145,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":146,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":147,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"ElementEvents","id":144}}]},{"id":164,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":165,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":166,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":167,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":168,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"instrinct","name":"any"}}]},{"id":148,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":149,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":150,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":151,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":152,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}},{"id":153,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":154,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":155,"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":156,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":157,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":158,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}]},{"id":159,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":160,"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":161,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"String"}},{"id":162,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":163,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}]}],"groups":[{"title":"Constructors","kind":512,"children":[145]},{"title":"Methods","kind":2048,"children":[164,167,148,154,159]}]},{"id":816,"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":817,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"signatures":[{"id":818,"name":"new HtmlBehaviorResource","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HtmlBehaviorResource."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}}]},{"id":823,"name":"addChildBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":824,"name":"addChildBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding expression to the component created by this resource."},"parameters":[{"id":825,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding expression.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":841,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":842,"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":843,"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":665}},{"id":844,"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":473}},{"id":845,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node on which this behavior exists."},"type":{"type":"reference","name":"Node"}},{"id":846,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction created for this behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":847,"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"}}]},{"id":848,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":849,"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":850,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to create the instance in."},"type":{"type":"reference","name":"Container"}},{"id":851,"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":188}},{"id":852,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The element on which this behavior exists."},"type":{"type":"reference","name":"Element"}},{"id":853,"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":751}}]},{"id":826,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":827,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":828,"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":829,"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"}}]},{"id":834,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":835,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":836,"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":837,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached."},"type":{"type":"reference","name":"Function"}},{"id":838,"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":169}},{"id":839,"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":840,"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":816}]}}]},{"id":830,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":831,"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":832,"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":473}},{"id":833,"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"}}]},{"id":819,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":820,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Checks whether the provided name matches any naming conventions for HtmlBehaviorResource."},"parameters":[{"id":821,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the potential resource."},"type":{"type":"instrinct","name":"string"}},{"id":822,"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":816}}],"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}}]}],"groups":[{"title":"Constructors","kind":512,"children":[817]},{"title":"Methods","kind":2048,"children":[823,841,848,826,834,830,819]}]},{"id":305,"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":306,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"signatures":[{"id":307,"name":"new InlineViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of InlineViewStrategy."},"parameters":[{"id":308,"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":309,"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":310,"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":305}}]},{"id":311,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":312,"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":313,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":718}},{"id":314,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":315,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[306]},{"title":"Methods","kind":2048,"children":[311]}]},{"id":707,"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":708,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"signatures":[{"id":709,"name":"new ModuleAnalyzer","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ModuleAnalyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":707}}]},{"id":713,"name":"analyze","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":714,"name":"analyze","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Analyzes a module.","returns":"The ResouceModule representing the analysis.\n"},"parameters":[{"id":715,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the module to analyze."},"type":{"type":"instrinct","name":"string"}},{"id":716,"name":"moduleInstance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module instance to analyze."},"type":{"type":"instrinct","name":"any"}},{"id":717,"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":675}}]},{"id":710,"name":"getAnalysis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":711,"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":712,"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":675}}]}],"groups":[{"title":"Constructors","kind":512,"children":[708]},{"title":"Methods","kind":2048,"children":[713,710]}]},{"id":289,"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":290,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":291,"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":292,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":718}},{"id":293,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":294,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]}],"groups":[{"title":"Methods","kind":2048,"children":[290]}]},{"id":352,"name":"PassThroughSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":353,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":354,"name":"new PassThroughSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":355,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":356,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":357,"name":"destinationName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":358,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"PassThroughSlot","id":352}}]},{"id":359,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":369,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":370,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":371,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":372,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":373,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":374,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":392,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":393,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":389,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":390,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":391,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":386,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":387,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":388,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":394,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":395,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":366,"name":"passThroughTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":367,"name":"passThroughTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":368,"name":"destinationSlot","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":382,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":383,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":384,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":385,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":379,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":380,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":381,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":375,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":376,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":377,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":378,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":360,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":361,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":362,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":363,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":364,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":365,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":396,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":397,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[353]},{"title":"Properties","kind":1024,"children":[359]},{"title":"Methods","kind":2048,"children":[369,392,389,386,394,366,382,379,375,360,396]}]},{"id":267,"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":268,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"signatures":[{"id":269,"name":"new RelativeViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RelativeViewStrategy."},"parameters":[{"id":270,"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":267}}]},{"id":271,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":272,"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":273,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":718}},{"id":274,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":275,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]},{"id":276,"name":"makeRelativeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":277,"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":278,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[268]},{"title":"Methods","kind":2048,"children":[271,276]}]},{"id":690,"name":"ResourceDescription","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single view resource with a ResourceModule."},"children":[{"id":691,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceDescription."},"signatures":[{"id":692,"name":"new ResourceDescription","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceDescription."},"parameters":[{"id":693,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The key that the resource was exported as."},"type":{"type":"instrinct","name":"string"}},{"id":694,"name":"exportedValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The exported resource."},"type":{"type":"instrinct","name":"any"}},{"id":695,"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":690}}]},{"id":696,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":697,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resource."},"parameters":[{"id":698,"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"}}]},{"id":703,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"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":705,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":706,"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":169}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]},{"type":"instrinct","name":"void"}]}}]},{"id":699,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":700,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registrers the resource with the view resources."},"parameters":[{"id":701,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":702,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[691]},{"title":"Methods","kind":2048,"children":[696,703,699]}]},{"id":169,"name":"ResourceLoadContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A context that flows through the view resource load process."},"children":[{"id":171,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"signatures":[{"id":172,"name":"new ResourceLoadContext","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceLoadContext."},"type":{"type":"reference","name":"ResourceLoadContext","id":169}}]},{"id":170,"name":"dependencies","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":173,"name":"addDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":174,"name":"addDependency","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tracks a dependency that is being loaded."},"parameters":[{"id":175,"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"}}]},{"id":176,"name":"hasDependency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":177,"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":178,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"boolean"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[171]},{"title":"Properties","kind":1024,"children":[170]},{"title":"Methods","kind":2048,"children":[173,176]}]},{"id":675,"name":"ResourceModule","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a module with view resources."},"children":[{"id":676,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ResourceModule."},"signatures":[{"id":677,"name":"new ResourceModule","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ResourceModule."},"parameters":[{"id":678,"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":675}}]},{"id":679,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":680,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Initializes the resources within the module."},"parameters":[{"id":681,"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"}}]},{"id":686,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":687,"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":688,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DI container to use during dependency resolution."},"type":{"type":"reference","name":"Container"}},{"id":689,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]},{"id":682,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":683,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers the resources in the module with the view resources."},"parameters":[{"id":684,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The registry of view resources to regiser within."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":685,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[676]},{"title":"Methods","kind":2048,"children":[679,686,682]}]},{"id":444,"name":"ShadowDOM","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":445,"name":"defaultSlotKey","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":465,"name":"distributeNodes","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":466,"name":"distributeNodes","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":467,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":468,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":469,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":470,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":471,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":472,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":449,"name":"distributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":450,"name":"distributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":451,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":452,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":453,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":454,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":455,"name":"destinationOverride","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":446,"name":"getSlotName","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":447,"name":"getSlotName","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":448,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":461,"name":"undistributeAll","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":462,"name":"undistributeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":463,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":464,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":456,"name":"undistributeView","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":457,"name":"undistributeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":458,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":459,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":460,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Properties","kind":1024,"children":[445]},{"title":"Methods","kind":2048,"children":[465,449,446,461,456]}]},{"id":398,"name":"ShadowSlot","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":399,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":400,"name":"new ShadowSlot","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":401,"name":"anchor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":402,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":403,"name":"fallbackFactory","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"ShadowSlot","id":398}}]},{"id":404,"name":"needsFallbackRendering","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":405,"name":"addNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":406,"name":"addNode","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":407,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":408,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":409,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":410,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":411,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":438,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":439,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":435,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":436,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":437,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":432,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":433,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":434,"name":"ownerView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":440,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":441,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]},{"id":422,"name":"projectFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":423,"name":"projectFrom","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":424,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":425,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":419,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":420,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":421,"name":"slots","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":416,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":417,"name":"removeAll","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":418,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":412,"name":"removeView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":413,"name":"removeView","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":414,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":415,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":426,"name":"renderFallbackContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":427,"name":"renderFallbackContent","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":428,"name":"view","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":429,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":430,"name":"projectionSource","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":431,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":442,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":443,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[399]},{"title":"Properties","kind":1024,"children":[404]},{"title":"Methods","kind":2048,"children":[405,438,435,432,440,422,419,416,412,426,442]}]},{"id":344,"name":"SlotCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":345,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":346,"name":"new SlotCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":347,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"SlotCustomAttribute","id":344}}]},{"id":348,"name":"valueChanged","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":349,"name":"valueChanged","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":350,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":351,"name":"oldValue","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[345]},{"title":"Methods","kind":2048,"children":[348]}]},{"id":225,"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":265,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TargetInstruction."},"signatures":[{"id":266,"name":"new TargetInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TargetInstruction."},"type":{"type":"reference","name":"TargetInstruction","id":225}}]},{"id":236,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":233,"name":"behaviorInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"BehaviorInstruction","id":188}]}},{"id":231,"name":"contentExpression","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":237,"name":"elementInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"BehaviorInstruction","id":188}},{"id":232,"name":"expressions","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":226,"name":"injectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"number"}},{"id":238,"name":"lifting","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":227,"name":"parentInjectorId","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"number"}},{"id":234,"name":"providers","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Function"}]}},{"id":228,"name":"shadowSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":230,"name":"slotFallbackFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":229,"name":"slotName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":239,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":235,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"ViewFactory","id":644}},{"id":240,"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."},"type":{"type":"instrinct","name":"any"}},{"id":244,"name":"contentExpression","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":245,"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":246,"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":225}}]},{"id":247,"name":"lifting","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":248,"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":249,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":250,"name":"liftingInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instruction of the lifting behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}}],"type":{"type":"reference","name":"TargetInstruction","id":225}}]},{"id":251,"name":"normal","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":252,"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":253,"name":"injectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":254,"name":"parentInjectorId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id of the parent dependency injection container."},"type":{"type":"instrinct","name":"number"}},{"id":255,"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":256,"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":188}]}},{"id":257,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":258,"name":"elementInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element behavior for this element."},"type":{"type":"reference","name":"BehaviorInstruction","id":188}}],"type":{"type":"reference","name":"TargetInstruction","id":225}}]},{"id":241,"name":"shadowSlot","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":242,"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":243,"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":225}}]},{"id":259,"name":"surrogate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":260,"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":261,"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":262,"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":188}]}},{"id":263,"name":"expressions","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Bindings, listeners, triggers, etc."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"Object"}]}},{"id":264,"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":225}}]}],"groups":[{"title":"Constructors","kind":512,"children":[265]},{"title":"Properties","kind":1024,"children":[236,233,231,237,232,226,238,227,234,228,230,229,239,235,240]},{"title":"Methods","kind":2048,"children":[244,247,251,241,259]}]},{"id":295,"name":"TemplateRegistryViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy created directly from the template registry entry."},"children":[{"id":296,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"signatures":[{"id":297,"name":"new TemplateRegistryViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplateRegistryViewStrategy."},"parameters":[{"id":298,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The associated moduleId of the view to be loaded."},"type":{"type":"instrinct","name":"string"}},{"id":299,"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":295}}]},{"id":300,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":301,"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":302,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":718}},{"id":303,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":304,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[296]},{"title":"Methods","kind":2048,"children":[300]}]},{"id":881,"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":882,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"signatures":[{"id":883,"name":"new TemplatingEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of TemplatingEngine."},"parameters":[{"id":884,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container."},"type":{"type":"reference","name":"Container"}},{"id":885,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer for discovering view resources."},"type":{"type":"reference","name":"ModuleAnalyzer","id":707}},{"id":886,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler for compiling views."},"type":{"type":"reference","name":"ViewCompiler","id":665}},{"id":887,"name":"compositionEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The composition engine used during dynamic component composition.\n"},"type":{"type":"reference","name":"CompositionEngine","id":854}}],"type":{"type":"reference","name":"TemplatingEngine","id":881}}]},{"id":891,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":892,"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":893,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The composition context to use."},"type":{"type":"reference","name":"CompositionContext","id":57}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":530},{"type":"reference","name":"Controller","id":751}]}]}}]},{"id":888,"name":"configureAnimator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":889,"name":"configureAnimator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the default animator."},"parameters":[{"id":890,"name":"animator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The animator instance.\n"},"type":{"type":"reference","name":"Animator","id":76}}],"type":{"type":"instrinct","name":"void"}}]},{"id":894,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":895,"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":896,"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":70}]}}],"type":{"type":"reference","name":"View","id":530}}]}],"groups":[{"title":"Constructors","kind":512,"children":[882]},{"title":"Methods","kind":2048,"children":[891,888,894]}]},{"id":530,"name":"View","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":536,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates a View instance."},"signatures":[{"id":537,"name":"new View","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates a View instance."},"parameters":[{"id":538,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container from which the view was created."},"type":{"type":"reference","name":"Container"}},{"id":539,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The factory that created this view."},"type":{"type":"reference","name":"ViewFactory","id":644}},{"id":540,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The DOM fragement representing the view."},"type":{"type":"reference","name":"DocumentFragment"}},{"id":541,"name":"controllers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The controllers inside this view."},"type":{"type":"reference","isArray":true,"name":"Controller","id":751}},{"id":542,"name":"bindings","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The bindings inside this view."},"type":{"type":"reference","isArray":true,"name":"Binding"}},{"id":543,"name":"children","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The children of this view.\n"},"type":{"type":"reference","isArray":true,"name":"ViewNode","id":46}},{"id":544,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"View","id":530}}]},{"id":534,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The primary binding context that this view is data-bound to."},"type":{"type":"reference","name":"Object"}},{"id":531,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Dependency Injection Container that was used to create this View instance."},"type":{"type":"reference","name":"Container"}},{"id":533,"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."},"type":{"type":"union","types":[{"type":"reference","name":"DocumentFragment"},{"type":"reference","name":"Element"}]}},{"id":535,"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."},"type":{"type":"reference","name":"Object"}},{"id":532,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The ViewFactory that built this View instance."},"type":{"type":"reference","name":"ViewFactory","id":644}},{"id":554,"name":"addBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":555,"name":"addBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a binding instance to this view."},"parameters":[{"id":556,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":562,"name":"appendNodesTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":563,"name":"appendNodesTo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends this view's to the specified DOM node."},"parameters":[{"id":564,"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"}}]},{"id":567,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":568,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the view and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":549,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the view and it's children."},"parameters":[{"id":551,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":552,"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":553,"name":"_systemUpdate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":547,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":548,"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"}}]},{"id":569,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":570,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the view and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":559,"name":"insertNodesBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":560,"name":"insertNodesBefore","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inserts this view's nodes before the specified DOM node."},"parameters":[{"id":561,"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"}}]},{"id":565,"name":"removeNodes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":566,"name":"removeNodes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes this view's nodes from the DOM."},"type":{"type":"instrinct","name":"void"}}]},{"id":545,"name":"returnToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":546,"name":"returnToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns this view to the appropriate view cache."},"type":{"type":"instrinct","name":"void"}}]},{"id":557,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":558,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the view and its children."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[536]},{"title":"Properties","kind":1024,"children":[534,531,533,535,532]},{"title":"Methods","kind":2048,"children":[554,562,567,549,547,569,559,565,545,557]}]},{"id":179,"name":"ViewCompileInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Specifies how a view should be compiled."},"children":[{"id":184,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"signatures":[{"id":185,"name":"new ViewCompileInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompileInstruction."},"parameters":[{"id":186,"name":"targetShadowDOM","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Should the compilation target the Shadow DOM."},"type":{"type":"instrinct","name":"boolean"}},{"id":187,"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":179}}]},{"id":182,"name":"associatedModuleId","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":181,"name":"compileSurrogate","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":180,"name":"targetShadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":183,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The normal configuration for view compilation."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}}],"groups":[{"title":"Constructors","kind":512,"children":[184]},{"title":"Properties","kind":1024,"children":[182,181,180,183]}]},{"id":665,"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":666,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewCompiler."},"signatures":[{"id":667,"name":"new ViewCompiler","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewCompiler."},"parameters":[{"id":668,"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":327}},{"id":669,"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":473}}],"type":{"type":"reference","name":"ViewCompiler","id":665}}]},{"id":670,"name":"compile","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":671,"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":672,"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":673,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view resources used during compilation."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":674,"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":179}}],"type":{"type":"reference","name":"ViewFactory","id":644}}]}],"groups":[{"title":"Constructors","kind":512,"children":[666]},{"title":"Methods","kind":2048,"children":[670]}]},{"id":718,"name":"ViewEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls the view resource loading pipeline."},"children":[{"id":719,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewEngine."},"signatures":[{"id":720,"name":"new ViewEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewEngine."},"parameters":[{"id":721,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module loader."},"type":{"type":"reference","name":"Loader"}},{"id":722,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The root DI container for the app."},"type":{"type":"reference","name":"Container"}},{"id":723,"name":"viewCompiler","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view compiler."},"type":{"type":"reference","name":"ViewCompiler","id":665}},{"id":724,"name":"moduleAnalyzer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The module analyzer."},"type":{"type":"reference","name":"ModuleAnalyzer","id":707}},{"id":725,"name":"appResources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The app-level global resources.\n"},"type":{"type":"reference","name":"ViewResources","id":473}}],"type":{"type":"reference","name":"ViewEngine","id":718}}]},{"id":726,"name":"addResourcePlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":727,"name":"addResourcePlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a resource plugin to the resource loading pipeline."},"parameters":[{"id":728,"name":"extension","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file extension to match in require elements."},"type":{"type":"instrinct","name":"string"}},{"id":729,"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"}}]},{"id":740,"name":"importViewModelResource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":741,"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":742,"name":"moduleImport","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module to import."},"type":{"type":"instrinct","name":"string"}},{"id":743,"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":690}]}}]},{"id":744,"name":"importViewResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":745,"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":746,"name":"moduleIds","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The modules to load."},"type":{"type":"instrinct","isArray":true,"name":"string"}},{"id":747,"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":748,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resources lookup to add the loaded resources to."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":749,"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":179}},{"id":750,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"ResourceLoadContext","id":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":473}]}}]},{"id":735,"name":"loadTemplateResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":736,"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":737,"name":"registryEntry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The template registry entry to load the resources for."},"type":{"type":"reference","name":"TemplateRegistryEntry"}},{"id":738,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The compile instruction associated with the load."},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}},{"id":739,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewResources","id":473}]}}]},{"id":730,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":731,"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":732,"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":733,"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":179}},{"id":734,"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[719]},{"title":"Methods","kind":2048,"children":[726,740,744,735,730]}]},{"id":126,"name":"ViewEngineHooksResource","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":127,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":128,"name":"new ViewEngineHooksResource","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"ViewEngineHooksResource","id":126}}]},{"id":129,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":130,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":131,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":132,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":137,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":138,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":139,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":140,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":133,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":134,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":135,"name":"registry","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":136,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":141,"name":"convention","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":142,"name":"convention","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":143,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[127]},{"title":"Methods","kind":2048,"children":[129,137,133,141]}]},{"id":644,"name":"ViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances."},"children":[{"id":646,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewFactory."},"signatures":[{"id":647,"name":"new ViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewFactory."},"parameters":[{"id":648,"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":649,"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":650,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The resources used to compile this factory.\n"},"type":{"type":"reference","name":"ViewResources","id":473}}],"type":{"type":"reference","name":"ViewFactory","id":644}}]},{"id":645,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"type":{"type":"instrinct","name":"any"}},{"id":660,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":661,"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":662,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The container to create the view from."},"type":{"type":"reference","name":"Container"}},{"id":663,"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":664,"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":530}}]},{"id":655,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":656,"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":530}}]},{"id":657,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":658,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":659,"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":530}}],"type":{"type":"instrinct","name":"void"}}]},{"id":651,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":652,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":653,"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":654,"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"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[646]},{"title":"Properties","kind":1024,"children":[645]},{"title":"Methods","kind":2048,"children":[660,655,657,651]}]},{"id":316,"name":"ViewLocator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Locates a view for an object."},"children":[{"id":317,"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."},"type":{"type":"instrinct","name":"any"}},{"id":324,"name":"convertOriginToViewUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":325,"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":326,"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"}}]},{"id":321,"name":"createFallbackViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":322,"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":323,"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}}]},{"id":318,"name":"getViewStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":319,"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":320,"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}}]}],"groups":[{"title":"Properties","kind":1024,"children":[317]},{"title":"Methods","kind":2048,"children":[324,321,318]}]},{"id":473,"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":475,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewResources."},"signatures":[{"id":476,"name":"new ViewResources","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewResources."},"parameters":[{"id":477,"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":473}},{"id":478,"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":473}}]},{"id":474,"name":"bindingLanguage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A custom binding language used in the view."},"type":{"type":"instrinct","name":"any"}},{"id":506,"name":"getAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":507,"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":508,"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":816}}]},{"id":520,"name":"getBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":521,"name":"getBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a binding behavior.","returns":"The binding behavior instance.\n"},"parameters":[{"id":522,"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"}}]},{"id":482,"name":"getBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":483,"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":484,"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":327}}],"type":{"type":"reference","name":"BindingLanguage","id":327}}]},{"id":495,"name":"getElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":496,"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":497,"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":816}}]},{"id":527,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":528,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value.","returns":"The value.\n"},"parameters":[{"id":529,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":513,"name":"getValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":514,"name":"getValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value converter.","returns":"The value converter instance.\n"},"parameters":[{"id":515,"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"}}]},{"id":498,"name":"mapAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":499,"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":500,"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"}}]},{"id":485,"name":"patchInParent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":486,"name":"patchInParent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Patches an immediate parent into the view resource resolution hierarchy."},"parameters":[{"id":487,"name":"newParent","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new parent resources to patch in.\n"},"type":{"type":"reference","name":"ViewResources","id":473}}],"type":{"type":"instrinct","name":"void"}}]},{"id":501,"name":"registerAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":502,"name":"registerAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML attribute."},"parameters":[{"id":503,"name":"attribute","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":504,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the attribute."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}},{"id":505,"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"}}]},{"id":516,"name":"registerBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":517,"name":"registerBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding behavior."},"parameters":[{"id":518,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the binding behavior."},"type":{"type":"instrinct","name":"string"}},{"id":519,"name":"bindingBehavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding behavior instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":491,"name":"registerElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":492,"name":"registerElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an HTML element."},"parameters":[{"id":493,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom element."},"type":{"type":"instrinct","name":"string"}},{"id":494,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior of the element.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}}],"type":{"type":"instrinct","name":"void"}}]},{"id":523,"name":"registerValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":524,"name":"registerValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value."},"parameters":[{"id":525,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value."},"type":{"type":"instrinct","name":"string"}},{"id":526,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":509,"name":"registerValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":510,"name":"registerValueConverter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a value converter."},"parameters":[{"id":511,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the value converter."},"type":{"type":"instrinct","name":"string"}},{"id":512,"name":"valueConverter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value converter instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":479,"name":"registerViewEngineHooks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":480,"name":"registerViewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers view engine hooks for the view."},"parameters":[{"id":481,"name":"hooks","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The hooks to register.\n"},"type":{"type":"reference","name":"ViewEngineHooks","id":16}}],"type":{"type":"instrinct","name":"void"}}]},{"id":488,"name":"relativeToView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"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":490,"name":"path","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[475]},{"title":"Properties","kind":1024,"children":[474]},{"title":"Methods","kind":2048,"children":[506,520,482,495,527,513,498,485,501,516,491,523,509,479,488]}]},{"id":571,"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":572,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ViewSlot."},"signatures":[{"id":573,"name":"new ViewSlot","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ViewSlot."},"parameters":[{"id":574,"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":575,"name":"anchorIsContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"Indicates whether the node is a container."},"type":{"type":"instrinct","name":"boolean"}},{"id":576,"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":76}}],"type":{"type":"reference","name":"ViewSlot","id":571}}]},{"id":589,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":590,"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":591,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to add."},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}]},{"id":577,"name":"animateView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":578,"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":579,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}},{"id":580,"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"}]}]}}]},{"id":619,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":620,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}]},{"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 slot 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":{},"comment":{"text":"A secondary binding context that can override the standard context.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":621,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":622,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the slot and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":592,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":593,"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":594,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to insert the view at."},"type":{"type":"instrinct","name":"number"}},{"id":595,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to insert."},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"union","types":[{"type":"instrinct","name":"void"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}]}}]},{"id":596,"name":"move","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":597,"name":"move","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Moves a view across the slot."},"parameters":[{"id":598,"name":"sourceIndex","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The index the view is currently at."},"type":{"type":"instrinct","name":"any"}},{"id":599,"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"}}]},{"id":623,"name":"projectTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":624,"name":"projectTo","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":625,"name":"slots","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":600,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":601,"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":602,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to remove."},"type":{"type":"reference","name":"View","id":530}},{"id":603,"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":604,"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":530}]}]}}]},{"id":615,"name":"removeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":616,"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":617,"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":618,"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"}]}]}}]},{"id":610,"name":"removeAt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"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":612,"name":"index","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The index to remove the view at."},"type":{"type":"instrinct","name":"number"}},{"id":613,"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":614,"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":530},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"View","id":530}]}]}}]},{"id":605,"name":"removeMany","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":606,"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":607,"name":"viewsToRemove","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The array of views to remove."},"type":{"type":"reference","isArray":true,"name":"View","id":530}},{"id":608,"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":609,"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":530}]}]}}]},{"id":581,"name":"transformChildNodesIntoView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":582,"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"}}]},{"id":587,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":588,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the slot and its children."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[572]},{"title":"Methods","kind":2048,"children":[589,577,619,583,621,592,596,623,600,615,610,605,581,587]}]},{"id":57,"name":"CompositionContext","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the composition engine how to dynamically compose a component."},"children":[{"id":60,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The context in which the view model is executed in."},"type":{"type":"instrinct","name":"any"}},{"id":59,"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."},"type":{"type":"reference","name":"Container"}},{"id":58,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent Container for the component creation."},"type":{"type":"reference","name":"Container"}},{"id":63,"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."},"type":{"type":"instrinct","name":"any"}},{"id":61,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"type":{"type":"instrinct","name":"any"}},{"id":66,"name":"owningView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view inside which this composition is happening."},"type":{"type":"reference","name":"View","id":530}},{"id":69,"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."},"type":{"type":"instrinct","name":"boolean"}},{"id":67,"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."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"ViewStrategy","id":10}]}},{"id":62,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view model url or instance for the component."},"type":{"type":"instrinct","name":"any"}},{"id":64,"name":"viewModelResource","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The HtmlBehaviorResource for the component."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":816}},{"id":65,"name":"viewResources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view resources for the view in which the component should be created."},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":68,"name":"viewSlot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The slot to push the dynamically composed component into."},"type":{"type":"reference","name":"ViewSlot","id":571}}],"groups":[{"title":"Properties","kind":1024,"children":[60,59,58,63,61,66,69,67,62,64,65,68]}]},{"id":70,"name":"EnhanceInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructs the framework in how to enhance an existing DOM structure."},"children":[{"id":74,"name":"bindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A binding context for the enhancement."},"type":{"type":"reference","name":"Object"}},{"id":71,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The DI container to use as the root for UI enhancement."},"type":{"type":"reference","name":"Container"}},{"id":72,"name":"element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The element to enhance."},"type":{"type":"reference","name":"Element"}},{"id":75,"name":"overrideContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A secondary binding context that can override the standard context."},"type":{"type":"instrinct","name":"any"}},{"id":73,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resources available for enhancement."},"type":{"type":"reference","name":"ViewResources","id":473}}],"groups":[{"title":"Properties","kind":1024,"children":[74,71,72,75,73]}]},{"id":2,"name":"EventHandler","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4,"name":"bubbles","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":5,"name":"dispose","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Function"}},{"id":3,"name":"eventName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":6,"name":"handler","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Function"}}],"groups":[{"title":"Properties","kind":1024,"children":[4,5,3,6]}]},{"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."},"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."},"type":{"type":"reference","name":"Object"}}],"groups":[{"title":"Properties","kind":1024,"children":[8,9]}]},{"id":16,"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":23,"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"}]},"type":{"type":"reflection","declaration":{"id":24,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":25,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":26,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":644}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":34,"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"}]},"type":{"type":"reflection","declaration":{"id":35,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":36,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":37,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":38,"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"}]},"type":{"type":"reflection","declaration":{"id":39,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":40,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":41,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":17,"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"}]},"type":{"type":"reflection","declaration":{"id":18,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":19,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":20,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":21,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources","id":473}},{"id":22,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCompileInstruction","id":179}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":27,"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"}]},"type":{"type":"reflection","declaration":{"id":28,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":29,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":30,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewFactory","id":644}},{"id":31,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":32,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"DocumentFragment"}},{"id":33,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewCreateInstruction","id":7}}],"type":{"type":"instrinct","name":"void"}}]}}},{"id":42,"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"}]},"type":{"type":"reflection","declaration":{"id":43,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":44,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":45,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"View","id":530}}],"type":{"type":"instrinct","name":"void"}}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[23,34,38,17,27,42]}]},{"id":46,"name":"ViewNode","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the view hierarchy."},"children":[{"id":51,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the attach for the node and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":47,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":48,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the node and it's children."},"parameters":[{"id":49,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding context to bind to."},"type":{"type":"reference","name":"Object"}},{"id":50,"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"}}]},{"id":53,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":54,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Triggers the detach for the node and its children."},"type":{"type":"instrinct","name":"void"}}]},{"id":55,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":56,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the node and its children."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[51,47,53,55]}]},{"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":718}},{"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":179}},{"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":169}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":644}]}}]}],"groups":[{"title":"Methods","kind":2048,"children":[11]}]},{"id":897,"name":"animationEvent","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"List the events that an Animator should raise."},"type":{"type":"instrinct","name":"any"}},{"id":901,"name":"viewStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Decorator: Indicates that the decorated class/object is a view strategy."},"type":{"type":"reference","name":"Function"}},{"id":911,"name":"behavior","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":912,"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":913,"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":816},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}]},{"id":924,"name":"bindable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":925,"name":"bindable","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies that a property is bindable through HTML."},"parameters":[{"id":926,"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":927,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":928,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":905,"name":"child","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":906,"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":907,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}]},{"id":902,"name":"children","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":903,"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":904,"name":"selectorOrConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"instrinct","name":"any"}}]},{"id":941,"name":"containerless","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":942,"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":943,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":917,"name":"customAttribute","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":918,"name":"customAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom attribute."},"parameters":[{"id":919,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom attribute."},"type":{"type":"instrinct","name":"string"}},{"id":920,"name":"defaultBindingMode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The default binding mode to use when the attribute is bound wtih .bind.\n"},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":914,"name":"customElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":915,"name":"customElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the decorated class is a custom element."},"parameters":[{"id":916,"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"}}]},{"id":929,"name":"dynamicOptions","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":930,"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":931,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":958,"name":"elementConfig","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":959,"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":960,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":950,"name":"inlineView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":951,"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":952,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The markup for the view."},"type":{"type":"instrinct","name":"string"}},{"id":953,"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":954,"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"}}]},{"id":955,"name":"noView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":956,"name":"noView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Indicates that the component has no view."},"parameters":[{"id":957,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":935,"name":"processAttributes","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":936,"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":937,"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"}}]},{"id":938,"name":"processContent","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":939,"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":940,"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"}}]},{"id":908,"name":"resource","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":909,"name":"resource","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Specifies a resource instance that describes the decorated class."},"parameters":[{"id":910,"name":"instance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The resource instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":921,"name":"templateController","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":922,"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":923,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":932,"name":"useShadowDOM","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":933,"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":934,"name":"targetOrOptions","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":947,"name":"useView","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":948,"name":"useView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Provides a relative path to a view for the component."},"parameters":[{"id":949,"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"}}]},{"id":944,"name":"useViewStrategy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":945,"name":"useViewStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Decorator: Associates a custom view strategy with the component."},"parameters":[{"id":946,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view strategy instance.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":898,"name":"viewEngineHooks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":899,"name":"viewEngineHooks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":900,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}]}],"groups":[{"title":"Classes","kind":128,"children":[76,188,777,800,327,626,854,119,105,111,751,279,868,144,816,305,707,289,352,267,690,169,675,444,398,344,225,295,881,530,179,665,718,126,644,316,473,571]},{"title":"Interfaces","kind":256,"children":[57,70,2,7,16,46,10]},{"title":"Variables","kind":32,"children":[897,901]},{"title":"Functions","kind":64,"children":[911,924,905,902,941,917,914,929,958,950,955,935,938,908,921,932,947,944,898]}]} \ No newline at end of file diff --git a/package.json b/package.json index d03cc3aa..4bb4ba6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "1.0.0-rc.1.0.0", + "version": "1.0.0-rc.1.0.1", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia",