Skip to content

Commit

Permalink
chore(all): add latest build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
AureliaEffect committed Jan 24, 2020
1 parent 6a14247 commit d75d94f
Show file tree
Hide file tree
Showing 12 changed files with 462 additions and 62 deletions.
Binary file added core.567.!opt!google!chrome!chrome
Binary file not shown.
Binary file added core.618.!opt!google!chrome!chrome
Binary file not shown.
Binary file added core.638.!opt!google!chrome!chrome
Binary file not shown.
46 changes: 35 additions & 11 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};

var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _dec7, _class14, _dec8, _class15, _class16, _temp5, _dec9, _class17, _dec10, _class18, _dec11, _class19;
var _class, _temp, _class2, _temp2, _dec, _class3, _dec2, _class4, _dec3, _class5, _dec4, _class6, _dec5, _class7, _dec6, _class8, _class9, _temp3, _class10, _temp4, _class12, _class14, _temp5, _dec7, _class15, _dec8, _class16, _dec9, _class17;



Expand Down Expand Up @@ -945,7 +945,9 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
this.destinationName = destinationName;
this.fallbackFactory = fallbackFactory;
this.destinationSlot = null;

this.projections = 0;

this.contentView = null;

var attr = new SlotCustomAttribute(this.anchor);
Expand Down Expand Up @@ -1056,6 +1058,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
this.fallbackFactory = fallbackFactory;
this.contentView = null;
this.projections = 0;

this.children = [];
this.projectFromAnchors = null;
this.destinationSlots = null;
Expand Down Expand Up @@ -1101,6 +1104,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
});
if (found) {
var _children = found.auProjectionChildren;
var ownChildren = this.children;

for (var i = 0, ii = _children.length; i < ii; ++i) {
var _child = _children[i];
Expand All @@ -1109,7 +1113,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
_children.splice(i, 1);
view.fragment.appendChild(_child);
i--;ii--;

this.projections--;
var idx = ownChildren.indexOf(_child);
if (idx > -1) {
ownChildren.splice(idx, 1);
}
}
}

Expand All @@ -1132,10 +1141,17 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli

if (found) {
var _children2 = found.auProjectionChildren;
var ownChildren = this.children;

for (var i = 0, ii = _children2.length; i < ii; ++i) {
var _child2 = _children2[i];
_child2.auOwnerView.fragment.appendChild(_child2);

this.projections--;
var idx = ownChildren.indexOf(_child2);
if (idx > -1) {
ownChildren.splice(idx, 1);
}
}

found.auProjectionChildren = [];
Expand Down Expand Up @@ -2772,7 +2788,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli

var defaultLetHandler = BindingLanguage.prototype.createLetExpressions;

var ViewCompiler = exports.ViewCompiler = (_dec7 = (0, _aureliaDependencyInjection.inject)(BindingLanguage, ViewResources), _dec7(_class14 = function () {
var ViewCompiler = exports.ViewCompiler = function () {
ViewCompiler.inject = function inject() {
return [BindingLanguage, ViewResources];
};

function ViewCompiler(bindingLanguage, resources) {


Expand Down Expand Up @@ -3189,7 +3209,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};

return ViewCompiler;
}()) || _class14);
}();

var ResourceModule = exports.ResourceModule = function () {
function ResourceModule(moduleId) {
Expand Down Expand Up @@ -3478,7 +3498,11 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli

var auSlotBehavior = null;

var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class15 = (_temp5 = _class16 = function () {
var ViewEngine = exports.ViewEngine = (_temp5 = _class14 = function () {
ViewEngine.inject = function inject() {
return [_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources];
};

function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) {


Expand Down Expand Up @@ -3667,7 +3691,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};

return ViewEngine;
}(), _class16.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5)) || _class15);
}(), _class14.viewModelRequireMetadataKey = 'aurelia:view-model-require', _temp5);

var Controller = exports.Controller = function () {
function Controller(behavior, instruction, viewModel, container) {
Expand Down Expand Up @@ -3840,7 +3864,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
return Controller;
}();

var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec9 = (0, _aureliaBinding.subscriberCollection)(), _dec9(_class17 = function () {
var BehaviorPropertyObserver = exports.BehaviorPropertyObserver = (_dec7 = (0, _aureliaBinding.subscriberCollection)(), _dec7(_class15 = function () {
function BehaviorPropertyObserver(taskQueue, obj, propertyName, selfSubscriber, initialValue) {


Expand Down Expand Up @@ -3902,7 +3926,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};

return BehaviorPropertyObserver;
}()) || _class17);
}()) || _class15);


function getObserver(instance, name) {
Expand Down Expand Up @@ -4833,7 +4857,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(_class18 = function () {
var CompositionEngine = exports.CompositionEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(ViewEngine, ViewLocator), _dec8(_class16 = function () {
function CompositionEngine(viewEngine, viewLocator) {


Expand Down Expand Up @@ -4999,7 +5023,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};

return CompositionEngine;
}()) || _class18);
}()) || _class16);

var ElementConfigResource = exports.ElementConfigResource = function () {
function ElementConfigResource() {
Expand Down Expand Up @@ -5211,7 +5235,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};
}

var TemplatingEngine = exports.TemplatingEngine = (_dec11 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec11(_class19 = function () {
var TemplatingEngine = exports.TemplatingEngine = (_dec9 = (0, _aureliaDependencyInjection.inject)(_aureliaDependencyInjection.Container, ModuleAnalyzer, ViewCompiler, CompositionEngine), _dec9(_class17 = function () {
function TemplatingEngine(container, moduleAnalyzer, viewCompiler, compositionEngine) {


Expand Down Expand Up @@ -5255,5 +5279,5 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli
};

return TemplatingEngine;
}()) || _class19);
}()) || _class17);
});
118 changes: 117 additions & 1 deletion dist/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export declare interface IStaticResourceConfig {
/**
* List of bindable properties of this custom element / custom attribute, by name or full config object
*/
bindables?: string | IBindablePropertyConfig[];
bindables?: Array<string | IBindablePropertyConfig>;
}

/* eslint no-unused-vars: 0, no-constant-condition: 0 */
Expand Down Expand Up @@ -1085,14 +1085,58 @@ export declare class SlotCustomAttribute {
}
export declare class PassThroughSlot {
constructor(anchor?: any, name?: any, destinationName?: any, fallbackFactory?: any);

/**
* Indicate whether this slot should render fallback default slot content
*/
needsFallbackRendering: any;

/**
* @param {View} view
* @param {Node[]} nodes
* @param {ViewSlot} projectionSource
* @param {number} index
*/
renderFallbackContent(view?: any, nodes?: any, projectionSource?: any, index?: any): any;

/**
* @param {PassThroughSlot | ShadowSlot} destinationSlot
*/
passThroughTo(destinationSlot?: any): any;

/**
* @param {View} view
* @param {Node} node
* @param {ViewSlot} projectionSource
* @param {number} index
*/
addNode(view?: any, node?: any, projectionSource?: any, index?: any): any;

/**
* @param {View} view
* @param {ViewSlot} projectionSource
*/
removeView(view?: any, projectionSource?: any): any;

/**
* @param {ViewSlot} projectionSource
*/
removeAll(projectionSource?: any): any;

/**
* @param {View} view
* @param {ViewSlot} projectionSource
*/
projectFrom(view?: any, projectionSource?: any): any;

/**
* @param {View} ownerView
*/
created(ownerView?: any): any;

/**
* @param {View} view
*/
bind(view?: any): any;
attached(): any;
detached(): any;
Expand All @@ -1101,13 +1145,54 @@ export declare class PassThroughSlot {
export declare class ShadowSlot {
constructor(anchor?: any, name?: any, fallbackFactory?: any);
needsFallbackRendering: any;

/**
* @param {View} view
* @param {Node} node
* @param {ViewSlot} projectionSource
* @param {number} index
* @param {string} destination
*/
addNode(view?: any, node?: any, projectionSource?: any, index?: any, destination?: any): any;

/**
* @param {View} view
* @param {ViewSlot} projectionSource
*/
removeView(view?: any, projectionSource?: any): any;

/**
* @param {ViewSlot} projectionSource
*/
removeAll(projectionSource?: any): any;

/**
* @param {Record<string, ShadowSlot | PassThroughSlot>} slots
*/
projectTo(slots?: any): any;

/**
* @param {View} view
* @param {ViewSlot} projectionSource
*/
projectFrom(view?: any, projectionSource?: any): any;

/**
* @param {View} view
* @param {Node[]} nodes
* @param {ViewSlot} projectionSource
* @param {number} index
*/
renderFallbackContent(view?: any, nodes?: any, projectionSource?: any, index?: any): any;

/**
* @param {View} ownerView
*/
created(ownerView?: any): any;

/**
* @param {View} view
*/
bind(view?: any): any;
attached(): any;
detached(): any;
Expand All @@ -1116,9 +1201,38 @@ export declare class ShadowSlot {
export declare class ShadowDOM {
static defaultSlotKey: any;
static getSlotName(node?: any): any;

/**
* @param {View} view
* @param {Record<string, PassThroughSlot | ShadowSlot>} slots
* @param {ViewSlot} projectionSource
* @param {number} index
* @param {string} destinationOverride
*/
static distributeView(view?: any, slots?: any, projectionSource?: any, index?: any, destinationOverride?: any): any;

/**
* @param {View} view
* @param {Record<string, PassThroughSlot | ShadowSlot>} slots
* @param {ViewSlot} projectionSource
*/
static undistributeView(view?: any, slots?: any, projectionSource?: any): any;

/**
* @param {Record<string, ShadowSlot | PassThroughSlot>} slots
* @param {ViewSlot} projectionSource
*/
static undistributeAll(slots?: any, projectionSource?: any): any;

/**
* Distrbiute nodes of a projected view based on
* @param {View} view
* @param {Node[]} nodes
* @param {Record<string, PassThroughSlot | ShadowSlot>} slots
* @param {ViewSlot} projectionSource
* @param {number} index
* @param {string} destinationOverride
*/
static distributeNodes(view?: any, nodes?: any, slots?: any, projectionSource?: any, index?: any, destinationOverride?: any): any;
}
export declare function validateBehaviorName(name: string, type: string): any;
Expand Down Expand Up @@ -1567,6 +1681,7 @@ export declare class ViewFactory {
* Compiles html templates, dom fragments and strings into ViewFactory instances, capable of instantiating Views.
*/
export declare class ViewCompiler {
static inject(): any;

/**
* Creates an instance of ViewCompiler.
Expand Down Expand Up @@ -1684,6 +1799,7 @@ export declare class ModuleAnalyzer {
* Controls the view resource loading pipeline.
*/
export declare class ViewEngine {
static inject(): any;

/**
* The metadata key for storing requires declared in a ViewModel.
Expand Down
Loading

0 comments on commit d75d94f

Please sign in to comment.