2015-01-27 05:06:00 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
import ko from 'ko';
|
2015-01-27 05:06:00 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
class LicenseAdminStore
|
2016-06-30 08:02:45 +08:00
|
|
|
{
|
2016-08-17 06:01:20 +08:00
|
|
|
constructor() {
|
|
|
|
this.licensing = ko.observable(false);
|
|
|
|
this.licensingProcess = ko.observable(false);
|
|
|
|
this.licenseValid = ko.observable(false);
|
|
|
|
this.licenseExpired = ko.observable(0);
|
|
|
|
this.licenseError = ko.observable('');
|
2015-01-27 05:06:00 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
this.licenseTrigger = ko.observable(false);
|
|
|
|
}
|
2016-06-30 08:02:45 +08:00
|
|
|
}
|
2015-01-27 05:06:00 +08:00
|
|
|
|
2016-06-30 08:02:45 +08:00
|
|
|
module.exports = new LicenseAdminStore();
|