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 Apr 26, 2016
1 parent cb141d1 commit 6f3ae9a
Show file tree
Hide file tree
Showing 14 changed files with 1,004 additions and 864 deletions.
127 changes: 64 additions & 63 deletions dist/amd/aurelia-materialize-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ declare module 'aurelia-materialize-bridge' {
withScrollfirePatch(): ConfigBuilder;
}
export function configure(aurelia: any, configCallback: any): any;
export const version: any;
export class MdBadge {
isNew: any;
constructor(element: any);
Expand All @@ -108,17 +109,6 @@ declare module 'aurelia-materialize-bridge' {
attached(): any;
detached(): any;
}
export class MdButton {
disabled: any;
flat: any;
floating: any;
large: any;
constructor(element: any);
attached(): any;
detached(): any;
disabledChanged(newValue: any): any;
flatChanged(newValue: any): any;
}

// taken from: https://github.com/heruan/aurelia-breadcrumbs
export class MdBreadcrumbs {
Expand All @@ -130,6 +120,17 @@ declare module 'aurelia-materialize-bridge' {
export class InstructionFilterValueConverter {
toView(navigationInstructions: any): any;
}
export class MdButton {
disabled: any;
flat: any;
floating: any;
large: any;
constructor(element: any);
attached(): any;
detached(): any;
disabledChanged(newValue: any): any;
flatChanged(newValue: any): any;
}
export class MdCard {
mdImage: any;
mdReveal: any;
Expand Down Expand Up @@ -291,6 +292,11 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdFooter {
constructor(element: any);
bind(): any;
unbind(): any;
}
export class MdFileInput {
mdCaption: any;
mdMultiple: any;
Expand All @@ -302,11 +308,6 @@ declare module 'aurelia-materialize-bridge' {
detached(): any;
handleChangeFromNativeInput(): any;
}
export class MdFooter {
constructor(element: any);
bind(): any;
unbind(): any;
}
export class MdPrefix {
constructor(element: any);
bind(): any;
Expand Down Expand Up @@ -385,6 +386,13 @@ declare module 'aurelia-materialize-bridge' {
}

// destroy handler not available
export class MdRange {
mdMin: any;
mdMax: any;
mdStep: any;
mdValue: any;
constructor(element: any);
}
export class MdRadio {
static id: any;
mdChecked: any;
Expand Down Expand Up @@ -413,13 +421,6 @@ declare module 'aurelia-materialize-bridge' {
// }
mdDisabledChanged(newValue: any): any;
}
export class MdRange {
mdMin: any;
mdMax: any;
mdStep: any;
mdValue: any;
constructor(element: any);
}

/* eslint no-new-func:0 */
export class ScrollfirePatch {
Expand All @@ -436,6 +437,15 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdSelect {
_suspendUpdate: any;
constructor(element: any, logManager: any, observerLocator: any, taskQueue: any);
attached(): any;
detached(): any;
refresh(): any;
handleChangeFromNativeSelect(): any;
handleChangeFromViewModel(newValue: any): any;
}
export class MdScrollSpy {
target: any;
constructor(element: any);
Expand All @@ -444,15 +454,30 @@ declare module 'aurelia-materialize-bridge' {
}

// destroy handler not available
export class MdSelect {
_suspendUpdate: any;
constructor(element: any, logManager: any, observerLocator: any, taskQueue: any);
export class MdSlider {
mdFillContainer: any;
mdHeight: any;
mdIndicators: any;
mdInterval: any;
mdTransition: any;
constructor(element: any);
attached(): any;
detached(): any;
pause(): any;
start(): any;
next(): any;
prev(): any;
refresh(): any;
handleChangeFromNativeSelect(): any;
handleChangeFromViewModel(newValue: any): any;
mdIndicatorsChanged(): any;
}

// commented since that leads to strange effects
// mdIntervalChanged() {
// this.refresh();
// }
//
// mdTransitionChanged() {
// this.refresh();
// }
export class MdSidenavCollapse {
ref: any;
constructor(element: any, observerLocator: any);
Expand Down Expand Up @@ -491,30 +516,6 @@ declare module 'aurelia-materialize-bridge' {
detached(): any;
mdFixedChanged(newValue: any): any;
}
export class MdSlider {
mdFillContainer: any;
mdHeight: any;
mdIndicators: any;
mdInterval: any;
mdTransition: any;
constructor(element: any);
attached(): any;
pause(): any;
start(): any;
next(): any;
prev(): any;
refresh(): any;
mdIndicatorsChanged(): any;
}

// commented since that leads to strange effects
// mdIntervalChanged() {
// this.refresh();
// }
//
// mdTransitionChanged() {
// this.refresh();
// }
export class MdSwitch {
mdChecked: any;
mdDisabled: any;
Expand All @@ -541,16 +542,6 @@ declare module 'aurelia-materialize-bridge' {
export class MdToastService {
show(message: any, displayLength: any, className?: any): any;
}

// @customAttribute('md-tooltip')
export class MdTooltip {
position: any;
delay: any;
text: any;
constructor(element: any);
attached(): any;
detached(): any;
}
export class MdFadeinImage {
ref: any;
constructor(element: any);
Expand All @@ -567,6 +558,16 @@ declare module 'aurelia-materialize-bridge' {
staggerList(): any;
ensureOpacity(): any;
}

// @customAttribute('md-tooltip')
export class MdTooltip {
position: any;
delay: any;
text: any;
constructor(element: any);
attached(): any;
detached(): any;
}
export class MdWaves {
block: any;
circle: any;
Expand Down
32 changes: 31 additions & 1 deletion dist/amd/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
define(['exports', './toast/toastService', './config-builder', './scrollfire/scrollfire-patch', 'materialize'], function (exports, _toastService, _configBuilder, _scrollfirePatch) {
define(['exports', './toast/toastService', './common/attributeManager', './common/attributes', './common/events', './config-builder', './scrollfire/scrollfire-patch', 'materialize'], function (exports, _toastService, _attributeManager, _attributes, _events, _configBuilder, _scrollfirePatch) {
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.version = undefined;
exports.configure = configure;
Object.keys(_toastService).forEach(function (key) {
if (key === "default") return;
Expand All @@ -14,6 +15,33 @@ define(['exports', './toast/toastService', './config-builder', './scrollfire/scr
}
});
});
Object.keys(_attributeManager).forEach(function (key) {
if (key === "default") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _attributeManager[key];
}
});
});
Object.keys(_attributes).forEach(function (key) {
if (key === "default") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _attributes[key];
}
});
});
Object.keys(_events).forEach(function (key) {
if (key === "default") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _events[key];
}
});
});
function configure(aurelia, configCallback) {
var builder = new _configBuilder.ConfigBuilder();

Expand All @@ -28,4 +56,6 @@ define(['exports', './toast/toastService', './config-builder', './scrollfire/scr
new _scrollfirePatch.ScrollfirePatch().patch();
}
}

var version = exports.version = '0.5.1';
});
Loading

0 comments on commit 6f3ae9a

Please sign in to comment.