@nativescript-community/ui-image 4.1.6 → 4.2.0
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 +30 -0
- package/README.md +354 -286
- package/angular/directives.d.ts +2 -2
- package/angular/esm2020/directives.mjs +15 -0
- package/angular/esm2020/index.mjs +2 -0
- package/angular/esm2020/module.mjs +22 -0
- package/angular/esm2020/nativescript-community-ui-image-angular.mjs +2 -0
- package/angular/fesm2015/nativescript-community-ui-image-angular.mjs +39 -0
- package/angular/fesm2020/nativescript-community-ui-image-angular.mjs +35 -0
- package/angular/module.d.ts +3 -3
- package/angular/package.json +22 -8
- package/blueprint.md +561 -0
- package/{image-common.d.ts → index-common.d.ts} +1 -0
- package/{image-common.js → index-common.js} +28 -7
- package/{image.android.d.ts → index.android.d.ts} +3 -2
- package/{image.android.js → index.android.js} +34 -30
- package/{image.d.ts → index.d.ts} +4 -4
- package/{image.ios.d.ts → index.ios.d.ts} +3 -2
- package/{image.ios.js → index.ios.js} +23 -19
- package/package.json +12 -4
- package/platforms/android/include.gradle +5 -6
- package/platforms/android/ui_image.aar +0 -0
- package/platforms/ios/Podfile +1 -1
- package/vue/index.js +1 -1
- package/angular/bundles/nativescript-community-ui-image-angular.umd.js +0 -49
- package/angular/bundles/nativescript-community-ui-image-angular.umd.min.js +0 -2
- package/angular/esm2015/directives.js +0 -15
- package/angular/esm2015/index.js +0 -2
- package/angular/esm2015/module.js +0 -21
- package/angular/esm2015/nativescript-community-ui-image-angular.js +0 -2
- package/angular/fesm2015/nativescript-community-ui-image-angular.js +0 -33
- package/image-common.metadata.json +0 -1
- package/image.android.metadata.json +0 -1
- package/image.ios.metadata.json +0 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Directive } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class ImgDirective {
|
4
|
+
constructor() { }
|
5
|
+
}
|
6
|
+
ImgDirective.ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
|
7
|
+
ImgDirective.ɵdir = i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
8
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgDirective, [{
|
9
|
+
type: Directive,
|
10
|
+
args: [{
|
11
|
+
selector: 'NSImg'
|
12
|
+
}]
|
13
|
+
}], function () { return []; }, null); })();
|
14
|
+
export const NSIMG_DIRECTIVES = [ImgDirective];
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbWFnZS9hbmd1bGFyL2RpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLMUMsTUFBTSxPQUFPLFlBQVk7SUFDckIsZ0JBQWUsQ0FBQzs7d0VBRFAsWUFBWTtpREFBWixZQUFZO3VGQUFaLFlBQVk7Y0FIeEIsU0FBUztlQUFDO2dCQUNQLFFBQVEsRUFBRSxPQUFPO2FBQ3BCOztBQUlELE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLENBQUMsWUFBWSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdOU0ltZydcbn0pXG5leHBvcnQgY2xhc3MgSW1nRGlyZWN0aXZlIHtcbiAgICBjb25zdHJ1Y3RvcigpIHt9XG59XG5leHBvcnQgY29uc3QgTlNJTUdfRElSRUNUSVZFUyA9IFtJbWdEaXJlY3RpdmVdO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './module';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW1hZ2UvYW5ndWxhci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0ICogZnJvbSAnLi9tb2R1bGUnO1xuIl19
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { registerElement } from '@nativescript/angular';
|
3
|
+
import { ImgDirective, NSIMG_DIRECTIVES } from './directives';
|
4
|
+
import { Img } from '@nativescript-community/ui-image';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "./directives";
|
7
|
+
export { ImgDirective };
|
8
|
+
export class TNSImageModule {
|
9
|
+
}
|
10
|
+
TNSImageModule.ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
11
|
+
TNSImageModule.ɵmod = i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
12
|
+
TNSImageModule.ɵinj = i0.ɵɵdefineInjector({});
|
13
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSImageModule, [{
|
14
|
+
type: NgModule,
|
15
|
+
args: [{
|
16
|
+
declarations: [NSIMG_DIRECTIVES],
|
17
|
+
exports: [NSIMG_DIRECTIVES],
|
18
|
+
}]
|
19
|
+
}], null, null); })();
|
20
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSImageModule, { declarations: [i1.ImgDirective], exports: [i1.ImgDirective] }); })();
|
21
|
+
registerElement('NSImg', () => Img);
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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9ydCB7IEltZ0RpcmVjdGl2ZSB9O1xuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtOU0lNR19ESVJFQ1RJVkVTXSxcbiAgICBleHBvcnRzOiBbTlNJTUdfRElSRUNUSVZFU10sXG59KVxuZXhwb3J0IGNsYXNzIFROU0ltYWdlTW9kdWxlIHt9XG5cbnJlZ2lzdGVyRWxlbWVudCgnTlNJbWcnLCAoKSA9PiBJbWcpO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './index';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlc2NyaXB0LWNvbW11bml0eS11aS1pbWFnZS1hbmd1bGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ltYWdlL2FuZ3VsYXIvbmF0aXZlc2NyaXB0LWNvbW11bml0eS11aS1pbWFnZS1hbmd1bGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -0,0 +1,39 @@
|
|
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 = 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 = i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
25
|
+
TNSImageModule.ɵinj = 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
|
+
export { ImgDirective, TNSImageModule };
|
39
|
+
//# sourceMappingURL=nativescript-community-ui-image-angular.mjs.map
|
@@ -0,0 +1,35 @@
|
|
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 = i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
|
11
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgDirective, [{
|
12
|
+
type: Directive,
|
13
|
+
args: [{
|
14
|
+
selector: 'NSImg'
|
15
|
+
}]
|
16
|
+
}], function () { return []; }, null); })();
|
17
|
+
const NSIMG_DIRECTIVES = [ImgDirective];
|
18
|
+
|
19
|
+
class TNSImageModule {
|
20
|
+
}
|
21
|
+
TNSImageModule.ɵfac = function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); };
|
22
|
+
TNSImageModule.ɵmod = i0.ɵɵdefineNgModule({ type: TNSImageModule });
|
23
|
+
TNSImageModule.ɵinj = i0.ɵɵdefineInjector({});
|
24
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSImageModule, [{
|
25
|
+
type: NgModule,
|
26
|
+
args: [{
|
27
|
+
declarations: [NSIMG_DIRECTIVES],
|
28
|
+
exports: [NSIMG_DIRECTIVES],
|
29
|
+
}]
|
30
|
+
}], null, null); })();
|
31
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSImageModule, { declarations: [ImgDirective], exports: [ImgDirective] }); })();
|
32
|
+
registerElement('NSImg', () => Img);
|
33
|
+
|
34
|
+
export { ImgDirective, TNSImageModule };
|
35
|
+
//# sourceMappingURL=nativescript-community-ui-image-angular.mjs.map
|
package/angular/module.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference path="../../references.d.ts" />
|
2
1
|
import { ImgDirective } from './directives';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
import * as i1 from "./directives";
|
5
4
|
export { ImgDirective };
|
6
5
|
export declare class TNSImageModule {
|
7
|
-
static
|
8
|
-
static
|
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
9
|
}
|
package/angular/package.json
CHANGED
@@ -1,16 +1,30 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-image-angular",
|
3
|
-
"main": "
|
4
|
-
"module": "fesm2015/nativescript-community-ui-image-angular.
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"
|
3
|
+
"main": "index.js",
|
4
|
+
"module": "fesm2015/nativescript-community-ui-image-angular.mjs",
|
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",
|
8
9
|
"typings": "nativescript-community-ui-image-angular.d.ts",
|
10
|
+
"exports": {
|
11
|
+
"./package.json": {
|
12
|
+
"default": "./package.json"
|
13
|
+
},
|
14
|
+
".": {
|
15
|
+
"types": "./nativescript-community-ui-image-angular.d.ts",
|
16
|
+
"esm2020": "./esm2020/nativescript-community-ui-image-angular.mjs",
|
17
|
+
"es2020": "./fesm2020/nativescript-community-ui-image-angular.mjs",
|
18
|
+
"es2015": "./fesm2015/nativescript-community-ui-image-angular.mjs",
|
19
|
+
"node": "./fesm2015/nativescript-community-ui-image-angular.mjs",
|
20
|
+
"default": "./fesm2020/nativescript-community-ui-image-angular.mjs"
|
21
|
+
}
|
22
|
+
},
|
9
23
|
"sideEffects": false,
|
10
24
|
"dependencies": {
|
11
|
-
"tslib": "^2.
|
25
|
+
"tslib": "^2.3.0"
|
12
26
|
},
|
13
27
|
"scripts": {
|
14
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\\nPlease delete and rebuild the package
|
28
|
+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
15
29
|
}
|
16
|
-
}
|
30
|
+
}
|