aurelia-bootstrap-datetimepicker
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -68,3 +68,3 @@ define(['exports', 'aurelia-framework', 'moment', 'jquery', './picker-global-options', 'eonasdan-bootstrap-datetimepicker'], function (exports, _aureliaFramework, _moment, _jquery, _pickerGlobalOptions) { | ||
var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11; | ||
var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12; | ||
@@ -83,18 +83,20 @@ var AbpDatetimePickerCustomElement = exports.AbpDatetimePickerCustomElement = (_dec = (0, _aureliaFramework.inject)(Element), _dec2 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec3 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec4 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec(_class = (_class2 = function () { | ||
_initDefineProp(this, 'iconBase', _descriptor4, this); | ||
_initDefineProp(this, 'placeholder', _descriptor4, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor5, this); | ||
_initDefineProp(this, 'iconBase', _descriptor5, this); | ||
_initDefineProp(this, 'options', _descriptor6, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor6, this); | ||
_initDefineProp(this, 'onHide', _descriptor7, this); | ||
_initDefineProp(this, 'options', _descriptor7, this); | ||
_initDefineProp(this, 'onShow', _descriptor8, this); | ||
_initDefineProp(this, 'onHide', _descriptor8, this); | ||
_initDefineProp(this, 'onChange', _descriptor9, this); | ||
_initDefineProp(this, 'onShow', _descriptor9, this); | ||
_initDefineProp(this, 'onError', _descriptor10, this); | ||
_initDefineProp(this, 'onChange', _descriptor10, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor11, this); | ||
_initDefineProp(this, 'onError', _descriptor11, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor12, this); | ||
this._events = {}; | ||
@@ -327,8 +329,11 @@ this._methods = {}; | ||
initializer: null | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [_aureliaFramework.bindable], { | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'placeholder', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: function initializer() { | ||
return _pickerGlobalOptions.globalExtraOptions.iconBase; | ||
} | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [_aureliaFramework.bindable], { | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
@@ -338,3 +343,3 @@ initializer: function initializer() { | ||
} | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'options', [_aureliaFramework.bindable], { | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'options', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
@@ -344,15 +349,15 @@ initializer: function initializer() { | ||
} | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [_aureliaFramework.bindable], { | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [_aureliaFramework.bindable], { | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [_aureliaFramework.bindable], { | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [_aureliaFramework.bindable], { | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [_aureliaFramework.bindable], { | ||
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
@@ -359,0 +364,0 @@ initializer: null |
@@ -8,3 +8,3 @@ 'use strict'; | ||
var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11; | ||
var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12; | ||
@@ -84,18 +84,20 @@ var _aureliaFramework = require('aurelia-framework'); | ||
_initDefineProp(this, 'iconBase', _descriptor4, this); | ||
_initDefineProp(this, 'placeholder', _descriptor4, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor5, this); | ||
_initDefineProp(this, 'iconBase', _descriptor5, this); | ||
_initDefineProp(this, 'options', _descriptor6, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor6, this); | ||
_initDefineProp(this, 'onHide', _descriptor7, this); | ||
_initDefineProp(this, 'options', _descriptor7, this); | ||
_initDefineProp(this, 'onShow', _descriptor8, this); | ||
_initDefineProp(this, 'onHide', _descriptor8, this); | ||
_initDefineProp(this, 'onChange', _descriptor9, this); | ||
_initDefineProp(this, 'onShow', _descriptor9, this); | ||
_initDefineProp(this, 'onError', _descriptor10, this); | ||
_initDefineProp(this, 'onChange', _descriptor10, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor11, this); | ||
_initDefineProp(this, 'onError', _descriptor11, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor12, this); | ||
this._events = {}; | ||
@@ -328,8 +330,11 @@ this._methods = {}; | ||
initializer: null | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [_aureliaFramework.bindable], { | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'placeholder', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: function initializer() { | ||
return _pickerGlobalOptions.globalExtraOptions.iconBase; | ||
} | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [_aureliaFramework.bindable], { | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
@@ -339,3 +344,3 @@ initializer: function initializer() { | ||
} | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'options', [_aureliaFramework.bindable], { | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'options', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
@@ -345,17 +350,17 @@ initializer: function initializer() { | ||
} | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [_aureliaFramework.bindable], { | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [_aureliaFramework.bindable], { | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [_aureliaFramework.bindable], { | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [_aureliaFramework.bindable], { | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [_aureliaFramework.bindable], { | ||
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [_aureliaFramework.bindable], { | ||
enumerable: true, | ||
initializer: null | ||
})), _class2)) || _class); |
@@ -1,2 +0,2 @@ | ||
var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11; | ||
var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12; | ||
@@ -61,18 +61,20 @@ function _initDefineProp(target, property, descriptor, context) { | ||
_initDefineProp(this, 'iconBase', _descriptor4, this); | ||
_initDefineProp(this, 'placeholder', _descriptor4, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor5, this); | ||
_initDefineProp(this, 'iconBase', _descriptor5, this); | ||
_initDefineProp(this, 'options', _descriptor6, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor6, this); | ||
_initDefineProp(this, 'onHide', _descriptor7, this); | ||
_initDefineProp(this, 'options', _descriptor7, this); | ||
_initDefineProp(this, 'onShow', _descriptor8, this); | ||
_initDefineProp(this, 'onHide', _descriptor8, this); | ||
_initDefineProp(this, 'onChange', _descriptor9, this); | ||
_initDefineProp(this, 'onShow', _descriptor9, this); | ||
_initDefineProp(this, 'onError', _descriptor10, this); | ||
_initDefineProp(this, 'onChange', _descriptor10, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor11, this); | ||
_initDefineProp(this, 'onError', _descriptor11, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor12, this); | ||
this._events = {}; | ||
@@ -293,8 +295,11 @@ this._methods = {}; | ||
initializer: null | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [bindable], { | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'placeholder', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [bindable], { | ||
enumerable: true, | ||
initializer: function () { | ||
return globalExtraOptions.iconBase; | ||
} | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [bindable], { | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [bindable], { | ||
enumerable: true, | ||
@@ -304,3 +309,3 @@ initializer: function () { | ||
} | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'options', [bindable], { | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'options', [bindable], { | ||
enumerable: true, | ||
@@ -310,17 +315,17 @@ initializer: function () { | ||
} | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [bindable], { | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [bindable], { | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [bindable], { | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [bindable], { | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [bindable], { | ||
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
})), _class2)) || _class); |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var inject, bindable, bindingMode, DOM, moment, $, globalExtraOptions, globalPickerOptions, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, AbpDatetimePickerCustomElement; | ||
var inject, bindable, bindingMode, DOM, moment, $, globalExtraOptions, globalPickerOptions, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, AbpDatetimePickerCustomElement; | ||
@@ -85,18 +85,20 @@ function _initDefineProp(target, property, descriptor, context) { | ||
_initDefineProp(this, 'iconBase', _descriptor4, this); | ||
_initDefineProp(this, 'placeholder', _descriptor4, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor5, this); | ||
_initDefineProp(this, 'iconBase', _descriptor5, this); | ||
_initDefineProp(this, 'options', _descriptor6, this); | ||
_initDefineProp(this, 'withDateIcon', _descriptor6, this); | ||
_initDefineProp(this, 'onHide', _descriptor7, this); | ||
_initDefineProp(this, 'options', _descriptor7, this); | ||
_initDefineProp(this, 'onShow', _descriptor8, this); | ||
_initDefineProp(this, 'onHide', _descriptor8, this); | ||
_initDefineProp(this, 'onChange', _descriptor9, this); | ||
_initDefineProp(this, 'onShow', _descriptor9, this); | ||
_initDefineProp(this, 'onError', _descriptor10, this); | ||
_initDefineProp(this, 'onChange', _descriptor10, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor11, this); | ||
_initDefineProp(this, 'onError', _descriptor11, this); | ||
_initDefineProp(this, 'onUpdate', _descriptor12, this); | ||
this._events = {}; | ||
@@ -329,8 +331,11 @@ this._methods = {}; | ||
initializer: null | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [bindable], { | ||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, 'placeholder', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'iconBase', [bindable], { | ||
enumerable: true, | ||
initializer: function initializer() { | ||
return globalExtraOptions.iconBase; | ||
} | ||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [bindable], { | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'withDateIcon', [bindable], { | ||
enumerable: true, | ||
@@ -340,3 +345,3 @@ initializer: function initializer() { | ||
} | ||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, 'options', [bindable], { | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'options', [bindable], { | ||
enumerable: true, | ||
@@ -346,15 +351,15 @@ initializer: function initializer() { | ||
} | ||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [bindable], { | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onHide', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [bindable], { | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onShow', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [bindable], { | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onChange', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [bindable], { | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onError', [bindable], { | ||
enumerable: true, | ||
initializer: null | ||
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [bindable], { | ||
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, 'onUpdate', [bindable], { | ||
enumerable: true, | ||
@@ -361,0 +366,0 @@ initializer: null |
{ | ||
"name": "aurelia-bootstrap-datetimepicker", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "An Aurelia Custom Element for the 3rd party addon [Eonasdan Bootstrap Datepicker]", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -278,2 +278,2 @@ # Aurelia-Bootstrap-Datetimepicker | ||
## Use it, like it? | ||
You like and use an Aurelia-Bootstrap-Plugin, please click on the :star: and spead the word. | ||
You like and use an `Aurelia-Bootstrap-Plugins`, please click on the :star: and spread the word. |
@@ -12,2 +12,3 @@ import {inject, bindable, bindingMode, DOM} from 'aurelia-framework'; | ||
@bindable({defaultBindingMode: bindingMode.twoWay}) value; | ||
@bindable placeholder; | ||
@@ -14,0 +15,0 @@ // plugin own variables |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
342712
2043