@pitaya-components/app
Advanced tools
Comparing version 0.0.26 to 0.0.27
@@ -85,6 +85,5 @@ "use strict"; | ||
statusBarColorChanged(value) { | ||
if (!this._themeColorMetaElement) { | ||
if (!this._themeColorMetaElement) | ||
return; | ||
} | ||
this._themeColorMetaElement.setAttribute("value", value); | ||
this._themeColorMetaElement.setAttribute("content", value); | ||
} | ||
@@ -91,0 +90,0 @@ created() { |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const aurelia_framework_1 = require("aurelia-framework"); | ||
let CssVariableToValueValueConverter = class CssVariableToValueValueConverter { | ||
constructor(_taskQueue) { | ||
this._taskQueue = _taskQueue; | ||
} | ||
class CssVariableToValueValueConverter { | ||
toView(value, element) { | ||
@@ -22,9 +9,5 @@ return getComputedStyle(element || document.documentElement) | ||
} | ||
}; | ||
CssVariableToValueValueConverter = __decorate([ | ||
aurelia_framework_1.autoinject, | ||
__metadata("design:paramtypes", [aurelia_framework_1.TaskQueue]) | ||
], CssVariableToValueValueConverter); | ||
} | ||
exports.CssVariableToValueValueConverter = CssVariableToValueValueConverter; | ||
//# sourceMappingURL=css-variable-to-value-value-converter.js.map |
@@ -83,6 +83,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
statusBarColorChanged(value) { | ||
if (!this._themeColorMetaElement) { | ||
if (!this._themeColorMetaElement) | ||
return; | ||
} | ||
this._themeColorMetaElement.setAttribute("value", value); | ||
this._themeColorMetaElement.setAttribute("content", value); | ||
} | ||
@@ -89,0 +88,0 @@ created() { |
@@ -1,15 +0,2 @@ | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
import { autoinject, TaskQueue } from "aurelia-framework"; | ||
let CssVariableToValueValueConverter = class CssVariableToValueValueConverter { | ||
constructor(_taskQueue) { | ||
this._taskQueue = _taskQueue; | ||
} | ||
export class CssVariableToValueValueConverter { | ||
toView(value, element) { | ||
@@ -20,9 +7,4 @@ return getComputedStyle(element || document.documentElement) | ||
} | ||
}; | ||
CssVariableToValueValueConverter = __decorate([ | ||
autoinject, | ||
__metadata("design:paramtypes", [TaskQueue]) | ||
], CssVariableToValueValueConverter); | ||
export { CssVariableToValueValueConverter }; | ||
} | ||
//# sourceMappingURL=css-variable-to-value-value-converter.js.map |
{ | ||
"name": "@pitaya-components/app", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "Aurelia plugin which helps building faster views and provides additional utility functionality.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
135397
1881