@nativescript-community/ui-image 4.3.17 → 4.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/angular/directives.d.ts +7 -0
- package/angular/{esm2020 → esm2022}/directives.mjs +3 -3
- package/angular/{esm2020 → esm2022}/module.mjs +4 -4
- package/angular/{fesm2020 → fesm2022}/nativescript-community-ui-image-angular.mjs +5 -5
- package/angular/index.d.ts +1 -0
- package/angular/module.d.ts +9 -0
- package/angular/package.json +4 -10
- package/index-common.d.ts +2 -2
- package/package.json +2 -2
- package/angular/fesm2015/nativescript-community-ui-image-angular.mjs +0 -43
- /package/angular/{esm2020 → esm2022}/index.mjs +0 -0
- /package/angular/{esm2020 → esm2022}/nativescript-community-ui-image-angular.mjs +0 -0
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [4.3.18](https://github.com/nativescript-community/ui-image/compare/v4.3.17...v4.3.18) (2023-10-09)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @nativescript-community/ui-image
|
9
|
+
|
6
10
|
## [4.3.17](https://github.com/nativescript-community/ui-image/compare/v4.3.16...v4.3.17) (2023-10-05)
|
7
11
|
|
8
12
|
**Note:** Version bump only for package @nativescript-community/ui-image
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class ImgDirective {
|
3
|
+
constructor();
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImgDirective, never>;
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImgDirective, "NSImg", never, {}, {}, never, never, false, never>;
|
6
|
+
}
|
7
|
+
export declare const NSIMG_DIRECTIVES: (typeof ImgDirective)[];
|
@@ -2,9 +2,9 @@ import { Directive } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export class ImgDirective {
|
4
4
|
constructor() { }
|
5
|
+
static ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
|
6
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
5
7
|
}
|
6
|
-
ImgDirective.ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
|
7
|
-
ImgDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
8
8
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgDirective, [{
|
9
9
|
type: Directive,
|
10
10
|
args: [{
|
@@ -12,4 +12,4 @@ ImgDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective,
|
|
12
12
|
}]
|
13
13
|
}], function () { return []; }, null); })();
|
14
14
|
export const NSIMG_DIRECTIVES = [ImgDirective];
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbWFnZS9hbmd1bGFyL2RpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLMUMsTUFBTSxPQUFPLFlBQVk7SUFDckIsZ0JBQWUsQ0FBQztzRUFEUCxZQUFZOzZEQUFaLFlBQVk7O3VGQUFaLFlBQVk7Y0FIeEIsU0FBUztlQUFDO2dCQUNQLFFBQVEsRUFBRSxPQUFPO2FBQ3BCOztBQUlELE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLENBQUMsWUFBWSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdOU0ltZydcbn0pXG5leHBvcnQgY2xhc3MgSW1nRGlyZWN0aXZlIHtcbiAgICBjb25zdHJ1Y3RvcigpIHt9XG59XG5leHBvcnQgY29uc3QgTlNJTUdfRElSRUNUSVZFUyA9IFtJbWdEaXJlY3RpdmVdO1xuIl19
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./directives";
|
7
7
|
export { ImgDirective };
|
8
8
|
export class TNSImageModule {
|
9
|
+
static ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
10
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
11
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
9
12
|
}
|
10
|
-
TNSImageModule.ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
11
|
-
TNSImageModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
12
|
-
TNSImageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
13
13
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSImageModule, [{
|
14
14
|
type: NgModule,
|
15
15
|
args: [{
|
@@ -19,4 +19,4 @@ TNSImageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
19
19
|
}], null, null); })();
|
20
20
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSImageModule, { declarations: [i1.ImgDirective], exports: [i1.ImgDirective] }); })();
|
21
21
|
registerElement('NSImg', () => Img);
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
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RpdmVzY3JpcHQtY29tbXVuaXR5L3VpLWltYWdlJztcbmV4cG9ydCB7IEltZ0RpcmVjdGl2ZSB9O1xuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtOU0lNR19ESVJFQ1RJVkVTXSxcbiAgICBleHBvcnRzOiBbTlNJTUdfRElSRUNUSVZFU10sXG59KVxuZXhwb3J0IGNsYXNzIFROU0ltYWdlTW9kdWxlIHt9XG5cbnJlZ2lzdGVyRWxlbWVudCgnTlNJbWcnLCAoKSA9PiBJbWcpO1xuIl19
|
@@ -5,9 +5,9 @@ import { Img } from '@nativescript-community/ui-image';
|
|
5
5
|
|
6
6
|
class ImgDirective {
|
7
7
|
constructor() { }
|
8
|
+
static ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
|
9
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
8
10
|
}
|
9
|
-
ImgDirective.ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
|
10
|
-
ImgDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
11
11
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgDirective, [{
|
12
12
|
type: Directive,
|
13
13
|
args: [{
|
@@ -17,10 +17,10 @@ ImgDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective,
|
|
17
17
|
const NSIMG_DIRECTIVES = [ImgDirective];
|
18
18
|
|
19
19
|
class TNSImageModule {
|
20
|
+
static ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
21
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
22
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
20
23
|
}
|
21
|
-
TNSImageModule.ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
22
|
-
TNSImageModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
23
|
-
TNSImageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
24
24
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSImageModule, [{
|
25
25
|
type: NgModule,
|
26
26
|
args: [{
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './module';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ImgDirective } from './directives';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "./directives";
|
4
|
+
export { ImgDirective };
|
5
|
+
export declare class TNSImageModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TNSImageModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TNSImageModule, [typeof i1.ImgDirective], never, [typeof i1.ImgDirective]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TNSImageModule>;
|
9
|
+
}
|
package/angular/package.json
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-image-angular",
|
3
3
|
"main": "index.js",
|
4
|
-
"module": "
|
5
|
-
"es2020": "fesm2020/nativescript-community-ui-image-angular.mjs",
|
6
|
-
"esm2020": "esm2020/nativescript-community-ui-image-angular.mjs",
|
7
|
-
"fesm2020": "fesm2020/nativescript-community-ui-image-angular.mjs",
|
8
|
-
"fesm2015": "fesm2015/nativescript-community-ui-image-angular.mjs",
|
4
|
+
"module": "fesm2022/nativescript-community-ui-image-angular.mjs",
|
9
5
|
"typings": "index.d.ts",
|
10
6
|
"exports": {
|
11
7
|
"./package.json": {
|
@@ -13,11 +9,9 @@
|
|
13
9
|
},
|
14
10
|
".": {
|
15
11
|
"types": "./index.d.ts",
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"node": "./fesm2015/nativescript-community-ui-image-angular.mjs",
|
20
|
-
"default": "./fesm2020/nativescript-community-ui-image-angular.mjs"
|
12
|
+
"esm2022": "./esm2022/nativescript-community-ui-image-angular.mjs",
|
13
|
+
"esm": "./esm2022/nativescript-community-ui-image-angular.mjs",
|
14
|
+
"default": "./fesm2022/nativescript-community-ui-image-angular.mjs"
|
21
15
|
}
|
22
16
|
},
|
23
17
|
"sideEffects": false,
|
package/index-common.d.ts
CHANGED
@@ -10,7 +10,7 @@ export declare enum CLogTypes {
|
|
10
10
|
}
|
11
11
|
export declare const ImageViewTraceCategory = "NativescriptImage";
|
12
12
|
export declare const CLog: (type: CLogTypes, ...args: any[]) => void;
|
13
|
-
export
|
13
|
+
export type Transition = 'fade' | 'curlUp';
|
14
14
|
export declare enum ScaleType {
|
15
15
|
None = "none",
|
16
16
|
Fill = "fill",
|
@@ -52,7 +52,7 @@ export declare class EventData implements IEventData {
|
|
52
52
|
get object(): any;
|
53
53
|
set object(value: any);
|
54
54
|
}
|
55
|
-
export
|
55
|
+
export type Stretch = 'none' | 'fill' | 'aspectFill' | 'aspectFit';
|
56
56
|
export declare const srcProperty: Property<ImageBase, string | ImageSource | ImageAsset>;
|
57
57
|
export declare const lowerResSrcProperty: Property<ImageBase, string>;
|
58
58
|
export declare const placeholderImageUriProperty: Property<ImageBase, string>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-image",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.18",
|
4
4
|
"description": "Advanced and efficient image display plugin which uses Fresco (Android) and SDWebImage (iOS) to implement caching, placeholders, image effects, and much more.",
|
5
5
|
"main": "./index",
|
6
6
|
"sideEffects": false,
|
@@ -44,5 +44,5 @@
|
|
44
44
|
},
|
45
45
|
"license": "Apache-2.0",
|
46
46
|
"readmeFilename": "README.md",
|
47
|
-
"gitHead": "
|
47
|
+
"gitHead": "e8ef097922e6a7729fc7c1c80602de6736fd4137"
|
48
48
|
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Directive, NgModule } from '@angular/core';
|
3
|
-
import { registerElement } from '@nativescript/angular';
|
4
|
-
import { Img } from '@nativescript-community/ui-image';
|
5
|
-
|
6
|
-
class ImgDirective {
|
7
|
-
constructor() { }
|
8
|
-
}
|
9
|
-
ImgDirective.ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
|
10
|
-
ImgDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
11
|
-
(function () {
|
12
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgDirective, [{
|
13
|
-
type: Directive,
|
14
|
-
args: [{
|
15
|
-
selector: 'NSImg'
|
16
|
-
}]
|
17
|
-
}], function () { return []; }, null);
|
18
|
-
})();
|
19
|
-
const NSIMG_DIRECTIVES = [ImgDirective];
|
20
|
-
|
21
|
-
class TNSImageModule {
|
22
|
-
}
|
23
|
-
TNSImageModule.ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
24
|
-
TNSImageModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
25
|
-
TNSImageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
26
|
-
(function () {
|
27
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSImageModule, [{
|
28
|
-
type: NgModule,
|
29
|
-
args: [{
|
30
|
-
declarations: [NSIMG_DIRECTIVES],
|
31
|
-
exports: [NSIMG_DIRECTIVES],
|
32
|
-
}]
|
33
|
-
}], null, null);
|
34
|
-
})();
|
35
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSImageModule, { declarations: [ImgDirective], exports: [ImgDirective] }); })();
|
36
|
-
registerElement('NSImg', () => Img);
|
37
|
-
|
38
|
-
/**
|
39
|
-
* Generated bundle index. Do not edit.
|
40
|
-
*/
|
41
|
-
|
42
|
-
export { ImgDirective, TNSImageModule };
|
43
|
-
//# sourceMappingURL=nativescript-community-ui-image-angular.mjs.map
|
File without changes
|
File without changes
|