update typescript lib to 4.2.2
This commit is contained in:
parent
eb689e8a48
commit
25191c45f6
@ -15,9 +15,9 @@
|
||||
"doric": "__$Version__",
|
||||
"doric-cli": "__$Version__",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"rollup": "^2.23.0",
|
||||
"tslib": "^2.0.0",
|
||||
"typescript": "^3.9.7"
|
||||
"rollup": "^2.24.0",
|
||||
"tslib": "^2.1.0",
|
||||
"typescript": "^4.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-buble": "^0.21.3",
|
||||
|
@ -32,10 +32,10 @@
|
||||
"inquirer": "^8.0.0",
|
||||
"keypress": "^0.2.1",
|
||||
"qrcode-terminal": "^0.12.0",
|
||||
"rollup": "^2.23.0",
|
||||
"rollup": "^2.24.0",
|
||||
"shelljs": "^0.8.4",
|
||||
"source-map-merger": "^0.2.0",
|
||||
"typescript": "^3.9.7",
|
||||
"typescript": "^4.2.2",
|
||||
"ws": "^7.4.3",
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
|
@ -13,9 +13,9 @@
|
||||
"doric": "file:../doric-js",
|
||||
"doric-cli": "file:../doric-cli",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"rollup": "^2.23.0",
|
||||
"tslib": "^2.0.0",
|
||||
"typescript": "^3.9.7"
|
||||
"rollup": "^2.24.0",
|
||||
"tslib": "^2.1.0",
|
||||
"typescript": "^4.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-buble": "^0.21.3",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -116,13 +116,13 @@ function logw(...message) {
|
||||
nativeLog('w', out);
|
||||
}
|
||||
|
||||
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$d = (undefined && undefined.__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 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
function Property(target, propKey) {
|
||||
@ -307,101 +307,101 @@ class View {
|
||||
});
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "width", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "height", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "x", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "y", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "backgroundColor", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "corners", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "border", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "shadow", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "alpha", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Boolean)
|
||||
__metadata$d("design:type", Boolean)
|
||||
], View.prototype, "hidden", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "padding", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "layoutConfig", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
__metadata$d("design:type", Function)
|
||||
], View.prototype, "onClick", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "translationX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "translationY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "scaleX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "scaleY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "pivotX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "pivotY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "rotation", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "rotationX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "rotationY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "perspective", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "flexConfig", void 0);
|
||||
class Superview extends View {
|
||||
subviewById(id) {
|
||||
@ -642,13 +642,13 @@ function layoutConfig() {
|
||||
return new LayoutConfigImpl;
|
||||
}
|
||||
|
||||
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$c = (undefined && undefined.__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$1 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Stack extends Group {
|
||||
@ -657,13 +657,13 @@ class Root extends Stack {
|
||||
}
|
||||
class LinearLayout extends Group {
|
||||
}
|
||||
__decorate$1([
|
||||
__decorate$c([
|
||||
Property,
|
||||
__metadata$1("design:type", Number)
|
||||
__metadata$c("design:type", Number)
|
||||
], LinearLayout.prototype, "space", void 0);
|
||||
__decorate$1([
|
||||
__decorate$c([
|
||||
Property,
|
||||
__metadata$1("design:type", Gravity)
|
||||
__metadata$c("design:type", Gravity)
|
||||
], LinearLayout.prototype, "gravity", void 0);
|
||||
class VLayout extends LinearLayout {
|
||||
}
|
||||
@ -724,13 +724,13 @@ function flexlayout(views, config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$b = (undefined && undefined.__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$2 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
function NativeCall(target, propertyKey, descriptor) {
|
||||
@ -924,47 +924,47 @@ class Panel {
|
||||
this.onRenderFinishedCallback.push(cb);
|
||||
}
|
||||
}
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", [String]),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", [String]),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__init__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onCreate__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onDestroy__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onShow__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onHidden__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", [Object]),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", [Object]),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__build__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", [Array, String]),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", [Array, String]),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__response__", null);
|
||||
|
||||
/*
|
||||
@ -1306,13 +1306,13 @@ exports.GradientOrientation = void 0;
|
||||
GradientOrientation[GradientOrientation["TL_BR"] = 7] = "TL_BR";
|
||||
})(exports.GradientOrientation || (exports.GradientOrientation = {}));
|
||||
|
||||
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$a = (undefined && undefined.__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$3 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
exports.TruncateAt = void 0;
|
||||
@ -1324,61 +1324,61 @@ exports.TruncateAt = void 0;
|
||||
})(exports.TruncateAt || (exports.TruncateAt = {}));
|
||||
class Text extends View {
|
||||
}
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "text", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Color)
|
||||
__metadata$a("design:type", Color)
|
||||
], Text.prototype, "textColor", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "textSize", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "maxLines", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Gravity)
|
||||
__metadata$a("design:type", Gravity)
|
||||
], Text.prototype, "textAlignment", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "fontStyle", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "font", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "maxWidth", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "maxHeight", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "lineSpacing", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Boolean)
|
||||
__metadata$a("design:type", Boolean)
|
||||
], Text.prototype, "strikethrough", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Boolean)
|
||||
__metadata$a("design:type", Boolean)
|
||||
], Text.prototype, "underline", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "htmlText", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "truncateAt", void 0);
|
||||
function text(config) {
|
||||
const ret = new Text;
|
||||
@ -1389,13 +1389,13 @@ function text(config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$9 = (undefined && undefined.__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$4 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
exports.ScaleType = void 0;
|
||||
@ -1406,70 +1406,70 @@ exports.ScaleType = void 0;
|
||||
})(exports.ScaleType || (exports.ScaleType = {}));
|
||||
class Image extends View {
|
||||
}
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imageUrl", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imagePath", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imageRes", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imageBase64", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Number)
|
||||
__metadata$9("design:type", Number)
|
||||
], Image.prototype, "scaleType", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Boolean)
|
||||
__metadata$9("design:type", Boolean)
|
||||
], Image.prototype, "isBlur", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "placeHolderImage", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "placeHolderImageBase64", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Color
|
||||
__metadata$9("design:type", Color
|
||||
/**
|
||||
* Display while image is failed to load
|
||||
* It can be file name in local path
|
||||
*/
|
||||
)
|
||||
], Image.prototype, "placeHolderColor", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "errorImage", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "errorImageBase64", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Color)
|
||||
__metadata$9("design:type", Color)
|
||||
], Image.prototype, "errorColor", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Function)
|
||||
__metadata$9("design:type", Function)
|
||||
], Image.prototype, "loadCallback", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Number)
|
||||
__metadata$9("design:type", Number)
|
||||
], Image.prototype, "imageScale", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Object)
|
||||
__metadata$9("design:type", Object)
|
||||
], Image.prototype, "stretchInset", void 0);
|
||||
function image(config) {
|
||||
const ret = new Image;
|
||||
@ -1495,20 +1495,20 @@ function image(config) {
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$8 = (undefined && undefined.__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$5 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class ListItem extends Stack {
|
||||
}
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", String)
|
||||
__metadata$8("design:type", String)
|
||||
], ListItem.prototype, "identifier", void 0);
|
||||
class List extends Superview {
|
||||
constructor() {
|
||||
@ -1562,41 +1562,41 @@ class List extends Superview {
|
||||
return super.toModel();
|
||||
}
|
||||
}
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Object)
|
||||
__metadata$8("design:type", Object)
|
||||
], List.prototype, "itemCount", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "renderItem", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Object)
|
||||
__metadata$8("design:type", Object)
|
||||
], List.prototype, "batchCount", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "onLoadMore", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Boolean)
|
||||
__metadata$8("design:type", Boolean)
|
||||
], List.prototype, "loadMore", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", ListItem)
|
||||
__metadata$8("design:type", ListItem)
|
||||
], List.prototype, "loadMoreView", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "onScroll", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "onScrollEnd", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Number)
|
||||
__metadata$8("design:type", Number)
|
||||
], List.prototype, "scrolledPosition", void 0);
|
||||
function list(config) {
|
||||
const ret = new List;
|
||||
@ -1624,20 +1624,20 @@ function listItem(item, config) {
|
||||
});
|
||||
}
|
||||
|
||||
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$7 = (undefined && undefined.__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$6 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class SlideItem extends Stack {
|
||||
}
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", String)
|
||||
__metadata$7("design:type", String)
|
||||
], SlideItem.prototype, "identifier", void 0);
|
||||
class Slider extends Superview {
|
||||
constructor() {
|
||||
@ -1678,25 +1678,25 @@ class Slider extends Superview {
|
||||
return this.nativeChannel(context, "getSlidedPage")();
|
||||
}
|
||||
}
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Object)
|
||||
__metadata$7("design:type", Object)
|
||||
], Slider.prototype, "itemCount", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Function)
|
||||
__metadata$7("design:type", Function)
|
||||
], Slider.prototype, "renderPage", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Object)
|
||||
__metadata$7("design:type", Object)
|
||||
], Slider.prototype, "batchCount", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Function)
|
||||
__metadata$7("design:type", Function)
|
||||
], Slider.prototype, "onPageSlided", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Boolean)
|
||||
__metadata$7("design:type", Boolean)
|
||||
], Slider.prototype, "loop", void 0);
|
||||
function slider(config) {
|
||||
const ret = new Slider;
|
||||
@ -1724,13 +1724,13 @@ function slideItem(item, config) {
|
||||
});
|
||||
}
|
||||
|
||||
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$6 = (undefined && undefined.__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$7 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
function scroller(content, config) {
|
||||
@ -1759,26 +1759,26 @@ class Scroller extends Superview {
|
||||
return this.nativeChannel(context, "scrollBy")({ offset, animated });
|
||||
}
|
||||
}
|
||||
__decorate$7([
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$7("design:type", Object)
|
||||
__metadata$6("design:type", Object)
|
||||
], Scroller.prototype, "contentOffset", void 0);
|
||||
__decorate$7([
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$7("design:type", Function)
|
||||
__metadata$6("design:type", Function)
|
||||
], Scroller.prototype, "onScroll", void 0);
|
||||
__decorate$7([
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$7("design:type", Function)
|
||||
__metadata$6("design:type", Function)
|
||||
], Scroller.prototype, "onScrollEnd", void 0);
|
||||
|
||||
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$5 = (undefined && undefined.__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$8 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Refreshable extends Superview {
|
||||
@ -1807,9 +1807,9 @@ class Refreshable extends Superview {
|
||||
return super.toModel();
|
||||
}
|
||||
}
|
||||
__decorate$8([
|
||||
__decorate$5([
|
||||
Property,
|
||||
__metadata$8("design:type", Function)
|
||||
__metadata$5("design:type", Function)
|
||||
], Refreshable.prototype, "onRefresh", void 0);
|
||||
function refreshable(config) {
|
||||
const ret = new Refreshable;
|
||||
@ -1912,20 +1912,20 @@ exports.Display = void 0;
|
||||
Display[Display["NONE"] = 1] = "NONE";
|
||||
})(exports.Display || (exports.Display = {}));
|
||||
|
||||
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$4 = (undefined && undefined.__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$9 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class FlowLayoutItem extends Stack {
|
||||
}
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", String)
|
||||
__metadata$4("design:type", String)
|
||||
], FlowLayoutItem.prototype, "identifier", void 0);
|
||||
class FlowLayout extends Superview {
|
||||
constructor() {
|
||||
@ -1976,49 +1976,49 @@ class FlowLayout extends Superview {
|
||||
return super.toModel();
|
||||
}
|
||||
}
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Object)
|
||||
__metadata$4("design:type", Object)
|
||||
], FlowLayout.prototype, "columnCount", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Number)
|
||||
__metadata$4("design:type", Number)
|
||||
], FlowLayout.prototype, "columnSpace", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Number)
|
||||
__metadata$4("design:type", Number)
|
||||
], FlowLayout.prototype, "rowSpace", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Object)
|
||||
__metadata$4("design:type", Object)
|
||||
], FlowLayout.prototype, "itemCount", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "renderItem", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Object)
|
||||
__metadata$4("design:type", Object)
|
||||
], FlowLayout.prototype, "batchCount", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "onLoadMore", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Boolean)
|
||||
__metadata$4("design:type", Boolean)
|
||||
], FlowLayout.prototype, "loadMore", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", FlowLayoutItem)
|
||||
__metadata$4("design:type", FlowLayoutItem)
|
||||
], FlowLayout.prototype, "loadMoreView", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "onScroll", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "onScrollEnd", void 0);
|
||||
function flowlayout(config) {
|
||||
const ret = new FlowLayout;
|
||||
@ -2046,13 +2046,13 @@ function flowItem(item, config) {
|
||||
});
|
||||
}
|
||||
|
||||
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$3 = (undefined && undefined.__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$a = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Input extends View {
|
||||
@ -2072,53 +2072,53 @@ class Input extends View {
|
||||
return this.nativeChannel(context, 'releaseFocus')();
|
||||
}
|
||||
}
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", String)
|
||||
__metadata$3("design:type", String)
|
||||
], Input.prototype, "text", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Color)
|
||||
__metadata$3("design:type", Color)
|
||||
], Input.prototype, "textColor", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Number)
|
||||
__metadata$3("design:type", Number)
|
||||
], Input.prototype, "textSize", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", String)
|
||||
__metadata$3("design:type", String)
|
||||
], Input.prototype, "hintText", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Number)
|
||||
__metadata$3("design:type", Number)
|
||||
], Input.prototype, "inputType", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Color)
|
||||
__metadata$3("design:type", Color)
|
||||
], Input.prototype, "hintTextColor", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Boolean)
|
||||
__metadata$3("design:type", Boolean)
|
||||
], Input.prototype, "multiline", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Gravity)
|
||||
__metadata$3("design:type", Gravity)
|
||||
], Input.prototype, "textAlignment", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Function)
|
||||
__metadata$3("design:type", Function)
|
||||
], Input.prototype, "onTextChange", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Function)
|
||||
__metadata$3("design:type", Function)
|
||||
], Input.prototype, "onFocusChange", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Number)
|
||||
__metadata$3("design:type", Number)
|
||||
], Input.prototype, "maxLength", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Boolean)
|
||||
__metadata$3("design:type", Boolean)
|
||||
], Input.prototype, "password", void 0);
|
||||
exports.InputType = void 0;
|
||||
(function (InputType) {
|
||||
@ -2137,13 +2137,13 @@ function input(config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$2 = (undefined && undefined.__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$b = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class NestedSlider extends Group {
|
||||
@ -2157,25 +2157,25 @@ class NestedSlider extends Group {
|
||||
return this.nativeChannel(context, "getSlidedPage")();
|
||||
}
|
||||
}
|
||||
__decorate$b([
|
||||
__decorate$2([
|
||||
Property,
|
||||
__metadata$b("design:type", Function)
|
||||
__metadata$2("design:type", Function)
|
||||
], NestedSlider.prototype, "onPageSlided", void 0);
|
||||
|
||||
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$1 = (undefined && undefined.__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$c = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$1 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Draggable extends Stack {
|
||||
}
|
||||
__decorate$c([
|
||||
__decorate$1([
|
||||
Property,
|
||||
__metadata$c("design:type", Function)
|
||||
__metadata$1("design:type", Function)
|
||||
], Draggable.prototype, "onDrag", void 0);
|
||||
function draggable(views, config) {
|
||||
const ret = new Draggable;
|
||||
@ -2196,36 +2196,36 @@ function draggable(views, config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate = (undefined && undefined.__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$d = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Switch extends View {
|
||||
}
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Boolean)
|
||||
__metadata("design:type", Boolean)
|
||||
], Switch.prototype, "state", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Function)
|
||||
__metadata("design:type", Function)
|
||||
], Switch.prototype, "onSwitch", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Color)
|
||||
__metadata("design:type", Color)
|
||||
], Switch.prototype, "offTintColor", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Color)
|
||||
__metadata("design:type", Color)
|
||||
], Switch.prototype, "onTintColor", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Color)
|
||||
__metadata("design:type", Color)
|
||||
], Switch.prototype, "thumbTintColor", void 0);
|
||||
function switchView(config) {
|
||||
const ret = new Switch;
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1 @@
|
||||
export {};
|
@ -0,0 +1 @@
|
||||
export {};
|
@ -23,14 +23,14 @@
|
||||
"homepage": "https://github.com/doric-pub/doric#readme",
|
||||
"dependencies": {
|
||||
"@types/ws": "^7.2.6",
|
||||
"core-js": "^3.6.5",
|
||||
"core-js": "^3.9.1",
|
||||
"dts-bundle": "^0.7.3",
|
||||
"proxy-polyfill": "^0.3.2",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"rollup": "^2.23.0",
|
||||
"tslib": "^2.0.0",
|
||||
"typescript": "^3.9.7",
|
||||
"ws": "^7.3.1",
|
||||
"dts-bundle": "^0.7.3"
|
||||
"rollup": "^2.40.0",
|
||||
"tslib": "^2.1.0",
|
||||
"typescript": "^4.2.2",
|
||||
"ws": "^7.4.3"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org"
|
||||
|
538
doric-web/dist/index.js
vendored
538
doric-web/dist/index.js
vendored
@ -1665,13 +1665,13 @@ function logw(...message) {
|
||||
nativeLog('w', out);
|
||||
}
|
||||
|
||||
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$d = (undefined && undefined.__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 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
function Property(target, propKey) {
|
||||
@ -1856,101 +1856,101 @@ class View {
|
||||
});
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "width", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "height", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "x", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "y", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "backgroundColor", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "corners", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "border", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "shadow", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "alpha", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Boolean)
|
||||
__metadata$d("design:type", Boolean)
|
||||
], View.prototype, "hidden", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "padding", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "layoutConfig", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
__metadata$d("design:type", Function)
|
||||
], View.prototype, "onClick", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "translationX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "translationY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "scaleX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "scaleY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "pivotX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "pivotY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "rotation", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "rotationX", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "rotationY", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
__metadata$d("design:type", Number)
|
||||
], View.prototype, "perspective", void 0);
|
||||
__decorate([
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
__metadata$d("design:type", Object)
|
||||
], View.prototype, "flexConfig", void 0);
|
||||
class Superview extends View {
|
||||
subviewById(id) {
|
||||
@ -2191,13 +2191,13 @@ function layoutConfig() {
|
||||
return new LayoutConfigImpl;
|
||||
}
|
||||
|
||||
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$c = (undefined && undefined.__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$1 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Stack extends Group {
|
||||
@ -2206,13 +2206,13 @@ class Root extends Stack {
|
||||
}
|
||||
class LinearLayout extends Group {
|
||||
}
|
||||
__decorate$1([
|
||||
__decorate$c([
|
||||
Property,
|
||||
__metadata$1("design:type", Number)
|
||||
__metadata$c("design:type", Number)
|
||||
], LinearLayout.prototype, "space", void 0);
|
||||
__decorate$1([
|
||||
__decorate$c([
|
||||
Property,
|
||||
__metadata$1("design:type", Gravity)
|
||||
__metadata$c("design:type", Gravity)
|
||||
], LinearLayout.prototype, "gravity", void 0);
|
||||
class VLayout extends LinearLayout {
|
||||
}
|
||||
@ -2273,13 +2273,13 @@ function flexlayout(views, config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$b = (undefined && undefined.__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$2 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
function NativeCall(target, propertyKey, descriptor) {
|
||||
@ -2473,47 +2473,47 @@ class Panel {
|
||||
this.onRenderFinishedCallback.push(cb);
|
||||
}
|
||||
}
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", [String]),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", [String]),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__init__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onCreate__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onDestroy__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onShow__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", []),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", []),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__onHidden__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", [Object]),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", [Object]),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__build__", null);
|
||||
__decorate$2([
|
||||
__decorate$b([
|
||||
NativeCall,
|
||||
__metadata$2("design:type", Function),
|
||||
__metadata$2("design:paramtypes", [Array, String]),
|
||||
__metadata$2("design:returntype", void 0)
|
||||
__metadata$b("design:type", Function),
|
||||
__metadata$b("design:paramtypes", [Array, String]),
|
||||
__metadata$b("design:returntype", void 0)
|
||||
], Panel.prototype, "__response__", null);
|
||||
|
||||
/*
|
||||
@ -2855,13 +2855,13 @@ exports.GradientOrientation = void 0;
|
||||
GradientOrientation[GradientOrientation["TL_BR"] = 7] = "TL_BR";
|
||||
})(exports.GradientOrientation || (exports.GradientOrientation = {}));
|
||||
|
||||
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$a = (undefined && undefined.__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$3 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
exports.TruncateAt = void 0;
|
||||
@ -2873,61 +2873,61 @@ exports.TruncateAt = void 0;
|
||||
})(exports.TruncateAt || (exports.TruncateAt = {}));
|
||||
class Text extends View {
|
||||
}
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "text", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Color)
|
||||
__metadata$a("design:type", Color)
|
||||
], Text.prototype, "textColor", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "textSize", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "maxLines", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Gravity)
|
||||
__metadata$a("design:type", Gravity)
|
||||
], Text.prototype, "textAlignment", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "fontStyle", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "font", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "maxWidth", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "maxHeight", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "lineSpacing", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Boolean)
|
||||
__metadata$a("design:type", Boolean)
|
||||
], Text.prototype, "strikethrough", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Boolean)
|
||||
__metadata$a("design:type", Boolean)
|
||||
], Text.prototype, "underline", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", String)
|
||||
__metadata$a("design:type", String)
|
||||
], Text.prototype, "htmlText", void 0);
|
||||
__decorate$3([
|
||||
__decorate$a([
|
||||
Property,
|
||||
__metadata$3("design:type", Number)
|
||||
__metadata$a("design:type", Number)
|
||||
], Text.prototype, "truncateAt", void 0);
|
||||
function text(config) {
|
||||
const ret = new Text;
|
||||
@ -2938,13 +2938,13 @@ function text(config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$9 = (undefined && undefined.__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$4 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
exports.ScaleType = void 0;
|
||||
@ -2955,70 +2955,70 @@ exports.ScaleType = void 0;
|
||||
})(exports.ScaleType || (exports.ScaleType = {}));
|
||||
class Image extends View {
|
||||
}
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imageUrl", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imagePath", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imageRes", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "imageBase64", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Number)
|
||||
__metadata$9("design:type", Number)
|
||||
], Image.prototype, "scaleType", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Boolean)
|
||||
__metadata$9("design:type", Boolean)
|
||||
], Image.prototype, "isBlur", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "placeHolderImage", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "placeHolderImageBase64", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Color
|
||||
__metadata$9("design:type", Color
|
||||
/**
|
||||
* Display while image is failed to load
|
||||
* It can be file name in local path
|
||||
*/
|
||||
)
|
||||
], Image.prototype, "placeHolderColor", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "errorImage", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", String)
|
||||
__metadata$9("design:type", String)
|
||||
], Image.prototype, "errorImageBase64", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Color)
|
||||
__metadata$9("design:type", Color)
|
||||
], Image.prototype, "errorColor", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Function)
|
||||
__metadata$9("design:type", Function)
|
||||
], Image.prototype, "loadCallback", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Number)
|
||||
__metadata$9("design:type", Number)
|
||||
], Image.prototype, "imageScale", void 0);
|
||||
__decorate$4([
|
||||
__decorate$9([
|
||||
Property,
|
||||
__metadata$4("design:type", Object)
|
||||
__metadata$9("design:type", Object)
|
||||
], Image.prototype, "stretchInset", void 0);
|
||||
function image(config) {
|
||||
const ret = new Image;
|
||||
@ -3044,20 +3044,20 @@ function image(config) {
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$8 = (undefined && undefined.__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$5 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class ListItem extends Stack {
|
||||
}
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", String)
|
||||
__metadata$8("design:type", String)
|
||||
], ListItem.prototype, "identifier", void 0);
|
||||
class List extends Superview {
|
||||
constructor() {
|
||||
@ -3111,41 +3111,41 @@ class List extends Superview {
|
||||
return super.toModel();
|
||||
}
|
||||
}
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Object)
|
||||
__metadata$8("design:type", Object)
|
||||
], List.prototype, "itemCount", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "renderItem", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Object)
|
||||
__metadata$8("design:type", Object)
|
||||
], List.prototype, "batchCount", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "onLoadMore", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Boolean)
|
||||
__metadata$8("design:type", Boolean)
|
||||
], List.prototype, "loadMore", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", ListItem)
|
||||
__metadata$8("design:type", ListItem)
|
||||
], List.prototype, "loadMoreView", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "onScroll", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Function)
|
||||
__metadata$8("design:type", Function)
|
||||
], List.prototype, "onScrollEnd", void 0);
|
||||
__decorate$5([
|
||||
__decorate$8([
|
||||
Property,
|
||||
__metadata$5("design:type", Number)
|
||||
__metadata$8("design:type", Number)
|
||||
], List.prototype, "scrolledPosition", void 0);
|
||||
function list(config) {
|
||||
const ret = new List;
|
||||
@ -3173,20 +3173,20 @@ function listItem(item, config) {
|
||||
});
|
||||
}
|
||||
|
||||
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$7 = (undefined && undefined.__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$6 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class SlideItem extends Stack {
|
||||
}
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", String)
|
||||
__metadata$7("design:type", String)
|
||||
], SlideItem.prototype, "identifier", void 0);
|
||||
class Slider extends Superview {
|
||||
constructor() {
|
||||
@ -3227,25 +3227,25 @@ class Slider extends Superview {
|
||||
return this.nativeChannel(context, "getSlidedPage")();
|
||||
}
|
||||
}
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Object)
|
||||
__metadata$7("design:type", Object)
|
||||
], Slider.prototype, "itemCount", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Function)
|
||||
__metadata$7("design:type", Function)
|
||||
], Slider.prototype, "renderPage", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Object)
|
||||
__metadata$7("design:type", Object)
|
||||
], Slider.prototype, "batchCount", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Function)
|
||||
__metadata$7("design:type", Function)
|
||||
], Slider.prototype, "onPageSlided", void 0);
|
||||
__decorate$6([
|
||||
__decorate$7([
|
||||
Property,
|
||||
__metadata$6("design:type", Boolean)
|
||||
__metadata$7("design:type", Boolean)
|
||||
], Slider.prototype, "loop", void 0);
|
||||
function slider(config) {
|
||||
const ret = new Slider;
|
||||
@ -3273,13 +3273,13 @@ function slideItem(item, config) {
|
||||
});
|
||||
}
|
||||
|
||||
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$6 = (undefined && undefined.__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$7 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
function scroller(content, config) {
|
||||
@ -3308,26 +3308,26 @@ class Scroller extends Superview {
|
||||
return this.nativeChannel(context, "scrollBy")({ offset, animated });
|
||||
}
|
||||
}
|
||||
__decorate$7([
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$7("design:type", Object)
|
||||
__metadata$6("design:type", Object)
|
||||
], Scroller.prototype, "contentOffset", void 0);
|
||||
__decorate$7([
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$7("design:type", Function)
|
||||
__metadata$6("design:type", Function)
|
||||
], Scroller.prototype, "onScroll", void 0);
|
||||
__decorate$7([
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$7("design:type", Function)
|
||||
__metadata$6("design:type", Function)
|
||||
], Scroller.prototype, "onScrollEnd", void 0);
|
||||
|
||||
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$5 = (undefined && undefined.__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$8 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Refreshable extends Superview {
|
||||
@ -3356,9 +3356,9 @@ class Refreshable extends Superview {
|
||||
return super.toModel();
|
||||
}
|
||||
}
|
||||
__decorate$8([
|
||||
__decorate$5([
|
||||
Property,
|
||||
__metadata$8("design:type", Function)
|
||||
__metadata$5("design:type", Function)
|
||||
], Refreshable.prototype, "onRefresh", void 0);
|
||||
function refreshable(config) {
|
||||
const ret = new Refreshable;
|
||||
@ -3461,20 +3461,20 @@ exports.Display = void 0;
|
||||
Display[Display["NONE"] = 1] = "NONE";
|
||||
})(exports.Display || (exports.Display = {}));
|
||||
|
||||
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$4 = (undefined && undefined.__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$9 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class FlowLayoutItem extends Stack {
|
||||
}
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", String)
|
||||
__metadata$4("design:type", String)
|
||||
], FlowLayoutItem.prototype, "identifier", void 0);
|
||||
class FlowLayout extends Superview {
|
||||
constructor() {
|
||||
@ -3525,49 +3525,49 @@ class FlowLayout extends Superview {
|
||||
return super.toModel();
|
||||
}
|
||||
}
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Object)
|
||||
__metadata$4("design:type", Object)
|
||||
], FlowLayout.prototype, "columnCount", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Number)
|
||||
__metadata$4("design:type", Number)
|
||||
], FlowLayout.prototype, "columnSpace", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Number)
|
||||
__metadata$4("design:type", Number)
|
||||
], FlowLayout.prototype, "rowSpace", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Object)
|
||||
__metadata$4("design:type", Object)
|
||||
], FlowLayout.prototype, "itemCount", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "renderItem", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Object)
|
||||
__metadata$4("design:type", Object)
|
||||
], FlowLayout.prototype, "batchCount", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "onLoadMore", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Boolean)
|
||||
__metadata$4("design:type", Boolean)
|
||||
], FlowLayout.prototype, "loadMore", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", FlowLayoutItem)
|
||||
__metadata$4("design:type", FlowLayoutItem)
|
||||
], FlowLayout.prototype, "loadMoreView", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "onScroll", void 0);
|
||||
__decorate$9([
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$9("design:type", Function)
|
||||
__metadata$4("design:type", Function)
|
||||
], FlowLayout.prototype, "onScrollEnd", void 0);
|
||||
function flowlayout(config) {
|
||||
const ret = new FlowLayout;
|
||||
@ -3595,13 +3595,13 @@ function flowItem(item, config) {
|
||||
});
|
||||
}
|
||||
|
||||
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$3 = (undefined && undefined.__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$a = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Input extends View {
|
||||
@ -3621,53 +3621,53 @@ class Input extends View {
|
||||
return this.nativeChannel(context, 'releaseFocus')();
|
||||
}
|
||||
}
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", String)
|
||||
__metadata$3("design:type", String)
|
||||
], Input.prototype, "text", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Color)
|
||||
__metadata$3("design:type", Color)
|
||||
], Input.prototype, "textColor", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Number)
|
||||
__metadata$3("design:type", Number)
|
||||
], Input.prototype, "textSize", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", String)
|
||||
__metadata$3("design:type", String)
|
||||
], Input.prototype, "hintText", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Number)
|
||||
__metadata$3("design:type", Number)
|
||||
], Input.prototype, "inputType", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Color)
|
||||
__metadata$3("design:type", Color)
|
||||
], Input.prototype, "hintTextColor", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Boolean)
|
||||
__metadata$3("design:type", Boolean)
|
||||
], Input.prototype, "multiline", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Gravity)
|
||||
__metadata$3("design:type", Gravity)
|
||||
], Input.prototype, "textAlignment", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Function)
|
||||
__metadata$3("design:type", Function)
|
||||
], Input.prototype, "onTextChange", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Function)
|
||||
__metadata$3("design:type", Function)
|
||||
], Input.prototype, "onFocusChange", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Number)
|
||||
__metadata$3("design:type", Number)
|
||||
], Input.prototype, "maxLength", void 0);
|
||||
__decorate$a([
|
||||
__decorate$3([
|
||||
Property,
|
||||
__metadata$a("design:type", Boolean)
|
||||
__metadata$3("design:type", Boolean)
|
||||
], Input.prototype, "password", void 0);
|
||||
exports.InputType = void 0;
|
||||
(function (InputType) {
|
||||
@ -3686,13 +3686,13 @@ function input(config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$2 = (undefined && undefined.__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$b = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class NestedSlider extends Group {
|
||||
@ -3706,25 +3706,25 @@ class NestedSlider extends Group {
|
||||
return this.nativeChannel(context, "getSlidedPage")();
|
||||
}
|
||||
}
|
||||
__decorate$b([
|
||||
__decorate$2([
|
||||
Property,
|
||||
__metadata$b("design:type", Function)
|
||||
__metadata$2("design:type", Function)
|
||||
], NestedSlider.prototype, "onPageSlided", void 0);
|
||||
|
||||
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate$1 = (undefined && undefined.__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$c = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata$1 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Draggable extends Stack {
|
||||
}
|
||||
__decorate$c([
|
||||
__decorate$1([
|
||||
Property,
|
||||
__metadata$c("design:type", Function)
|
||||
__metadata$1("design:type", Function)
|
||||
], Draggable.prototype, "onDrag", void 0);
|
||||
function draggable(views, config) {
|
||||
const ret = new Draggable;
|
||||
@ -3745,36 +3745,36 @@ function draggable(views, config) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
var __decorate = (undefined && undefined.__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$d = (undefined && undefined.__metadata) || function (k, v) {
|
||||
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
class Switch extends View {
|
||||
}
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Boolean)
|
||||
__metadata("design:type", Boolean)
|
||||
], Switch.prototype, "state", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Function)
|
||||
__metadata("design:type", Function)
|
||||
], Switch.prototype, "onSwitch", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Color)
|
||||
__metadata("design:type", Color)
|
||||
], Switch.prototype, "offTintColor", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Color)
|
||||
__metadata("design:type", Color)
|
||||
], Switch.prototype, "onTintColor", void 0);
|
||||
__decorate$d([
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata$d("design:type", Color)
|
||||
__metadata("design:type", Color)
|
||||
], Switch.prototype, "thumbTintColor", void 0);
|
||||
function switchView(config) {
|
||||
const ret = new Switch;
|
||||
@ -5655,7 +5655,7 @@ ${content}
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
loadJS(moduleName, packageModuleScript(moduleName, packageModuleScript(name, bundle)));
|
||||
loadJS(moduleName, packageModuleScript(moduleName, bundle));
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -24,8 +24,8 @@
|
||||
"@rollup/plugin-node-resolve": "^8.4.0",
|
||||
"axios": ">=0.21.1",
|
||||
"doric": "file:../doric-js",
|
||||
"rollup": "^2.23.0",
|
||||
"typescript": "^3.9.7"
|
||||
"rollup": "^2.24.0",
|
||||
"typescript": "^4.2.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org"
|
||||
|
@ -66,7 +66,7 @@ function initDoric() {
|
||||
console.log(`Cannot require JS Bundle :${moduleName}`)
|
||||
return false
|
||||
} else {
|
||||
loadJS(moduleName, packageModuleScript(moduleName, packageModuleScript(name, bundle)))
|
||||
loadJS(moduleName, packageModuleScript(moduleName, bundle))
|
||||
return true
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user