aurelia-bootstrap-datetimepicker
Advanced tools
Comparing version
@@ -7,3 +7,3 @@ define(['exports', 'aurelia-framework', 'moment', 'jquery', 'eonasdan-bootstrap-datetimepicker'], function (exports, _aureliaFramework, _moment, _jquery) { | ||
}); | ||
exports.AbaDatetimePickerCustomElement = undefined; | ||
exports.AbpDatetimePickerCustomElement = undefined; | ||
@@ -71,5 +71,5 @@ var _moment2 = _interopRequireDefault(_moment); | ||
var AbaDatetimePickerCustomElement = exports.AbaDatetimePickerCustomElement = (_dec = (0, _aureliaFramework.inject)(Element), _dec2 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec3 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec(_class = (_class2 = function () { | ||
function AbaDatetimePickerCustomElement(elm) { | ||
_classCallCheck(this, AbaDatetimePickerCustomElement); | ||
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 }), _dec(_class = (_class2 = function () { | ||
function AbpDatetimePickerCustomElement(elm) { | ||
_classCallCheck(this, AbpDatetimePickerCustomElement); | ||
@@ -159,3 +159,3 @@ _initDefineProp(this, 'element', _descriptor, this); | ||
AbaDatetimePickerCustomElement.prototype.attached = function attached() { | ||
AbpDatetimePickerCustomElement.prototype.attached = function attached() { | ||
var _this = this; | ||
@@ -183,3 +183,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.attachIconSet = function attachIconSet() { | ||
AbpDatetimePickerCustomElement.prototype.attachIconSet = function attachIconSet() { | ||
if (this.iconSet === 'font-awesome') { | ||
@@ -212,3 +212,3 @@ this.icons = { | ||
AbaDatetimePickerCustomElement.prototype.attachOptions = function attachOptions() { | ||
AbpDatetimePickerCustomElement.prototype.attachOptions = function attachOptions() { | ||
var options = { | ||
@@ -262,3 +262,3 @@ allowInputToggle: this.allowInputToggle, | ||
AbaDatetimePickerCustomElement.prototype.applyExposeEvents = function applyExposeEvents() { | ||
AbpDatetimePickerCustomElement.prototype.applyExposeEvents = function applyExposeEvents() { | ||
var _this2 = this; | ||
@@ -312,3 +312,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.constructMethod = function constructMethod(methodType, methodName) { | ||
AbpDatetimePickerCustomElement.prototype.constructMethod = function constructMethod(methodType, methodName) { | ||
var _this3 = this; | ||
@@ -333,3 +333,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.exposeMethods = function exposeMethods() { | ||
AbpDatetimePickerCustomElement.prototype.exposeMethods = function exposeMethods() { | ||
var _this4 = this; | ||
@@ -347,7 +347,7 @@ | ||
AbaDatetimePickerCustomElement.prototype.detached = function detached() { | ||
AbpDatetimePickerCustomElement.prototype.detached = function detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
}; | ||
return AbaDatetimePickerCustomElement; | ||
return AbpDatetimePickerCustomElement; | ||
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'element', [_dec2], { | ||
@@ -354,0 +354,0 @@ enumerable: true, |
@@ -1,2 +0,2 @@ | ||
define(['exports', './aba-datetime-picker'], function (exports, _abaDatetimePicker) { | ||
define(['exports', './abp-datetime-picker'], function (exports, _abpDatetimePicker) { | ||
'use strict'; | ||
@@ -7,9 +7,9 @@ | ||
}); | ||
exports.AbaDatetimePickerCustomElement = undefined; | ||
exports.AbpDatetimePickerCustomElement = undefined; | ||
exports.configure = configure; | ||
function configure(aurelia) { | ||
aurelia.globalResources('./aba-datetime-picker'); | ||
aurelia.globalResources('./abp-datetime-picker'); | ||
} | ||
exports.AbaDatetimePickerCustomElement = _abaDatetimePicker.AbaDatetimePickerCustomElement; | ||
exports.AbpDatetimePickerCustomElement = _abpDatetimePicker.AbpDatetimePickerCustomElement; | ||
}); |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.AbaDatetimePickerCustomElement = undefined; | ||
exports.AbpDatetimePickerCustomElement = undefined; | ||
@@ -70,5 +70,5 @@ var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38; | ||
var AbaDatetimePickerCustomElement = exports.AbaDatetimePickerCustomElement = (_dec = (0, _aureliaFramework.inject)(Element), _dec2 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec3 = (0, _aureliaFramework.bindable)({ defaultBindingMode: _aureliaFramework.bindingMode.twoWay }), _dec(_class = (_class2 = function () { | ||
function AbaDatetimePickerCustomElement(elm) { | ||
_classCallCheck(this, AbaDatetimePickerCustomElement); | ||
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 }), _dec(_class = (_class2 = function () { | ||
function AbpDatetimePickerCustomElement(elm) { | ||
_classCallCheck(this, AbpDatetimePickerCustomElement); | ||
@@ -158,3 +158,3 @@ _initDefineProp(this, 'element', _descriptor, this); | ||
AbaDatetimePickerCustomElement.prototype.attached = function attached() { | ||
AbpDatetimePickerCustomElement.prototype.attached = function attached() { | ||
var _this = this; | ||
@@ -182,3 +182,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.attachIconSet = function attachIconSet() { | ||
AbpDatetimePickerCustomElement.prototype.attachIconSet = function attachIconSet() { | ||
if (this.iconSet === 'font-awesome') { | ||
@@ -211,3 +211,3 @@ this.icons = { | ||
AbaDatetimePickerCustomElement.prototype.attachOptions = function attachOptions() { | ||
AbpDatetimePickerCustomElement.prototype.attachOptions = function attachOptions() { | ||
var options = { | ||
@@ -261,3 +261,3 @@ allowInputToggle: this.allowInputToggle, | ||
AbaDatetimePickerCustomElement.prototype.applyExposeEvents = function applyExposeEvents() { | ||
AbpDatetimePickerCustomElement.prototype.applyExposeEvents = function applyExposeEvents() { | ||
var _this2 = this; | ||
@@ -311,3 +311,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.constructMethod = function constructMethod(methodType, methodName) { | ||
AbpDatetimePickerCustomElement.prototype.constructMethod = function constructMethod(methodType, methodName) { | ||
var _this3 = this; | ||
@@ -332,3 +332,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.exposeMethods = function exposeMethods() { | ||
AbpDatetimePickerCustomElement.prototype.exposeMethods = function exposeMethods() { | ||
var _this4 = this; | ||
@@ -346,7 +346,7 @@ | ||
AbaDatetimePickerCustomElement.prototype.detached = function detached() { | ||
AbpDatetimePickerCustomElement.prototype.detached = function detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
}; | ||
return AbaDatetimePickerCustomElement; | ||
return AbpDatetimePickerCustomElement; | ||
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'element', [_dec2], { | ||
@@ -353,0 +353,0 @@ enumerable: true, |
@@ -6,11 +6,11 @@ 'use strict'; | ||
}); | ||
exports.AbaDatetimePickerCustomElement = undefined; | ||
exports.AbpDatetimePickerCustomElement = undefined; | ||
exports.configure = configure; | ||
var _abaDatetimePicker = require('./aba-datetime-picker'); | ||
var _abpDatetimePicker = require('./abp-datetime-picker'); | ||
function configure(aurelia) { | ||
aurelia.globalResources('./aba-datetime-picker'); | ||
aurelia.globalResources('./abp-datetime-picker'); | ||
} | ||
exports.AbaDatetimePickerCustomElement = _abaDatetimePicker.AbaDatetimePickerCustomElement; | ||
exports.AbpDatetimePickerCustomElement = _abpDatetimePicker.AbpDatetimePickerCustomElement; |
@@ -51,3 +51,3 @@ var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38; | ||
export let AbaDatetimePickerCustomElement = (_dec = inject(Element), _dec2 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec3 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec(_class = (_class2 = class AbaDatetimePickerCustomElement { | ||
export let AbpDatetimePickerCustomElement = (_dec = inject(Element), _dec2 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec3 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec(_class = (_class2 = class AbpDatetimePickerCustomElement { | ||
@@ -54,0 +54,0 @@ constructor(elm) { |
@@ -1,7 +0,7 @@ | ||
import { AbaDatetimePickerCustomElement } from './aba-datetime-picker'; | ||
import { AbpDatetimePickerCustomElement } from './abp-datetime-picker'; | ||
export function configure(aurelia) { | ||
aurelia.globalResources('./aba-datetime-picker'); | ||
aurelia.globalResources('./abp-datetime-picker'); | ||
} | ||
export { AbaDatetimePickerCustomElement }; | ||
export { AbpDatetimePickerCustomElement }; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var inject, bindable, bindingMode, moment, $, _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, AbaDatetimePickerCustomElement; | ||
var inject, bindable, bindingMode, moment, $, _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, AbpDatetimePickerCustomElement; | ||
@@ -69,5 +69,5 @@ function _initDefineProp(target, property, descriptor, context) { | ||
execute: function () { | ||
_export('AbaDatetimePickerCustomElement', AbaDatetimePickerCustomElement = (_dec = inject(Element), _dec2 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec3 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec(_class = (_class2 = function () { | ||
function AbaDatetimePickerCustomElement(elm) { | ||
_classCallCheck(this, AbaDatetimePickerCustomElement); | ||
_export('AbpDatetimePickerCustomElement', AbpDatetimePickerCustomElement = (_dec = inject(Element), _dec2 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec3 = bindable({ defaultBindingMode: bindingMode.twoWay }), _dec(_class = (_class2 = function () { | ||
function AbpDatetimePickerCustomElement(elm) { | ||
_classCallCheck(this, AbpDatetimePickerCustomElement); | ||
@@ -157,3 +157,3 @@ _initDefineProp(this, 'element', _descriptor, this); | ||
AbaDatetimePickerCustomElement.prototype.attached = function attached() { | ||
AbpDatetimePickerCustomElement.prototype.attached = function attached() { | ||
var _this = this; | ||
@@ -181,3 +181,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.attachIconSet = function attachIconSet() { | ||
AbpDatetimePickerCustomElement.prototype.attachIconSet = function attachIconSet() { | ||
if (this.iconSet === 'font-awesome') { | ||
@@ -210,3 +210,3 @@ this.icons = { | ||
AbaDatetimePickerCustomElement.prototype.attachOptions = function attachOptions() { | ||
AbpDatetimePickerCustomElement.prototype.attachOptions = function attachOptions() { | ||
var options = { | ||
@@ -260,3 +260,3 @@ allowInputToggle: this.allowInputToggle, | ||
AbaDatetimePickerCustomElement.prototype.applyExposeEvents = function applyExposeEvents() { | ||
AbpDatetimePickerCustomElement.prototype.applyExposeEvents = function applyExposeEvents() { | ||
var _this2 = this; | ||
@@ -310,3 +310,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.constructMethod = function constructMethod(methodType, methodName) { | ||
AbpDatetimePickerCustomElement.prototype.constructMethod = function constructMethod(methodType, methodName) { | ||
var _this3 = this; | ||
@@ -331,3 +331,3 @@ | ||
AbaDatetimePickerCustomElement.prototype.exposeMethods = function exposeMethods() { | ||
AbpDatetimePickerCustomElement.prototype.exposeMethods = function exposeMethods() { | ||
var _this4 = this; | ||
@@ -345,7 +345,7 @@ | ||
AbaDatetimePickerCustomElement.prototype.detached = function detached() { | ||
AbpDatetimePickerCustomElement.prototype.detached = function detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
}; | ||
return AbaDatetimePickerCustomElement; | ||
return AbpDatetimePickerCustomElement; | ||
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'element', [_dec2], { | ||
@@ -540,5 +540,5 @@ enumerable: true, | ||
_export('AbaDatetimePickerCustomElement', AbaDatetimePickerCustomElement); | ||
_export('AbpDatetimePickerCustomElement', AbpDatetimePickerCustomElement); | ||
} | ||
}; | ||
}); |
'use strict'; | ||
System.register(['./aba-datetime-picker'], function (_export, _context) { | ||
System.register(['./abp-datetime-picker'], function (_export, _context) { | ||
"use strict"; | ||
var AbaDatetimePickerCustomElement; | ||
var AbpDatetimePickerCustomElement; | ||
function configure(aurelia) { | ||
aurelia.globalResources('./aba-datetime-picker'); | ||
aurelia.globalResources('./abp-datetime-picker'); | ||
} | ||
@@ -14,9 +14,9 @@ | ||
return { | ||
setters: [function (_abaDatetimePicker) { | ||
AbaDatetimePickerCustomElement = _abaDatetimePicker.AbaDatetimePickerCustomElement; | ||
setters: [function (_abpDatetimePicker) { | ||
AbpDatetimePickerCustomElement = _abpDatetimePicker.AbpDatetimePickerCustomElement; | ||
}], | ||
execute: function () { | ||
_export('AbaDatetimePickerCustomElement', AbaDatetimePickerCustomElement); | ||
_export('AbpDatetimePickerCustomElement', AbpDatetimePickerCustomElement); | ||
} | ||
}; | ||
}); |
{ | ||
"name": "aurelia-bootstrap-datetimepicker", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "An Aurelia Custom Element for the 3rd party addon [Eonasdan Bootstrap Datepicker]", | ||
@@ -18,5 +18,5 @@ "keywords": [ | ||
}, | ||
"homepage": "https://github.com/ghiscoding/Aurelia-Bootstrap-Addons/aurelia-bootstrap-datetimepicker", | ||
"homepage": "https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins/aurelia-bootstrap-datetimepicker", | ||
"bugs": { | ||
"url": "https://github.com/ghiscoding/Aurelia-Bootstrap-Addons/aurelia-bootstrap-datetimepicker/issues" | ||
"url": "https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins/aurelia-bootstrap-datetimepicker/issues" | ||
}, | ||
@@ -28,3 +28,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/ghiscoding/Aurelia-Bootstrap-Addons/aurelia-bootstrap-datetimepicker" | ||
"url": "https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins/aurelia-bootstrap-datetimepicker" | ||
}, | ||
@@ -31,0 +31,0 @@ "dependencies": { |
@@ -9,3 +9,3 @@ # Aurelia-Bootstrap-Datetimepicker | ||
```html | ||
<aba-datetime-picker value.bind="post.dateEntered" format="YYYY-MM-DD"></aba-datetime-picker> | ||
<abp-datetime-picker value.bind="post.dateEntered" format="YYYY-MM-DD"></abp-datetime-picker> | ||
``` | ||
@@ -21,3 +21,3 @@ | ||
```html | ||
<aba-datetime-picker format="YYYY-MM-DD"></aba-datetime-picker> | ||
<abp-datetime-picker format="YYYY-MM-DD"></abp-datetime-picker> | ||
``` | ||
@@ -27,3 +27,3 @@ | ||
```html | ||
<aba-datetime-picker format.bind="pickerFormat"></aba-datetime-picker> | ||
<abp-datetime-picker format.bind="pickerFormat"></abp-datetime-picker> | ||
``` | ||
@@ -45,3 +45,3 @@ ```javascript | ||
```html | ||
<aba-datetime-picker element.bind="picker" value.bind="user.birthdate" format="YYYY-MM-DD"></aba-datetime-picker> | ||
<abp-datetime-picker element.bind="picker" value.bind="user.birthdate" format="YYYY-MM-DD"></abp-datetime-picker> | ||
``` | ||
@@ -71,3 +71,3 @@ | ||
```html | ||
<aba-datetime-picker element.bind="picker" value.bind="user.birthdate" format="YYYY-MM-DD"></aba-datetime-picker> | ||
<abp-datetime-picker element.bind="picker" value.bind="user.birthdate" format="YYYY-MM-DD"></abp-datetime-picker> | ||
``` | ||
@@ -96,3 +96,3 @@ | ||
#### Aurelia-CLI | ||
For `CLI` you will need to add (`aurelia-bootstrap-datetimepicker`) to your `aurelia.json` file. The exported class is `aba-datetime-picker`. | ||
For `CLI` you will need to add (`aurelia-bootstrap-datetimepicker`) to your `aurelia.json` file. The exported class is `abp-datetime-picker`. | ||
```javascript | ||
@@ -164,3 +164,3 @@ { | ||
#### Aurelia (main) | ||
Make the plugin available globally in your `main.js` file. Please note the exported class is `aba-tags-input` (`aba` stands for `Aurelia-Bootstrap-Addon`) | ||
Make the plugin available globally in your `main.js` file. Please note the exported class is `abp-tags-input` | ||
@@ -183,2 +183,2 @@ ```javascript | ||
### License | ||
[MIT License](https://github.com/ghiscoding/Aurelia-Bootstrap-Addons/blob/master/LICENSE) | ||
[MIT License](https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins/blob/master/LICENSE) |
@@ -8,3 +8,3 @@ import {inject, bindable, bindingMode} from 'aurelia-framework'; | ||
@inject(Element) | ||
export class AbaDatetimePickerCustomElement { | ||
export class AbpDatetimePickerCustomElement { | ||
@bindable({defaultBindingMode: bindingMode.twoWay}) element; | ||
@@ -11,0 +11,0 @@ @bindable({defaultBindingMode: bindingMode.twoWay}) value; |
@@ -1,9 +0,9 @@ | ||
import {AbaDatetimePickerCustomElement} from './aba-datetime-picker'; | ||
import {AbpDatetimePickerCustomElement} from './abp-datetime-picker'; | ||
export function configure(aurelia) { | ||
aurelia.globalResources('./aba-datetime-picker'); | ||
aurelia.globalResources('./abp-datetime-picker'); | ||
} | ||
export { | ||
AbaDatetimePickerCustomElement | ||
AbpDatetimePickerCustomElement | ||
}; |
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
297970
-0.93%39
-4.88%