@rxap/pipes 19.1.3-dev.0 → 19.2.0-dev.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 +27 -0
- package/compodoc/changelog.html +24 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/js/menu-wc.js +5 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/compodoc/todo.html +308 -0
- package/docs/documentation.json +35 -35
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/CurrencyPipeModule.html +2 -2
- package/docs/html/classes/DeleteIdentifierPipe.html +2 -2
- package/docs/html/classes/EscapeQuotationMarkPipe.html +2 -2
- package/docs/html/classes/GetFromObjectPipe.html +2 -2
- package/docs/html/classes/JoinPipe.html +2 -2
- package/docs/html/classes/LimitPipe.html +2 -2
- package/docs/html/classes/ReplacePipe.html +2 -2
- package/docs/html/classes/RxapCurrencyPipe.html +3 -3
- package/docs/html/classes/SlicePipe.html +2 -2
- package/docs/html/classes/ToDisplayPipe.html +2 -2
- package/docs/html/classes/TruncatePipe.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/CurrencyPipeModule.md +2 -2
- package/docs/markdown/classes/DeleteIdentifierPipe.md +3 -3
- package/docs/markdown/classes/EscapeQuotationMarkPipe.md +3 -3
- package/docs/markdown/classes/GetFromObjectPipe.md +3 -3
- package/docs/markdown/classes/JoinPipe.md +3 -3
- package/docs/markdown/classes/LimitPipe.md +3 -3
- package/docs/markdown/classes/ReplacePipe.md +3 -3
- package/docs/markdown/classes/RxapCurrencyPipe.md +4 -4
- package/docs/markdown/classes/SlicePipe.md +3 -3
- package/docs/markdown/classes/ToDisplayPipe.md +3 -3
- package/docs/markdown/classes/TruncatePipe.md +3 -3
- package/docs/markdown/globals.md +2 -2
- package/docs/wiki/Class.CurrencyPipeModule.md +1 -1
- package/docs/wiki/Class.DeleteIdentifierPipe.md +2 -2
- package/docs/wiki/Class.EscapeQuotationMarkPipe.md +2 -2
- package/docs/wiki/Class.GetFromObjectPipe.md +2 -2
- package/docs/wiki/Class.JoinPipe.md +2 -2
- package/docs/wiki/Class.LimitPipe.md +2 -2
- package/docs/wiki/Class.ReplacePipe.md +2 -2
- package/docs/wiki/Class.RxapCurrencyPipe.md +3 -3
- package/docs/wiki/Class.SlicePipe.md +2 -2
- package/docs/wiki/Class.ToDisplayPipe.md +2 -2
- package/docs/wiki/Class.TruncatePipe.md +2 -2
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-pipes-santization.mjs +6 -6
- package/fesm2022/rxap-pipes-santization.mjs.map +1 -1
- package/fesm2022/rxap-pipes.mjs +34 -34
- package/fesm2022/rxap-pipes.mjs.map +1 -1
- package/package.json +7 -8
|
@@ -26,10 +26,10 @@ class SantizationService {
|
|
|
26
26
|
}
|
|
27
27
|
throw new Error('type is not set');
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
30
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SantizationService, deps: [{ token: DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
30
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SantizationService, providedIn: 'root' }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SantizationService, decorators: [{
|
|
33
33
|
type: Injectable,
|
|
34
34
|
args: [{
|
|
35
35
|
providedIn: 'root',
|
|
@@ -46,10 +46,10 @@ class SantizationPipe {
|
|
|
46
46
|
transform(value, type = 'url') {
|
|
47
47
|
return this.santizationService.transform(value, type);
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
50
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SantizationPipe, deps: [{ token: SantizationService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
50
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: SantizationPipe, isStandalone: true, name: "santization" }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SantizationPipe, decorators: [{
|
|
53
53
|
type: Pipe,
|
|
54
54
|
args: [{
|
|
55
55
|
name: 'santization',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-pipes-santization.mjs","sources":["../../../../../packages/angular/pipes/santization/src/lib/santization.service.ts","../../../../../packages/angular/pipes/santization/src/lib/santization.pipe.ts","../../../../../packages/angular/pipes/santization/src/index.ts","../../../../../packages/angular/pipes/santization/src/rxap-pipes-santization.ts"],"sourcesContent":["import {\n Inject,\n Injectable,\n SecurityContext,\n} from '@angular/core';\nimport {\n DomSanitizer,\n SafeValue,\n} from '@angular/platform-browser';\n\n// TODO : move to @rxap/services\n@Injectable({\n providedIn: 'root',\n})\nexport class SantizationService {\n constructor(@Inject(DomSanitizer) private _sanitizer: DomSanitizer) {\n }\n\n transform(\n value: string | null,\n type: 'html' | 'style' | 'script' | 'url' | 'resourceUrl' = 'url',\n ): SafeValue | null {\n if (value === null) {\n return this._sanitizer.sanitize(SecurityContext.NONE, value);\n }\n switch (type) {\n case 'html':\n return this._sanitizer.bypassSecurityTrustHtml(value);\n\n case 'style':\n return this._sanitizer.bypassSecurityTrustStyle(value);\n\n case 'script':\n return this._sanitizer.bypassSecurityTrustScript(value);\n\n case 'url':\n return this._sanitizer.bypassSecurityTrustUrl(value);\n\n case 'resourceUrl':\n return this._sanitizer.bypassSecurityTrustResourceUrl(value);\n }\n\n throw new Error('type is not set');\n }\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { SafeValue } from '@angular/platform-browser';\nimport { SantizationService } from './santization.service';\n\n@Pipe({\n name: 'santization',\n standalone: true,\n})\nexport class SantizationPipe implements PipeTransform {\n constructor(private readonly santizationService: SantizationService) {\n }\n\n transform(\n value: string | null,\n type: 'html' | 'style' | 'script' | 'url' | 'resourceUrl' = 'url',\n ): SafeValue | null {\n return this.santizationService.transform(value, type);\n }\n}\n","// region \nexport * from './lib/santization.pipe';\nexport * from './lib/santization.service';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SantizationService"],"mappings":";;;;;AAUA;MAIa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAA0C,UAAwB,EAAA;QAAxB,IAAU,CAAA,UAAA,GAAV,UAAU;;AAGpD,IAAA,SAAS,CACP,KAAoB,EACpB,IAAA,GAA4D,KAAK,EAAA;AAEjE,QAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAClB,YAAA,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC;;QAE9D,QAAQ,IAAI;AACV,YAAA,KAAK,MAAM;gBACT,OAAO,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC,KAAK,CAAC;AAEvD,YAAA,KAAK,OAAO;gBACV,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,KAAK,CAAC;AAExD,YAAA,KAAK,QAAQ;gBACX,OAAO,IAAI,CAAC,UAAU,CAAC,yBAAyB,CAAC,KAAK,CAAC;AAEzD,YAAA,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,KAAK,CAAC;AAEtD,YAAA,KAAK,aAAa;gBAChB,OAAO,IAAI,CAAC,UAAU,CAAC,8BAA8B,CAAC,KAAK,CAAC;;AAGhE,QAAA,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC;;AA5BzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"rxap-pipes-santization.mjs","sources":["../../../../../packages/angular/pipes/santization/src/lib/santization.service.ts","../../../../../packages/angular/pipes/santization/src/lib/santization.pipe.ts","../../../../../packages/angular/pipes/santization/src/index.ts","../../../../../packages/angular/pipes/santization/src/rxap-pipes-santization.ts"],"sourcesContent":["import {\n Inject,\n Injectable,\n SecurityContext,\n} from '@angular/core';\nimport {\n DomSanitizer,\n SafeValue,\n} from '@angular/platform-browser';\n\n// TODO : move to @rxap/services\n@Injectable({\n providedIn: 'root',\n})\nexport class SantizationService {\n constructor(@Inject(DomSanitizer) private _sanitizer: DomSanitizer) {\n }\n\n transform(\n value: string | null,\n type: 'html' | 'style' | 'script' | 'url' | 'resourceUrl' = 'url',\n ): SafeValue | null {\n if (value === null) {\n return this._sanitizer.sanitize(SecurityContext.NONE, value);\n }\n switch (type) {\n case 'html':\n return this._sanitizer.bypassSecurityTrustHtml(value);\n\n case 'style':\n return this._sanitizer.bypassSecurityTrustStyle(value);\n\n case 'script':\n return this._sanitizer.bypassSecurityTrustScript(value);\n\n case 'url':\n return this._sanitizer.bypassSecurityTrustUrl(value);\n\n case 'resourceUrl':\n return this._sanitizer.bypassSecurityTrustResourceUrl(value);\n }\n\n throw new Error('type is not set');\n }\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { SafeValue } from '@angular/platform-browser';\nimport { SantizationService } from './santization.service';\n\n@Pipe({\n name: 'santization',\n standalone: true,\n})\nexport class SantizationPipe implements PipeTransform {\n constructor(private readonly santizationService: SantizationService) {\n }\n\n transform(\n value: string | null,\n type: 'html' | 'style' | 'script' | 'url' | 'resourceUrl' = 'url',\n ): SafeValue | null {\n return this.santizationService.transform(value, type);\n }\n}\n","// region \nexport * from './lib/santization.pipe';\nexport * from './lib/santization.service';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SantizationService"],"mappings":";;;;;AAUA;MAIa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAA0C,UAAwB,EAAA;QAAxB,IAAU,CAAA,UAAA,GAAV,UAAU;;AAGpD,IAAA,SAAS,CACP,KAAoB,EACpB,IAAA,GAA4D,KAAK,EAAA;AAEjE,QAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAClB,YAAA,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC;;QAE9D,QAAQ,IAAI;AACV,YAAA,KAAK,MAAM;gBACT,OAAO,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC,KAAK,CAAC;AAEvD,YAAA,KAAK,OAAO;gBACV,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,KAAK,CAAC;AAExD,YAAA,KAAK,QAAQ;gBACX,OAAO,IAAI,CAAC,UAAU,CAAC,yBAAyB,CAAC,KAAK,CAAC;AAEzD,YAAA,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,KAAK,CAAC;AAEtD,YAAA,KAAK,aAAa;gBAChB,OAAO,IAAI,CAAC,UAAU,CAAC,8B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EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACVD;AAGA;;ACHA;;AAEG;;;;"}
|
package/fesm2022/rxap-pipes.mjs
CHANGED
|
@@ -44,10 +44,10 @@ class RxapCurrencyPipe {
|
|
|
44
44
|
transform(value, currencyCode, display, digitsInfo, locale) {
|
|
45
45
|
return this.currency.transform(value / 100, currencyCode, display, digitsInfo, locale);
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
48
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapCurrencyPipe, deps: [{ token: i1.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
48
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: RxapCurrencyPipe, isStandalone: true, name: "currency" }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapCurrencyPipe, decorators: [{
|
|
51
51
|
type: Pipe,
|
|
52
52
|
args: [{
|
|
53
53
|
name: 'currency',
|
|
@@ -55,11 +55,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
55
55
|
}]
|
|
56
56
|
}], ctorParameters: () => [{ type: i1.CurrencyPipe }] });
|
|
57
57
|
class CurrencyPipeModule {
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
59
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
60
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
59
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: CurrencyPipeModule, imports: [RxapCurrencyPipe], exports: [RxapCurrencyPipe] }); }
|
|
60
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CurrencyPipeModule, providers: [CurrencyPipe] }); }
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
|
63
63
|
type: NgModule,
|
|
64
64
|
args: [{
|
|
65
65
|
imports: [RxapCurrencyPipe],
|
|
@@ -81,10 +81,10 @@ class DeleteIdentifierPipe {
|
|
|
81
81
|
}
|
|
82
82
|
return copy;
|
|
83
83
|
}
|
|
84
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
85
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
84
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DeleteIdentifierPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
85
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: DeleteIdentifierPipe, isStandalone: true, name: "deleteIdentifier" }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DeleteIdentifierPipe, decorators: [{
|
|
88
88
|
type: Pipe,
|
|
89
89
|
args: [{
|
|
90
90
|
name: 'deleteIdentifier',
|
|
@@ -96,10 +96,10 @@ class ReplacePipe {
|
|
|
96
96
|
transform(value, replace, replaceValue) {
|
|
97
97
|
return value ? value.replace(replace, replaceValue) : '';
|
|
98
98
|
}
|
|
99
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
100
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
99
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
100
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: ReplacePipe, isStandalone: true, name: "replace" }); }
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
103
103
|
type: Pipe,
|
|
104
104
|
args: [{
|
|
105
105
|
name: 'replace',
|
|
@@ -116,10 +116,10 @@ class EscapeQuotationMarkPipe {
|
|
|
116
116
|
return new ReplacePipe().transform(value, /"/g, '\\"');
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
120
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: EscapeQuotationMarkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
120
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: EscapeQuotationMarkPipe, isStandalone: true, name: "escapeQuotationMark" }); }
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: EscapeQuotationMarkPipe, decorators: [{
|
|
123
123
|
type: Pipe,
|
|
124
124
|
args: [{
|
|
125
125
|
name: 'escapeQuotationMark',
|
|
@@ -131,10 +131,10 @@ class GetFromObjectPipe {
|
|
|
131
131
|
transform(value, path) {
|
|
132
132
|
return getFromObject(value, path);
|
|
133
133
|
}
|
|
134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
135
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: GetFromObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
135
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: GetFromObjectPipe, isStandalone: true, name: "getFromObject" }); }
|
|
136
136
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: GetFromObjectPipe, decorators: [{
|
|
138
138
|
type: Pipe,
|
|
139
139
|
args: [{
|
|
140
140
|
name: 'getFromObject',
|
|
@@ -146,10 +146,10 @@ class JoinPipe {
|
|
|
146
146
|
transform(list, separator) {
|
|
147
147
|
return list.join(separator);
|
|
148
148
|
}
|
|
149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
150
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
149
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
150
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: JoinPipe, isStandalone: true, name: "join" }); }
|
|
151
151
|
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: JoinPipe, decorators: [{
|
|
153
153
|
type: Pipe,
|
|
154
154
|
args: [{
|
|
155
155
|
name: 'join',
|
|
@@ -162,10 +162,10 @@ class LimitPipe {
|
|
|
162
162
|
transform(value, limit) {
|
|
163
163
|
return value.slice(0, limit);
|
|
164
164
|
}
|
|
165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
166
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LimitPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
166
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: LimitPipe, isStandalone: true, name: "limit" }); }
|
|
167
167
|
}
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LimitPipe, decorators: [{
|
|
169
169
|
type: Pipe,
|
|
170
170
|
args: [{
|
|
171
171
|
name: 'limit',
|
|
@@ -177,10 +177,10 @@ class SlicePipe {
|
|
|
177
177
|
transform(value, start, end) {
|
|
178
178
|
return value.slice(start, end);
|
|
179
179
|
}
|
|
180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
181
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
181
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice" }); }
|
|
182
182
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SlicePipe, decorators: [{
|
|
184
184
|
type: Pipe,
|
|
185
185
|
args: [{
|
|
186
186
|
name: 'slice',
|
|
@@ -195,10 +195,10 @@ class ToDisplayPipe {
|
|
|
195
195
|
transform(value, toDisplay = this.jsonPipe.transform) {
|
|
196
196
|
return toDisplay(value);
|
|
197
197
|
}
|
|
198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
199
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ToDisplayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
199
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: ToDisplayPipe, isStandalone: true, name: "toDisplay" }); }
|
|
200
200
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ToDisplayPipe, decorators: [{
|
|
202
202
|
type: Pipe,
|
|
203
203
|
args: [{
|
|
204
204
|
name: 'toDisplay',
|
|
@@ -216,10 +216,10 @@ class TruncatePipe {
|
|
|
216
216
|
}
|
|
217
217
|
return value.substring(0, length) + ellipsis;
|
|
218
218
|
}
|
|
219
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
220
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
220
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: TruncatePipe, isStandalone: true, name: "truncate" }); }
|
|
221
221
|
}
|
|
222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TruncatePipe, decorators: [{
|
|
223
223
|
type: Pipe,
|
|
224
224
|
args: [{
|
|
225
225
|
name: 'truncate',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-pipes.mjs","sources":["../../../../../packages/angular/pipes/src/lib/currency.pipe.ts","../../../../../packages/angular/pipes/src/lib/delete-identifier.pipe.ts","../../../../../packages/angular/pipes/src/lib/replace.pipe.ts","../../../../../packages/angular/pipes/src/lib/escape-quotation-mark.pipe.ts","../../../../../packages/angular/pipes/src/lib/get-from-object.pipe.ts","../../../../../packages/angular/pipes/src/lib/join.pipe.ts","../../../../../packages/angular/pipes/src/lib/limit.pipe.ts","../../../../../packages/angular/pipes/src/lib/slice.pipe.ts","../../../../../packages/angular/pipes/src/lib/to-display.pipe.ts","../../../../../packages/angular/pipes/src/lib/truncate.pipe.ts","../../../../../packages/angular/pipes/src/index.ts","../../../../../packages/angular/pipes/src/rxap-pipes.ts"],"sourcesContent":["import {\n NgModule,\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { CurrencyPipe } from '@angular/common';\n\n@Pipe({\n name: 'currency',\n standalone: true,\n})\nexport class RxapCurrencyPipe implements PipeTransform {\n\n constructor(private readonly currency: CurrencyPipe) {\n }\n\n /**\n *\n * @param value The number to be formatted as currency.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:<br>\n * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n */\n public transform(\n value: number,\n currencyCode?: string,\n display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean,\n digitsInfo?: string,\n locale?: string,\n ): string | null {\n return this.currency.transform(value / 100, currencyCode, display, digitsInfo, locale);\n }\n\n}\n\n@NgModule({\n imports: [ RxapCurrencyPipe ],\n exports: [ RxapCurrencyPipe ],\n providers: [ CurrencyPipe ],\n})\nexport class CurrencyPipeModule {\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport {\n clone,\n getIdentifierProperties,\n hasIdentifierProperty,\n WithIdentifier,\n} from '@rxap/utilities';\n\n@Pipe({\n name: 'deleteIdentifier',\n standalone: true,\n})\nexport class DeleteIdentifierPipe implements PipeTransform {\n\n public transform<T>(value: (WithIdentifier & T) | null): T | null {\n if (!value) {\n return value;\n }\n const copy: any = clone(value);\n if (hasIdentifierProperty(copy)) {\n for (const pk of getIdentifierProperties(copy)) {\n delete copy[pk];\n }\n }\n return copy;\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'replace',\n standalone: true,\n})\nexport class ReplacePipe implements PipeTransform {\n\n public transform(value: string, replace: RegExp, replaceValue: string): string {\n return value ? value.replace(replace, replaceValue) : '';\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { ReplacePipe } from './replace.pipe';\n\n@Pipe({\n name: 'escapeQuotationMark',\n standalone: true,\n})\nexport class EscapeQuotationMarkPipe implements PipeTransform {\n\n public transform(value: string, reverse = false): string {\n if (reverse) {\n return new ReplacePipe().transform(value, /\\\\\"/g, '\"');\n } else {\n return new ReplacePipe().transform(value, /\"/g, '\\\\\"');\n }\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { getFromObject } from '@rxap/utilities';\n\n@Pipe({\n name: 'getFromObject',\n standalone: true,\n})\nexport class GetFromObjectPipe implements PipeTransform {\n transform(value: any, path: string): any {\n return getFromObject(value, path);\n }\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'join',\n pure: true,\n standalone: true,\n})\nexport class JoinPipe implements PipeTransform {\n\n transform(list: any[], separator?: string): string {\n return list.join(separator);\n }\n\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'limit',\n standalone: true,\n})\nexport class LimitPipe implements PipeTransform {\n\n transform<T>(value: readonly T[], limit: number): T[] {\n return value.slice(0, limit);\n }\n\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'slice',\n standalone: true,\n})\nexport class SlicePipe implements PipeTransform {\n\n transform<T>(value: readonly T[], start: number, end?: number): T[] {\n return value.slice(start, end);\n }\n\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { ToDisplayFunction } from '@rxap/utilities';\nimport { JsonPipe } from '@angular/common';\n\n@Pipe({\n name: 'toDisplay',\n standalone: true,\n})\nexport class ToDisplayPipe implements PipeTransform {\n\n private jsonPipe = new JsonPipe();\n\n public transform(value: any, toDisplay: ToDisplayFunction = this.jsonPipe.transform): string {\n return toDisplay(value);\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'truncate',\n standalone: true,\n})\nexport class TruncatePipe implements PipeTransform {\n\n transform(value?: string | null, length = 64, ellipsis = '...'): string {\n if (!value) {\n return '';\n }\n if (value.length <= length) {\n return value;\n }\n return value.substring(0, length) + ellipsis;\n }\n\n}\n","// region \nexport * from './lib/currency.pipe';\nexport * from './lib/delete-identifier.pipe';\nexport * from './lib/escape-quotation-mark.pipe';\nexport * from './lib/get-from-object.pipe';\nexport * from './lib/join.pipe';\nexport * from './lib/limit.pipe';\nexport * from './lib/replace.pipe';\nexport * from './lib/slice.pipe';\nexport * from './lib/to-display.pipe';\nexport * from './lib/truncate.pipe';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,gBAAgB,CAAA;AAE3B,IAAA,WAAA,CAA6B,QAAsB,EAAA;QAAtB,IAAQ,CAAA,QAAA,GAAR,QAAQ;;AAGrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;IACI,SAAS,CACd,KAAa,EACb,YAAqB,EACrB,OAAgE,EAChE,UAAmB,EACnB,MAAe,EAAA;AAEf,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,GAAG,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC;;8GA7C7E,gBAAgB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;MAwDY,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,E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AG,KAAK,EAAA;QAC5D,IAAI,CAAC,KAAK,EAAE;AACV,YAAA,OAAO,EAAE;;AAEX,QAAA,IAAI,KAAK,CAAC,MAAM,IAAI,MAAM,EAAE;AAC1B,YAAA,OAAO,KAAK;;QAEd,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,QAAQ;;8GATnC,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACRD;AAWA;;ACXA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"rxap-pipes.mjs","sources":["../../../../../packages/angular/pipes/src/lib/currency.pipe.ts","../../../../../packages/angular/pipes/src/lib/delete-identifier.pipe.ts","../../../../../packages/angular/pipes/src/lib/replace.pipe.ts","../../../../../packages/angular/pipes/src/lib/escape-quotation-mark.pipe.ts","../../../../../packages/angular/pipes/src/lib/get-from-object.pipe.ts","../../../../../packages/angular/pipes/src/lib/join.pipe.ts","../../../../../packages/angular/pipes/src/lib/limit.pipe.ts","../../../../../packages/angular/pipes/src/lib/slice.pipe.ts","../../../../../packages/angular/pipes/src/lib/to-display.pipe.ts","../../../../../packages/angular/pipes/src/lib/truncate.pipe.ts","../../../../../packages/angular/pipes/src/index.ts","../../../../../packages/angular/pipes/src/rxap-pipes.ts"],"sourcesContent":["import {\n NgModule,\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { CurrencyPipe } from '@angular/common';\n\n@Pipe({\n name: 'currency',\n standalone: true,\n})\nexport class RxapCurrencyPipe implements PipeTransform {\n\n constructor(private readonly currency: CurrencyPipe) {\n }\n\n /**\n *\n * @param value The number to be formatted as currency.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:<br>\n * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n */\n public transform(\n value: number,\n currencyCode?: string,\n display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean,\n digitsInfo?: string,\n locale?: string,\n ): string | null {\n return this.currency.transform(value / 100, currencyCode, display, digitsInfo, locale);\n }\n\n}\n\n@NgModule({\n imports: [ RxapCurrencyPipe ],\n exports: [ RxapCurrencyPipe ],\n providers: [ CurrencyPipe ],\n})\nexport class CurrencyPipeModule {\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport {\n clone,\n getIdentifierProperties,\n hasIdentifierProperty,\n WithIdentifier,\n} from '@rxap/utilities';\n\n@Pipe({\n name: 'deleteIdentifier',\n standalone: true,\n})\nexport class DeleteIdentifierPipe implements PipeTransform {\n\n public transform<T>(value: (WithIdentifier & T) | null): T | null {\n if (!value) {\n return value;\n }\n const copy: any = clone(value);\n if (hasIdentifierProperty(copy)) {\n for (const pk of getIdentifierProperties(copy)) {\n delete copy[pk];\n }\n }\n return copy;\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'replace',\n standalone: true,\n})\nexport class ReplacePipe implements PipeTransform {\n\n public transform(value: string, replace: RegExp, replaceValue: string): string {\n return value ? value.replace(replace, replaceValue) : '';\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { ReplacePipe } from './replace.pipe';\n\n@Pipe({\n name: 'escapeQuotationMark',\n standalone: true,\n})\nexport class EscapeQuotationMarkPipe implements PipeTransform {\n\n public transform(value: string, reverse = false): string {\n if (reverse) {\n return new ReplacePipe().transform(value, /\\\\\"/g, '\"');\n } else {\n return new ReplacePipe().transform(value, /\"/g, '\\\\\"');\n }\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { getFromObject } from '@rxap/utilities';\n\n@Pipe({\n name: 'getFromObject',\n standalone: true,\n})\nexport class GetFromObjectPipe implements PipeTransform {\n transform(value: any, path: string): any {\n return getFromObject(value, path);\n }\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'join',\n pure: true,\n standalone: true,\n})\nexport class JoinPipe implements PipeTransform {\n\n transform(list: any[], separator?: string): string {\n return list.join(separator);\n }\n\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'limit',\n standalone: true,\n})\nexport class LimitPipe implements PipeTransform {\n\n transform<T>(value: readonly T[], limit: number): T[] {\n return value.slice(0, limit);\n }\n\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'slice',\n standalone: true,\n})\nexport class SlicePipe implements PipeTransform {\n\n transform<T>(value: readonly T[], start: number, end?: number): T[] {\n return value.slice(start, end);\n }\n\n}\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\nimport { ToDisplayFunction } from '@rxap/utilities';\nimport { JsonPipe } from '@angular/common';\n\n@Pipe({\n name: 'toDisplay',\n standalone: true,\n})\nexport class ToDisplayPipe implements PipeTransform {\n\n private jsonPipe = new JsonPipe();\n\n public transform(value: any, toDisplay: ToDisplayFunction = this.jsonPipe.transform): string {\n return toDisplay(value);\n }\n\n}\n\n\n","import {\n Pipe,\n PipeTransform,\n} from '@angular/core';\n\n@Pipe({\n name: 'truncate',\n standalone: true,\n})\nexport class TruncatePipe implements PipeTransform {\n\n transform(value?: string | null, length = 64, ellipsis = '...'): string {\n if (!value) {\n return '';\n }\n if (value.length <= length) {\n return value;\n }\n return value.substring(0, length) + ellipsis;\n }\n\n}\n","// region \nexport * from './lib/currency.pipe';\nexport * from './lib/delete-identifier.pipe';\nexport * from './lib/escape-quotation-mark.pipe';\nexport * from './lib/get-from-object.pipe';\nexport * from './lib/join.pipe';\nexport * from './lib/limit.pipe';\nexport * from './lib/replace.pipe';\nexport * from './lib/slice.pipe';\nexport * from './lib/to-display.pipe';\nexport * from './lib/truncate.pipe';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,gBAAgB,CAAA;AAE3B,IAAA,WAAA,CAA6B,QAAsB,EAAA;QAAtB,IAAQ,CAAA,QAAA,GAAR,QAAQ;;AAGrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;IACI,SAAS,CACd,KAAa,EACb,YAAqB,EACrB,OAAgE,EAChE,UAAmB,EACnB,MA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
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.
|
|
2
|
+
"version": "19.2.0-dev.0",
|
|
3
3
|
"name": "@rxap/pipes",
|
|
4
4
|
"description": "Provides a set of Angular pipes for common data transformations, including currency formatting, string manipulation, and object property access. These pipes offer standalone functionality for easy integration into Angular templates. The package includes pipes for escaping quotation marks, joining arrays, limiting array length, replacing substrings, slicing arrays, truncating strings, and deleting identifier properties from objects.\n",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/common": "^19.2.1",
|
|
12
12
|
"@angular/core": "^19.2.1",
|
|
13
13
|
"@angular/platform-browser": "^19.2.1",
|
|
14
|
-
"@rxap/utilities": "^16.
|
|
14
|
+
"@rxap/utilities": "^16.5.1-dev.1"
|
|
15
15
|
},
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "Merzough Münker",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"packageGroup": [
|
|
37
37
|
{
|
|
38
38
|
"package": "@angular/animations",
|
|
39
|
-
"version": "19.2.
|
|
39
|
+
"version": "19.2.16"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"package": "@angular/common",
|
|
43
|
-
"version": "19.2.
|
|
43
|
+
"version": "19.2.16"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"package": "@angular/core",
|
|
47
|
-
"version": "19.2.
|
|
47
|
+
"version": "19.2.16"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"package": "@angular/platform-browser",
|
|
51
|
-
"version": "19.2.
|
|
51
|
+
"version": "19.2.16"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"package": "@rxap/utilities",
|
|
55
|
-
"version": "16.
|
|
55
|
+
"version": "16.5.1-dev.1"
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
58
|
},
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
},
|
|
68
68
|
"schematics": "./generators.json",
|
|
69
69
|
"sideEffects": false,
|
|
70
|
-
"gitHead": "e4552670b179901abc7ce57cc3ff490ac705b867",
|
|
71
70
|
"module": "fesm2022/rxap-pipes.mjs",
|
|
72
71
|
"typings": "index.d.ts",
|
|
73
72
|
"exports": {
|