@libs-ui/pipes-get-value-of-object 0.2.147

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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # pipes-get-value-of-object
2
+
3
+ This library was generated with [Nx](https://nx.dev).
@@ -0,0 +1,19 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import { Pipe } from '@angular/core';
3
+ import { get } from '@libs-ui/utils';
4
+ import * as i0 from "@angular/core";
5
+ export class LibsUiPipesGetValueOfObjectPipe {
6
+ transform(object, key, defaultValue) {
7
+ return get(object, key, defaultValue);
8
+ }
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiPipesGetValueOfObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
10
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: LibsUiPipesGetValueOfObjectPipe, isStandalone: true, name: "LibsUiPipesGetValueOfObjectPipe" });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiPipesGetValueOfObjectPipe, decorators: [{
13
+ type: Pipe,
14
+ args: [{
15
+ name: 'LibsUiPipesGetValueOfObjectPipe',
16
+ standalone: true
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXZhbHVlLW9mLW9iamVjdC5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy11aS9waXBlcy9nZXQtdmFsdWUtb2Ytb2JqZWN0L3NyYy9nZXQtdmFsdWUtb2Ytb2JqZWN0LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdURBQXVEO0FBQ3ZELE9BQU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object.pipe';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzLXVpL3BpcGVzL2dldC12YWx1ZS1vZi1vYmplY3Qvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2dldC12YWx1ZS1vZi1vYmplY3QucGlwZSc7XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlicy11aS1waXBlcy1nZXQtdmFsdWUtb2Ytb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy11aS9waXBlcy9nZXQtdmFsdWUtb2Ytb2JqZWN0L3NyYy9saWJzLXVpLXBpcGVzLWdldC12YWx1ZS1vZi1vYmplY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -0,0 +1,26 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { get } from '@libs-ui/utils';
4
+
5
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6
+ class LibsUiPipesGetValueOfObjectPipe {
7
+ transform(object, key, defaultValue) {
8
+ return get(object, key, defaultValue);
9
+ }
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiPipesGetValueOfObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: LibsUiPipesGetValueOfObjectPipe, isStandalone: true, name: "LibsUiPipesGetValueOfObjectPipe" });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiPipesGetValueOfObjectPipe, decorators: [{
14
+ type: Pipe,
15
+ args: [{
16
+ name: 'LibsUiPipesGetValueOfObjectPipe',
17
+ standalone: true
18
+ }]
19
+ }] });
20
+
21
+ /**
22
+ * Generated bundle index. Do not edit.
23
+ */
24
+
25
+ export { LibsUiPipesGetValueOfObjectPipe };
26
+ //# sourceMappingURL=libs-ui-pipes-get-value-of-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libs-ui-pipes-get-value-of-object.mjs","sources":["../../../../../libs-ui/pipes/get-value-of-object/src/get-value-of-object.pipe.ts","../../../../../libs-ui/pipes/get-value-of-object/src/libs-ui-pipes-get-value-of-object.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { get } from '@libs-ui/utils';\n\n@Pipe({\n name: 'LibsUiPipesGetValueOfObjectPipe',\n standalone: true\n})\n\nexport class LibsUiPipesGetValueOfObjectPipe implements PipeTransform {\n transform(object: Record<any, any>, key: string, defaultValue?: any) {\n return get(object, key, defaultValue);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;MASa,+BAA+B,CAAA;AAC1C,IAAA,SAAS,CAAC,MAAwB,EAAE,GAAW,EAAE,YAAkB,EAAA;QACjE,OAAO,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,YAAY,CAAC;;wGAF5B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAA/B,+BAA+B,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,iCAAA,EAAA,CAAA;;4FAA/B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,iCAAiC;AACvC,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACPD;;AAEG;;;;"}
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LibsUiPipesGetValueOfObjectPipe implements PipeTransform {
4
+ transform(object: Record<any, any>, key: string, defaultValue?: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiPipesGetValueOfObjectPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<LibsUiPipesGetValueOfObjectPipe, "LibsUiPipesGetValueOfObjectPipe", true>;
7
+ }
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './get-value-of-object.pipe';
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@libs-ui/pipes-get-value-of-object",
3
+ "version": "0.2.147",
4
+ "peerDependencies": {
5
+ "@angular/common": "^18.2.0",
6
+ "@angular/core": "^18.2.0"
7
+ },
8
+ "sideEffects": false,
9
+ "module": "fesm2022/libs-ui-pipes-get-value-of-object.mjs",
10
+ "typings": "index.d.ts",
11
+ "exports": {
12
+ "./package.json": {
13
+ "default": "./package.json"
14
+ },
15
+ ".": {
16
+ "types": "./index.d.ts",
17
+ "esm2022": "./esm2022/libs-ui-pipes-get-value-of-object.mjs",
18
+ "esm": "./esm2022/libs-ui-pipes-get-value-of-object.mjs",
19
+ "default": "./fesm2022/libs-ui-pipes-get-value-of-object.mjs"
20
+ }
21
+ },
22
+ "dependencies": {
23
+ "tslib": "^2.3.0"
24
+ }
25
+ }