Skip to content

Commit

Permalink
chore(all): dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Mar 23, 2016
1 parent ad76671 commit 06ae530
Show file tree
Hide file tree
Showing 274 changed files with 11,321 additions and 11,215 deletions.
526 changes: 0 additions & 526 deletions dist/amd/aurelia-materialize-bridge.d.ts

This file was deleted.

87 changes: 62 additions & 25 deletions dist/amd/badge/badge.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,75 @@
define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', '../common/attributeManager', '../common/attributes'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _commonAttributeManager, _commonAttributes) {
define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', '../common/attributeManager', '../common/attributes'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _attributeManager, _attributes) {
'use strict';

exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MdBadge = undefined;

var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })();
function _initDefineProp(target, property, descriptor, context) {
if (!descriptor) return;
Object.defineProperty(target, property, {
enumerable: descriptor.enumerable,
configurable: descriptor.configurable,
writable: descriptor.writable,
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
});
}

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}

function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
var desc = {};
Object['ke' + 'ys'](descriptor).forEach(function (key) {
desc[key] = descriptor[key];
});
desc.enumerable = !!desc.enumerable;
desc.configurable = !!desc.configurable;

if ('value' in desc || desc.initializer) {
desc.writable = true;
}

function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); }
desc = decorators.slice().reverse().reduce(function (desc, decorator) {
return decorator(target, property, desc) || desc;
}, desc);

var MdBadge = (function () {
var _instanceInitializers = {};
if (context && desc.initializer !== void 0) {
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
desc.initializer = undefined;
}

_createDecoratedClass(MdBadge, [{
key: 'isNew',
decorators: [_aureliaTemplating.bindable()],
initializer: function initializer() {
return false;
},
enumerable: true
}], null, _instanceInitializers);
if (desc.initializer === void 0) {
Object['define' + 'Property'](target, property, desc);
desc = null;
}

return desc;
}

function _initializerWarningHelper(descriptor, context) {
throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');
}

var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor;

var MdBadge = exports.MdBadge = (_dec = (0, _aureliaTemplating.customAttribute)('md-badge'), _dec2 = (0, _aureliaDependencyInjection.inject)(Element), _dec3 = (0, _aureliaTemplating.bindable)(), _dec(_class = _dec2(_class = (_class2 = function () {
function MdBadge(element) {
_classCallCheck(this, _MdBadge);
_classCallCheck(this, MdBadge);

_defineDecoratedPropertyDescriptor(this, 'isNew', _instanceInitializers);
_initDefineProp(this, 'isNew', _descriptor, this);

this.element = element;
this.attributeManager = new _commonAttributeManager.AttributeManager(this.element);
this.attributeManager = new _attributeManager.AttributeManager(this.element);
}

MdBadge.prototype.attached = function attached() {
var classes = ['badge'];
if (_commonAttributes.getBooleanFromAttributeValue(this.isNew)) {
if ((0, _attributes.getBooleanFromAttributeValue)(this.isNew)) {
classes.push('new');
}
this.attributeManager.addClasses(classes);
Expand All @@ -42,11 +79,11 @@ define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', '../com
this.attributeManager.removeClasses(['badge', 'new']);
};

var _MdBadge = MdBadge;
MdBadge = _aureliaDependencyInjection.inject(Element)(MdBadge) || MdBadge;
MdBadge = _aureliaTemplating.customAttribute('md-badge')(MdBadge) || MdBadge;
return MdBadge;
})();

exports.MdBadge = MdBadge;
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'isNew', [_dec3], {
enumerable: true,
initializer: function initializer() {
return false;
}
})), _class2)) || _class) || _class);
});
85 changes: 61 additions & 24 deletions dist/amd/box/box.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,72 @@
define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-injection', '../common/attributeManager', 'materialize'], function (exports, _aureliaTemplating, _aureliaBinding, _aureliaDependencyInjection, _commonAttributeManager, _materialize) {
define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-injection', '../common/attributeManager', 'materialize'], function (exports, _aureliaTemplating, _aureliaBinding, _aureliaDependencyInjection, _attributeManager) {
'use strict';

exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MdBox = undefined;

var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })();
function _initDefineProp(target, property, descriptor, context) {
if (!descriptor) return;
Object.defineProperty(target, property, {
enumerable: descriptor.enumerable,
configurable: descriptor.configurable,
writable: descriptor.writable,
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
});
}

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}

function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
var desc = {};
Object['ke' + 'ys'](descriptor).forEach(function (key) {
desc[key] = descriptor[key];
});
desc.enumerable = !!desc.enumerable;
desc.configurable = !!desc.configurable;

if ('value' in desc || desc.initializer) {
desc.writable = true;
}

desc = decorators.slice().reverse().reduce(function (desc, decorator) {
return decorator(target, property, desc) || desc;
}, desc);

function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); }
if (context && desc.initializer !== void 0) {
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
desc.initializer = undefined;
}

if (desc.initializer === void 0) {
Object['define' + 'Property'](target, property, desc);
desc = null;
}

var MdBox = (function () {
var _instanceInitializers = {};
return desc;
}

_createDecoratedClass(MdBox, [{
key: 'caption',
decorators: [_aureliaTemplating.bindable({
defaultBindingMode: _aureliaBinding.bindingMode.oneTime
})],
initializer: null,
enumerable: true
}], null, _instanceInitializers);
function _initializerWarningHelper(descriptor, context) {
throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');
}

var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor;

var MdBox = exports.MdBox = (_dec = (0, _aureliaTemplating.customAttribute)('md-box'), _dec2 = (0, _aureliaDependencyInjection.inject)(Element), _dec3 = (0, _aureliaTemplating.bindable)({
defaultBindingMode: _aureliaBinding.bindingMode.oneTime
}), _dec(_class = _dec2(_class = (_class2 = function () {
function MdBox(element) {
_classCallCheck(this, _MdBox);
_classCallCheck(this, MdBox);

_defineDecoratedPropertyDescriptor(this, 'caption', _instanceInitializers);
_initDefineProp(this, 'caption', _descriptor, this);

this.element = element;
this.attributeManager = new _commonAttributeManager.AttributeManager(this.element);
this.attributeManager = new _attributeManager.AttributeManager(this.element);
}

MdBox.prototype.attached = function attached() {
Expand All @@ -44,11 +83,9 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-
this.attributeManager.removeClasses('materialboxed');
};

var _MdBox = MdBox;
MdBox = _aureliaDependencyInjection.inject(Element)(MdBox) || MdBox;
MdBox = _aureliaTemplating.customAttribute('md-box')(MdBox) || MdBox;
return MdBox;
})();

exports.MdBox = MdBox;
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'caption', [_dec3], {
enumerable: true,
initializer: null
})), _class2)) || _class) || _class);
});
24 changes: 14 additions & 10 deletions dist/amd/breadcrumbs/breadcrumbs.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', 'aurelia-router'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _aureliaRouter) {
'use strict';

exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MdBreadcrumbs = undefined;

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}

var _dec, _dec2, _class;

var MdBreadcrumbs = (function () {
var MdBreadcrumbs = exports.MdBreadcrumbs = (_dec = (0, _aureliaTemplating.customElement)('md-breadcrumbs'), _dec2 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaRouter.Router), _dec(_class = _dec2(_class = function () {
function MdBreadcrumbs(element, router) {
_classCallCheck(this, _MdBreadcrumbs);
_classCallCheck(this, MdBreadcrumbs);

this.element = element;
this._childRouter = router;
Expand All @@ -21,11 +30,6 @@ define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', 'aureli
this._childRouter.navigateToRoute(navigationInstruction.config.name);
};

var _MdBreadcrumbs = MdBreadcrumbs;
MdBreadcrumbs = _aureliaDependencyInjection.inject(Element, _aureliaRouter.Router)(MdBreadcrumbs) || MdBreadcrumbs;
MdBreadcrumbs = _aureliaTemplating.customElement('md-breadcrumbs')(MdBreadcrumbs) || MdBreadcrumbs;
return MdBreadcrumbs;
})();

exports.MdBreadcrumbs = MdBreadcrumbs;
}()) || _class) || _class);
});
16 changes: 10 additions & 6 deletions dist/amd/breadcrumbs/instructionFilter.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
define(["exports"], function (exports) {
"use strict";

exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}

var InstructionFilterValueConverter = (function () {
var InstructionFilterValueConverter = exports.InstructionFilterValueConverter = function () {
function InstructionFilterValueConverter() {
_classCallCheck(this, InstructionFilterValueConverter);
}
Expand All @@ -21,7 +27,5 @@ define(["exports"], function (exports) {
};

return InstructionFilterValueConverter;
})();

exports.InstructionFilterValueConverter = InstructionFilterValueConverter;
}();
});
Loading

0 comments on commit 06ae530

Please sign in to comment.