diff --git a/doric-js/bundle/doric-lib.js b/doric-js/bundle/doric-lib.js index eeeeafe7..05600f0f 100644 --- a/doric-js/bundle/doric-lib.js +++ b/doric-js/bundle/doric-lib.js @@ -1242,6 +1242,10 @@ __decorate$4([ Property, __metadata$4("design:type", String) ], Image.prototype, "imageRes", void 0); +__decorate$4([ + Property, + __metadata$4("design:type", String) +], Image.prototype, "imageBase64", void 0); __decorate$4([ Property, __metadata$4("design:type", Number) diff --git a/doric-js/bundle/doric-vm.js b/doric-js/bundle/doric-vm.js index 3a695800..1efbaa27 100644 --- a/doric-js/bundle/doric-vm.js +++ b/doric-js/bundle/doric-vm.js @@ -2701,6 +2701,10 @@ __decorate$4([ Property, __metadata$4("design:type", String) ], Image.prototype, "imageRes", void 0); +__decorate$4([ + Property, + __metadata$4("design:type", String) +], Image.prototype, "imageBase64", void 0); __decorate$4([ Property, __metadata$4("design:type", Number) diff --git a/doric-js/index.d.ts b/doric-js/index.d.ts index 71a5b1f1..1d4757a5 100644 --- a/doric-js/index.d.ts +++ b/doric-js/index.d.ts @@ -532,6 +532,7 @@ declare module 'doric/lib/src/widget/image' { imageUrl?: string; imagePath?: string; imageRes?: string; + imageBase64?: string; scaleType?: ScaleType; isBlur?: boolean; placeHolderImage?: string; diff --git a/doric-js/lib/src/widget/image.d.ts b/doric-js/lib/src/widget/image.d.ts index 573b88af..89fdc96a 100644 --- a/doric-js/lib/src/widget/image.d.ts +++ b/doric-js/lib/src/widget/image.d.ts @@ -53,6 +53,7 @@ export declare class Image extends View implements IImage { imageUrl?: string; imagePath?: string; imageRes?: string; + imageBase64?: string; scaleType?: ScaleType; isBlur?: boolean; placeHolderImage?: string; diff --git a/doric-js/lib/src/widget/image.js b/doric-js/lib/src/widget/image.js index 3c97f8c3..01ff58d7 100644 --- a/doric-js/lib/src/widget/image.js +++ b/doric-js/lib/src/widget/image.js @@ -45,6 +45,10 @@ __decorate([ Property, __metadata("design:type", String) ], Image.prototype, "imageRes", void 0); +__decorate([ + Property, + __metadata("design:type", String) +], Image.prototype, "imageBase64", void 0); __decorate([ Property, __metadata("design:type", Number) diff --git a/doric-js/src/widget/image.ts b/doric-js/src/widget/image.ts index 4e7588a7..e3780683 100644 --- a/doric-js/src/widget/image.ts +++ b/doric-js/src/widget/image.ts @@ -80,6 +80,9 @@ export class Image extends View implements IImage { @Property imageRes?: string + @Property + imageBase64?: string + @Property scaleType?: ScaleType